summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2006-09-11gst/spectrum/demo-osssrc.c: Use more definesStefan Kost4-17/+31
Original commit message from CVS: * gst/spectrum/demo-osssrc.c: (draw_spectrum), (main): Use more defines * gst/spectrum/gstspectrum.c: (gst_spectrum_init), (gst_spectrum_dispose), (gst_spectrum_set_caps), (gst_spectrum_transform_ip): * gst/spectrum/gstspectrum.h: Apply some of the spectrum cleanup changes suggested in #348085.
2006-09-08configure.ac: Bump requirements of -base (videocrop test case needs this).Tim-Philipp Müller4-47/+239
Original commit message from CVS: * configure.ac: Bump requirements of -base (videocrop test case needs this). * gst/videocrop/gstvideocrop.c: Document sloppy handling of subsampled chroma planes if left/top cropping is an odd number. * tests/check/elements/videocrop.c: (handoff_cb), (videocrop_test_cropping_init_context), (videocrop_test_cropping_deinit_context), (videocrop_test_cropping), (check_1x1_buffer), (GST_START_TEST), (videocrop_suite), (main): Add another unit test that crops the input to 1x1 (and checks that that pixel has the expected values in a number of formats).
2006-09-08gst/videocrop/: Some quick tests indicate that it doesn't make a great deal ↵Tim-Philipp Müller3-9/+17
of sense to use liboil here, at least not... Original commit message from CVS: * gst/videocrop/Makefile.am: * gst/videocrop/gstvideocrop.c: (gst_video_crop_class_init), (gst_video_crop_transform_packed), (gst_video_crop_transform_planar): Some quick tests indicate that it doesn't make a great deal of sense to use liboil here, at least not for the memcpy()s we do, so remove liboil usage until there is clear evidence it actually makes a positive difference somewhere.
2006-09-03higher up firstThomas Vander Stichele1-2/+2
Original commit message from CVS: higher up first
2006-09-03tests/check/elements/videocrop.c: More tests: check passthrough mode and ↵Tim-Philipp Müller2-0/+327
caps transform in both directions with fixed... Original commit message from CVS: * tests/check/elements/videocrop.c: (handoff_cb), (buffer_probe_cb), (test_caps_transform), (test_passthrough), (notgst_value_list_get_nth_int), (videocrop_suite): More tests: check passthrough mode and caps transform in both directions with fixed values, ranges and lists.
2006-09-02docs/plugins/: Add videocrop to docs.Tim-Philipp Müller11-58/+450
Original commit message from CVS: * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-bad-plugins-docs.sgml: * docs/plugins/gst-plugins-bad-plugins-sections.txt: * docs/plugins/gst-plugins-bad-plugins.hierarchy: Add videocrop to docs. * gst/videocrop/Makefile.am: * gst/videocrop/gstvideocrop.c: * gst/videocrop/gstvideocrop.h: Move boilerplate stuff and structures into a header file. * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/videocrop.c: (video_crop_get_test_caps), (test_unit_sizes), (videocrop_test_cropping_init_context), (videocrop_test_cropping_deinit_context), (videocrop_test_cropping), (test_cropping), (videocrop_suite): Add unit tests for videocrop.
2006-09-02Port/rewrite videocrop from scratch for GStreamer-0.10, and make it support ↵Tim-Philipp Müller4-376/+500
all formats videoscale supports (#345653). Original commit message from CVS: * configure.ac: * gst/videocrop/Makefile.am: * gst/videocrop/gstvideocrop.c: (gst_video_crop_base_init), (gst_video_crop_class_init), (gst_video_crop_init), (gst_video_crop_get_image_details_from_caps), (gst_video_crop_get_unit_size), (gst_video_crop_transform_packed), (gst_video_crop_transform_planar), (gst_video_crop_transform), (gst_video_crop_transform_dimension), (gst_video_crop_transform_dimension_value), (gst_video_crop_transform_caps), (gst_video_crop_set_caps), (gst_video_crop_set_property), (gst_video_crop_get_property), (plugin_init): Port/rewrite videocrop from scratch for GStreamer-0.10, and make it support all formats videoscale supports (#345653).
2006-09-02sys/v4l2/: Whitespace cleanups, dashify property-names.Stefan Kost6-10/+19
Original commit message from CVS: * sys/v4l2/gstv4l2.c: * sys/v4l2/gstv4l2colorbalance.c: * sys/v4l2/gstv4l2object.c: (gst_v4l2_object_install_properties_helper): * sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init): * sys/v4l2/gstv4l2src.h: Whitespace cleanups, dashify property-names.
2006-09-02sys/v4l2/: Cleanup error messages and unify header commentsStefan Kost16-46/+87
Original commit message from CVS: * sys/v4l2/gstv4l2.c: * sys/v4l2/gstv4l2colorbalance.c: * sys/v4l2/gstv4l2colorbalance.h: * sys/v4l2/gstv4l2object.c: * sys/v4l2/gstv4l2object.h: * sys/v4l2/gstv4l2src.c: * sys/v4l2/gstv4l2src.h: * sys/v4l2/gstv4l2tuner.c: * sys/v4l2/gstv4l2tuner.h: * sys/v4l2/gstv4l2xoverlay.c: (gst_v4l2_xoverlay_open): * sys/v4l2/gstv4l2xoverlay.h: * sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities), (gst_v4l2_open): * sys/v4l2/v4l2_calls.h: * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_queue_frame), (gst_v4l2src_capture_init): * sys/v4l2/v4l2src_calls.h: Cleanup error messages and unify header comments
2006-08-31gst/nsf/Makefile.am: Add missing GST_LIBSJan Schmidt2-1/+6
Original commit message from CVS: * gst/nsf/Makefile.am: Add missing GST_LIBS
2006-08-30Another small fix to set_caps function.Edgard Lima2-6/+7
Original commit message from CVS: Another small fix to set_caps function.
2006-08-30Send new_segment in GST_FORMAT_TIME instead of in GST_FORMAT_BYTES.Edgard Lima2-0/+6
Original commit message from CVS: Send new_segment in GST_FORMAT_TIME instead of in GST_FORMAT_BYTES.
2006-08-30A small fix to set_caps function.Edgard Lima2-2/+6
Original commit message from CVS: A small fix to set_caps function.
2006-08-30gst/qtdemux/qtdemux.c: Reset each streams last_flow to GST_FLOW_OK.Edward Hervey2-1/+13
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_do_seek): Reset each streams last_flow to GST_FLOW_OK. (gst_qtdemux_activate_segment): Removing mystic modifications for good.
2006-08-30gst/qtdemux/qtdemux.c: put back 'segment start<=stop' change that was ↵Stefan Kost2-2/+9
mystically reverted by the last commit Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_activate_segment), (qtdemux_parse_tree): put back 'segment start<=stop' change that was mystically reverted by the last commit
2006-08-30gst/qtdemux/qtdemux.c: Fix the build for disabled debugStefan Kost2-1/+10
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_activate_segment), (qtdemux_parse_tree): Fix the build for disabled debug
2006-08-29Fixed framerate negotiation.Edgard Lima4-14/+113
Original commit message from CVS: Fixed framerate negotiation.
2006-08-29ext/sdl/: Only de-init the subsystem we previously initialised. Avoids ↵Andrew Andkjar3-3/+14
borkage when both sdlvideosink and sdlaudiosin... Original commit message from CVS: Patch by: Andrew Andkjar <enki at goodship net> * ext/sdl/sdlaudiosink.c: (gst_sdlaudio_sink_close): * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_supported), (gst_sdlvideosink_deinitsdl): Only de-init the subsystem we previously initialised. Avoids borkage when both sdlvideosink and sdlaudiosink are used at the same time and one is shut down.
2006-08-28gst/qtdemux/qtdemux.c: Make sure segment start<=stop in weird quicktime files.Wim Taymans2-1/+8
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_activate_segment), (gst_qtdemux_add_stream), (qtdemux_parse_trak), (qtdemux_video_caps): Make sure segment start<=stop in weird quicktime files.
2006-08-28sys/v4l2/v4l2_calls.c: add comments and more debug loggingStefan Kost2-4/+21
Original commit message from CVS: * sys/v4l2/v4l2_calls.c: (gst_v4l2_fill_lists): add comments and more debug logging
2006-08-24ext/wavpack/gstwavpackdec.c: Post audio codec and average bitrate tags on ↵Sebastian Dröge3-4/+50
bus (#344472). Original commit message from CVS: Patch by: Sebastian Dröge <slomo at circular-chaos.org> * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_post_tags), (gst_wavpack_dec_chain): Post audio codec and average bitrate tags on bus (#344472). * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init), (gst_wavpack_parse_src_query): Forward queries in other formats (BYTE format in particular) upstream; add Sebastian to authors.
2006-08-24Fix set_caps to set width and height to the values the driver is really ↵Edgard Lima4-12/+53
working with. Original commit message from CVS: Fix set_caps to set width and height to the values the driver is really working with.
2006-08-23ext/wavpack/gstwavpackenc.c: Fix mem leak, send newsegment event on ↵Tim-Philipp Müller6-7/+21
correction pad as well (#352476). Original commit message from CVS: * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_push_block): Fix mem leak, send newsegment event on correction pad as well (#352476). * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init): Restore original author (on Sebastian's request). * tests/check/Makefile.am: * tests/check/gst-plugins-bad.supp: Add (so far empty) suppression file for -bad. Remove wavpackenc test from VALGRIND_TO_FIX now that the leak is fixed.
2006-08-23tests/check/: Add unit tests for wavpack elements (#352476).Sebastian Dröge6-1/+752
Original commit message from CVS: Patch by: Sebastian Dröge <slomo at circular-chaos.org> * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/wavpackdec.c: (setup_wavpackdec), (cleanup_wavpackdec), (GST_START_TEST), (wavpackdec_suite), (main): * tests/check/elements/wavpackenc.c: (setup_wavpackenc), (cleanup_wavpackenc), (GST_START_TEST), (wavpackenc_suite), (main): * tests/check/elements/wavpackparse.c: (wavpackparse_found_pad), (setup_wavpackparse), (cleanup_wavpackparse), (GST_START_TEST), (wavpackparse_suite), (main): Add unit tests for wavpack elements (#352476).
2006-08-23Add docs for wavpack elements (#352476).Sebastian Dröge12-6/+127
Original commit message from CVS: Patch by: Sebastian Dröge <slomo at circular-chaos.org> * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-bad-plugins-docs.sgml: * docs/plugins/gst-plugins-bad-plugins-sections.txt: * docs/plugins/gst-plugins-bad-plugins.hierarchy: * docs/plugins/inspect/plugin-wavpack.xml: * ext/wavpack/gstwavpackdec.c: * ext/wavpack/gstwavpackdec.h: * ext/wavpack/gstwavpackenc.c: * ext/wavpack/gstwavpackenc.h: * ext/wavpack/gstwavpackparse.c: * ext/wavpack/gstwavpackparse.h: Add docs for wavpack elements (#352476).
2006-08-22Fixed query size to work with drivers that uses intermediate step like ↵Edgard Lima3-4/+11
"width * height" to find closest size. Original commit message from CVS: Fixed query size to work with drivers that uses intermediate step like "width * height" to find closest size.
2006-08-21move gdp plugin to good.Thomas Vander Stichele14-2480/+17
Original commit message from CVS: * configure.ac: * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-bad-plugins-docs.sgml: * docs/plugins/gst-plugins-bad-plugins-sections.txt: * gst/gdp/Makefile.am: * gst/gdp/gstgdp.c: * gst/gdp/gstgdpdepay.c: * gst/gdp/gstgdpdepay.h: * gst/gdp/gstgdppay.c: * gst/gdp/gstgdppay.h: * tests/check/Makefile.am: * tests/check/elements/gdpdepay.c: * tests/check/elements/gdppay.c: move gdp plugin to good.
2006-08-21gst/qtdemux/qtdemux.c: Some more constification.Wim Taymans2-33/+106
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream), (qtdemux_parse), (qtdemux_node_dump_foreach), (qtdemux_parse_trak), (qtdemux_video_caps), (qtdemux_audio_caps): Some more constification. Fix some paletted data formats again. Fix ulaw/alaw in qt. Set correct caps for raw RGB. Add support for yuv2, which is like Yuv2. Add support for raw audio with the NONE fourcc, which is like raw.
2006-08-21ext/gsm/gstgsm.c: Make rank PRIMARY now that GSM seems to work fine.Wim Taymans2-1/+7
Original commit message from CVS: * ext/gsm/gstgsm.c: (plugin_init): Make rank PRIMARY now that GSM seems to work fine.
2006-08-21ext/wavpack/: More clean-ups: use shorter variable names to make code easier ↵Tim-Philipp Müller4-289/+299
to read; prefix structures we define wit... Original commit message from CVS: * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_init), (gst_wavpack_enc_finalize), (gst_wavpack_enc_sink_set_caps), (gst_wavpack_enc_set_wp_config), (gst_wavpack_enc_format_samples), (gst_wavpack_enc_push_block), (gst_wavpack_enc_chain), (gst_wavpack_enc_rewrite_first_block), (gst_wavpack_enc_sink_event), (gst_wavpack_enc_change_state), (gst_wavpack_enc_set_property), (gst_wavpack_enc_get_property): * ext/wavpack/gstwavpackenc.h: * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_reset), (gst_wavpack_parse_src_query), (gst_wavpack_parse_src_event), (gst_wavpack_parse_init), (gst_wavpack_parse_get_upstream_length), (gst_wavpack_parse_loop): More clean-ups: use shorter variable names to make code easier to read; prefix structures we define with 'Gst' to make it clearer where they come from.
2006-08-21ext/wavpack/gstwavpackenc.c: Fix caps set on buffers and template caps ↵Tim-Philipp Müller2-172/+89
(output is framed) and make them match (#35166... Original commit message from CVS: * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_init), (gst_wavpack_enc_set_wp_config), (gst_wavpack_enc_push_block), (gst_wavpack_enc_chain), (gst_wavpack_enc_rewrite_first_block), (gst_wavpack_enc_sink_event): Fix caps set on buffers and template caps (output is framed) and make them match (#351663); use GST_WARNING_OBJECT instead of GST_ELEMENT_WARNING; simplify push_block(); do some small clean-ups here and there; fix memleak (#351663).
2006-08-20gst/audioconvert/gstaudioconvert.c: Lower debug, use g_assert in _get_unit_sizeStefan Kost1-1/+1
Original commit message from CVS: * gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_get_unit_size), (set_structure_widths): Lower debug, use g_assert in _get_unit_size * gst/audioresample/gstaudioresample.c: (audioresample_get_unit_size): * gst/ffmpegcolorspace/gstffmpegcolorspace.c: (gst_ffmpegcsp_get_unit_size): * gst/videoscale/gstvideoscale.c: (gst_video_scale_get_unit_size): use g_assert in _get_unit_size
2006-08-18ext/wavpack/gstwavpackparse.c: Fix resyncing in push mode not stopping ↵Sebastian Dröge2-28/+112
re-syncing at embedded zeroes; skip garbage be... Original commit message from CVS: Based on patch by: Sebastian Dröge <slomo at circular-chaos.org> * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_sink_event), (gst_wavpack_parse_get_upstream_length), (gst_wavpack_parse_find_marker), (gst_wavpack_parse_resync_loop), (gst_wavpack_parse_loop), (gst_wavpack_parse_resync_adapter): Fix resyncing in push mode not stopping re-syncing at embedded zeroes; skip garbage between frames in pull mode as well if necessary; use gst_pad_query_peer_duration(); push EOS and NEWSEGMENT event in right direction (#351659).
2006-08-16ext/ladspa/gstsignalprocessor.c: Make ladspa elements reusable. Fixes #350006.Andy Wingo1-12/+57
Original commit message from CVS: Patch by: Andy Wingo <wingo at pobox dot com> * ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_setup), (gst_signal_processor_start), (gst_signal_processor_stop), (gst_signal_processor_cleanup), (gst_signal_processor_setcaps), (gst_signal_processor_pen_buffer), (gst_signal_processor_flush), (gst_signal_processor_do_pulls), (gst_signal_processor_do_pushes), (gst_signal_processor_change_state): Make ladspa elements reusable. Fixes #350006.
2006-08-16ext/ladspa/gstladspa.c: Convert ' ' into '_'. Try to keep as many characters ↵Wim Taymans1-1/+4
in the padtemplate names as possible. Original commit message from CVS: * ext/ladspa/gstladspa.c: (gst_ladspa_base_init): Convert ' ' into '_'. Try to keep as many characters in the padtemplate names as possible.
2006-08-16ext/ladspa/gstsignalprocessor.c: A push() gives away our refcount so we ↵Wim Taymans1-4/+6
should not use the buffer on the pen anymore. Original commit message from CVS: * ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_flush), (gst_signal_processor_do_pushes): A push() gives away our refcount so we should not use the buffer on the pen anymore.
2006-08-16ext/wavpack/: In push mode, re-sync to next wavpack header if sync is lost ↵Sebastian Dröge3-7/+51
(#351557). Also use hyphens instead of und... Original commit message from CVS: Patch by: Sebastian Dröge <slomo at circular-chaos.org> * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_class_init): * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_resync_adapter), (gst_wavpack_parse_chain): In push mode, re-sync to next wavpack header if sync is lost (#351557). Also use hyphens instead of underscores in GObject property names.
2006-08-15ext/wavpack/gstwavpackparse.*: Make wavpackparse also work in push-mode (not ↵Sebastian Dröge3-50/+208
seekable yet though); some small clean-u... Original commit message from CVS: * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_class_init), (gst_wavpack_parse_reset), (gst_wavpack_parse_get_src_query_types), (gst_wavpack_parse_src_query), (gst_wavpack_parse_handle_seek_event), (gst_wavpack_parse_sink_event), (gst_wavpack_parse_init), (gst_wavpack_parse_create_src_pad), (gst_wavpack_parse_push_buffer), (gst_wavpack_parse_loop), (gst_wavpack_parse_chain), (gst_wavpack_parse_sink_activate), (gst_wavpack_parse_sink_activate_pull): * ext/wavpack/gstwavpackparse.h: Patch by: Sebastian Dröge <slomo at circular-chaos.org> Make wavpackparse also work in push-mode (not seekable yet though); some small clean-ups along the way; add support for SEEKING query and query types function. (#351495).
2006-08-15Fix leaks (#351502).Tim-Philipp Müller3-2/+8
Original commit message from CVS: * ext/libfame/gstlibfame.c: (gst_fameenc_get_property): * sys/glsink/glimagesink.c: (gst_glimage_sink_get_property): Fix leaks (#351502).
2006-08-14gst/qtdemux/qtdemux.c: Extract all references/redirections if there is more ↵Tim-Philipp Müller2-10/+129
than one and sort them; also extract mini... Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_redirects_sort_func), (qtdemux_process_redirects), (qtdemux_parse_tree): Extract all references/redirections if there is more than one and sort them; also extract minimum required bitrate information if available. (#350399)
2006-08-10ext/faac/gstfaac.c: Bitrate in the faac structure is per output channel, not ↵Michal Benes2-2/+10
total bitrate (#350741). Original commit message from CVS: Patch by: Michal Benes <michal.benes at itonis tv> * ext/faac/gstfaac.c: (gst_faac_configure_source_pad): Bitrate in the faac structure is per output channel, not total bitrate (#350741).
2006-08-09ext/xvid/gstxvidenc.c: Fix GST_ELEMENT_ERROR usage.Tim-Philipp Müller2-1/+6
Original commit message from CVS: * ext/xvid/gstxvidenc.c: (gst_xvidenc_chain): Fix GST_ELEMENT_ERROR usage.
2006-08-09fixed up and cleaned up the -bad spec file to have proper tests for whats ↵Christian Schaller1-27/+17
installed and items put in correct categories. Original commit message from CVS: fixed up and cleaned up the -bad spec file to have proper tests for whats installed and items put in correct categories.
2006-08-08gst/qtdemux/qtdemux.c: Fix silly typo.Tim-Philipp Müller2-1/+6
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_parse_tree): Fix silly typo.
2006-08-08tests/check/elements/gdpdepay.c: I forgot to include the file containing the ↵Edward Hervey2-0/+7
#define :) Original commit message from CVS: * tests/check/elements/gdpdepay.c: (gdpdepay_suite): I forgot to include the file containing the #define :) Now includes "config.h"
2006-08-08tests/check/elements/gdpdepay.c: Ignore test known to fail on PPC64. See ↵Edward Hervey2-1/+10
#348114. Original commit message from CVS: * tests/check/elements/gdpdepay.c: (gdpdepay_suite): Ignore test known to fail on PPC64. See #348114.
2006-08-04Allow HTTP redirect (HTTP status code 302).Edgard Lima3-24/+175
Original commit message from CVS: Allow HTTP redirect (HTTP status code 302).
2006-08-04gst/gdp/gstgdpdepay.c: Fix event parsing by gdpdepay. Fixes #349916.Zaheer Abbas Merali2-15/+16
Original commit message from CVS: 2006-08-04 Zaheer Abbas Merali <zaheerabbas at merali dot org> * gst/gdp/gstgdpdepay.c: (gst_gdp_depay_chain): Fix event parsing by gdpdepay. Fixes #349916.
2006-08-04ext/ladspa/gstsignalprocessor.h: Add infrastructure for storing whether a ↵Andy Wingo3-37/+161
processor can work in place or not, and for... Original commit message from CVS: 2006-08-04 Andy Wingo <wingo@pobox.com> * ext/ladspa/gstsignalprocessor.h: Add infrastructure for storing whether a processor can work in place or not, and for keeping track of its state. Change the FlowReturn instance variable from "state" to "flow_state", all callers changed. * ext/ladspa/gstsignalprocessor.c (gst_signal_processor_setup) (gst_signal_processor_start, gst_signal_processor_stop) (gst_signal_processor_cleanup): New functions to manage the processor's state. (gst_signal_processor_setcaps): start() as well as setup() here. (gst_signal_processor_prepare): Respect CAN_PROCESS_IN_PLACE. (gst_signal_processor_change_state): Stop and cleanup the processor as we go to NULL. * ext/ladspa/gstladspa.c (gst_ladspa_base_init): Reuse buffers if INPLACE_BROKEN is not set. * ext/ladspa/gstsignalprocessor.c (gst_signal_processor_prepare): Do the alloc_buffer in bytes, not frames.
2006-08-04BPBAndy Wingo1-1/+1
Original commit message from CVS: (gst_signal_processor_src_activate_pull): BPB