summaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* ext/wavpack/gstwavpackenc.c: Minor clean-up: use enum values instead of ↵Sebastian Dröge2007-01-111-11/+12
| | | | | | | | | | | hardcoded constants (#395536). Original commit message from CVS: Patch by: Sebastian Dröge <slomo@circular-chaos.org> * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_mode_get_type), (gst_wavpack_enc_correction_mode_get_type), (gst_wavpack_enc_joint_stereo_mode_get_type): Minor clean-up: use enum values instead of hardcoded constants (#395536).
* ext/jpeg/: These libjpeg callbacks should return a 'boolean' (unsigned char ↵Vincent Torri2007-01-083-6/+6
| | | | | | | | | | | | | | | | | apparently) and not a 'gboolean' (which m... Original commit message from CVS: Patch by: Vincent Torri <vtorri at univ-evry fr> * ext/jpeg/gstjpegdec.c: * ext/jpeg/gstjpegenc.c: * ext/jpeg/smokecodec.c: These libjpeg callbacks should return a 'boolean' (unsigned char apparently) and not a 'gboolean' (which maps to gint). Fixes warnings when compiling with MingW (#393427). * gst/rtsp/rtspconnection.c: (rtsp_connection_read): Use ioctlsocket on win32. * gst/udp/gstudpsrc.c: (gst_udpsrc_create): Some printf format fixes for win32.
* ext/esd/esdsink.c: Don't return bogus values when esd_get_delay() fails for ↵Tim-Philipp Müller2007-01-041-0/+5
| | | | | | | | | some reason (#392189). Original commit message from CVS: * ext/esd/esdsink.c: (gst_esdsink_delay): Don't return bogus values when esd_get_delay() fails for some reason (#392189).
* Disable LADPSA, as it has moved to the -bad module for the duration.Jan Schmidt2006-12-181-4/+4
| | | | | | | Original commit message from CVS: * configure.ac: * ext/Makefile.am: Disable LADPSA, as it has moved to the -bad module for the duration.
* ext/ladspa/gstsignalprocessor.c: Reset flow_state back to _OK after a flush ↵Wim Taymans2006-12-181-7/+18
| | | | | | | | | | stop so that we exit our error state afte... Original commit message from CVS: * ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_setcaps), (gst_signal_processor_event): Reset flow_state back to _OK after a flush stop so that we exit our error state after the flush. Fixes #374213
* ext/wavpack/gstwavpackenc.h: Use local copy of md5.h, as it disappeared in ↵Sebastian Dröge2006-12-181-1/+1
| | | | | | | | | | | recent wavpack installs. Original commit message from CVS: * ext/wavpack/gstwavpackenc.h: Use local copy of md5.h, as it disappeared in recent wavpack installs. Patch by: Sebastian Dröge <slomo at ubuntu dot com> Fixes: #387076
* ext/gconf/gstgconfaudiosrc.*: Remove gconf notify hook when the ↵Tim-Philipp Müller2006-12-112-1/+22
| | | | | | | | | | | | | | gconfaudiosrc element is destroyed, otherwise the cal... Original commit message from CVS: * ext/gconf/gstgconfaudiosrc.c: (gst_gconf_audio_src_init), (gst_gconf_audio_src_dispose), (do_toggle_element): * ext/gconf/gstgconfaudiosrc.h: Remove gconf notify hook when the gconfaudiosrc element is destroyed, otherwise the callback may be called on an already-destroyed instance and bad things happen. Should fix #378184. Also ignore gconf key changes when the source is already running.
* ext/taglib/gstid3v2mux.cc: Don't attempt to write a NULL frame into the ID3 ↵Jonathan Matthew2006-12-061-1/+2
| | | | | | | | | | | tag set when the createFrame method retur... Original commit message from CVS: * ext/taglib/gstid3v2mux.cc: Don't attempt to write a NULL frame into the ID3 tag set when the createFrame method returned NULL. Fixes: #381857 Patch by: Jonathan Matthew <jonathan at 0kaolin wh9 net >
* ext/libcaca/gstcacasink.c: Fix width and height properties.Wim Taymans2006-11-282-3/+12
| | | | | | | | | Original commit message from CVS: * ext/libcaca/gstcacasink.c: (gst_cacasink_class_init): Fix width and height properties. * ext/libcaca/gstcacasink.h: Fix compilation on newer libcaca that require us to include a new header. Fixes #379918.
* ext/esd/: remove obsolete _factory_init protosStefan Kost2006-11-242-5/+2
| | | | | | | Original commit message from CVS: * ext/esd/esdmon.h: * ext/esd/esdsink.h: remove obsolete _factory_init protos
* ext/wavpack/: Some small clean-ups: use enums instead of hard-coded numbers, ↵Sebastian Dröge2006-11-153-70/+103
| | | | | | | | | | | | | | | | | const-ify element details, re-factor som... Original commit message from CVS: Patch by: Sebastian Dröge <slomo@circular-chaos.org> * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_reset), (gst_wavpack_dec_init), (gst_wavpack_dec_change_state): * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_base_init), (gst_wavpack_enc_class_init), (gst_wavpack_enc_reset), (gst_wavpack_enc_init), (gst_wavpack_enc_set_wp_config), (gst_wavpack_enc_change_state): * ext/wavpack/gstwavpackparse.c: Some small clean-ups: use enums instead of hard-coded numbers, const-ify element details, re-factor some code into _reset() functions (#352605).
* Fix enum nicks; only emit no-more-pads once; add support for very fast ↵Sebastian Dröge2006-11-021-17/+35
| | | | | | | | | | | | | | encoding mode in upcoming 4.40.0 release (#369... Original commit message from CVS: Patch by: Sebastian Dröge <slomo at circular-chaos.org> * configure.ac: * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_mode_get_type), (gst_wavpack_enc_correction_mode_get_type), (gst_wavpack_enc_joint_stereo_mode_get_type), (gst_wavpack_enc_init), (gst_wavpack_enc_set_wp_config): Fix enum nicks; only emit no-more-pads once; add support for very fast encoding mode in upcoming 4.40.0 release (#369539).
* ext/cdio/: Move CD-TEXT utility function into common file so it can also be ↵Tim-Philipp Müller2006-11-023-36/+35
| | | | | | | | | | | used by a future cdioparanoiasrc. Original commit message from CVS: * ext/cdio/gstcdio.c: (gst_cdio_get_cdtext): * ext/cdio/gstcdio.h: * ext/cdio/gstcdiocddasrc.c: (gst_cdio_cdda_src_open): Move CD-TEXT utility function into common file so it can also be used by a future cdioparanoiasrc.
* gst/id3demux/id3v2frames.c: We require a -base more recent than 0.10.9, so ↵Tim-Philipp Müller2006-11-012-12/+10
| | | | | | | | | | | | | | | it's safe to use Original commit message from CVS: * gst/id3demux/id3v2frames.c: (parse_picture_frame): We require a -base more recent than 0.10.9, so it's safe to use GST_TYPE_TAG_IMAGE_TYPE unconditionally now. * ext/dv/gstdvdec.c: (gst_dvdec_sink_event): * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_sink_event): Use _newsegment_full() now that we depend on a recent enough core. * gst/wavparse/gstwavparse.c: Remove cruft that we don't need any longer now that we depend on a recent enough -base.
* ext/speex/gstspeexdec.c: Some small cleanups, use _scale.Wim Taymans2006-10-311-30/+50
| | | | | | | Original commit message from CVS: * ext/speex/gstspeexdec.c: (speex_dec_convert), (speex_dec_sink_event), (speex_dec_chain_parse_header): Some small cleanups, use _scale.
* ext/jpeg/: Various cleanups, capsnego and leak fixes.Wim Taymans2006-10-303-73/+204
| | | | | | | | | | | | | | | Original commit message from CVS: * ext/jpeg/gstjpegenc.c: (gst_jpegenc_getcaps): * ext/jpeg/gstsmokedec.c: (gst_smokedec_class_init), (gst_smokedec_init), (gst_smokedec_finalize), (gst_smokedec_chain), (gst_smokedec_change_state): * ext/jpeg/gstsmokeenc.c: (gst_smokeenc_class_init), (gst_smokeenc_init), (gst_smokeenc_finalize), (gst_smokeenc_getcaps), (gst_smokeenc_setcaps), (gst_smokeenc_resync), (gst_smokeenc_chain), (gst_smokeenc_set_property), (gst_smokeenc_get_property), (gst_smokeenc_change_state): Various cleanups, capsnego and leak fixes.
* ext/libpng/gstpngenc.*: Fix strides. Fixes #364856.Wim Taymans2006-10-272-27/+19
| | | | | | | | | Original commit message from CVS: * ext/libpng/gstpngenc.c: (gst_pngenc_setcaps), (gst_pngenc_chain): * ext/libpng/gstpngenc.h: Fix strides. Fixes #364856. Cleanup capsnego. Set caps on outgoing buffers.
* Activate pads before adding them to running element.Tim-Philipp Müller2006-10-172-0/+2
| | | | | | | | | | Original commit message from CVS: * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_set_wp_config): * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_create_src_pad): * gst/nuvdemux/gstnuvdemux.c: (gst_nuv_demux_create_pads): * tests/check/elements/wavpackparse.c: (wavpackparse_found_pad): Activate pads before adding them to running element.
* Fix a bunch of problems discovered by the Forte compiler, mostly type mixups ↵Josep Torra Valles2006-10-165-39/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | and pointer arithmetics with void pointe... Original commit message from CVS: Patch by: Josep Torra Valles <josep at fluendo com> * ext/cairo/gsttimeoverlay.c: (gst_cairo_time_overlay_transform): * ext/esd/esdsink.c: (gst_esdsink_write): * ext/flac/gstflacdec.c: (gst_flac_dec_length), (gst_flac_dec_read_seekable), (gst_flac_dec_chain), (gst_flac_dec_send_newsegment): * ext/flac/gstflacenc.c: (gst_flac_enc_seek_callback), (gst_flac_enc_tell_callback): * ext/jpeg/smokecodec.c: (find_best_size), (smokecodec_encode), (smokecodec_parse_header), (smokecodec_decode): * gst/avi/gstavimux.c: (gst_avi_mux_write_avix_index): * gst/debug/efence.c: (gst_fenced_buffer_alloc): * gst/goom/Makefile.am: * gst/goom/gstgoom.c: * gst/icydemux/gsticydemux.c: (gst_icydemux_typefind_or_forward): * gst/rtsp/gstrtspsrc.c: * gst/rtsp/rtspconnection.c: (rtsp_connection_read): * gst/udp/gstudpsink.c: * gst/udp/gstudpsrc.c: * gst/wavparse/gstwavparse.c: (gst_wavparse_change_state): * sys/sunaudio/gstsunaudiomixertrack.h: Fix a bunch of problems discovered by the Forte compiler, mostly type mixups and pointer arithmetics with void pointers. Fixes #362603.
* ext/speex/: Miscellaneous clean-ups, among other things: speexenc => enc to ↵Tim-Philipp Müller2006-10-123-321/+292
| | | | | | | | | | | | | | | | | | | | | | | | | enhance code readability; change speexenc... Original commit message from CVS: * ext/speex/gstspeex.c: (plugin_init): * ext/speex/gstspeexenc.c: (gst_speex_enc_get_formats), (gst_speex_enc_setup_interfaces), (gst_speex_enc_base_init), (gst_speex_enc_class_init), (gst_speex_enc_finalize), (gst_speex_enc_sink_setcaps), (gst_speex_enc_convert_src), (gst_speex_enc_convert_sink), (gst_speex_enc_get_query_types), (gst_speex_enc_src_query), (gst_speex_enc_sink_query), (gst_speex_enc_init), (gst_speex_enc_create_metadata_buffer), (gst_speex_enc_set_last_msg), (gst_speex_enc_setup), (gst_speex_enc_buffer_from_data), (gst_speex_enc_push_buffer), (gst_speex_enc_set_header_on_caps), (gst_speex_enc_sinkevent), (gst_speex_enc_chain), (gst_speex_enc_get_property), (gst_speex_enc_set_property), (gst_speex_enc_change_state): * ext/speex/gstspeexenc.h: Miscellaneous clean-ups, among other things: speexenc => enc to enhance code readability; change speexenc => speex_enc; in chain function unref input buffer in case of error; take reference in event function; use boilerplate macro; use gst_pad_query_peer_* convenience functions.
* ext/speex/gstspeexenc.c: Fix some mem leaks.Tim-Philipp Müller2006-10-121-27/+32
| | | | | | | | Original commit message from CVS: * ext/speex/gstspeexenc.c: (gst_speexenc_finalize), (gst_speexenc_set_last_msg), (gst_speexenc_setup), (gst_speexenc_set_header_on_caps): Fix some mem leaks.
* Activate pads before adding.Wim Taymans2006-10-061-0/+11
| | | | | | | Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_add_pads), (gst_dvdemux_chain): * gst/auparse/gstauparse.c: (gst_au_parse_add_srcpad): Activate pads before adding.
* Another batch of printf format fixes.Tim-Philipp Müller2006-10-051-2/+2
| | | | | | | | | | | Original commit message from CVS: * ext/dts/gstdtsdec.c: (gst_dtsdec_chain): * ext/musicbrainz/gsttrm.c: (gst_trm_setcaps): * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_sink_set_caps): * gst/qtdemux/qtdemux.c: (gst_qtdemux_chain), (qtdemux_parse), (qtdemux_parse_trak): * gst/spectrum/gstspectrum.c: (gst_spectrum_transform_ip): Another batch of printf format fixes.
* Printf format fixes.Tim-Philipp Müller2006-10-057-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/cairo/gsttimeoverlay.c: (gst_cairo_time_overlay_update_font_height): * ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_transform_caps): * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_parse_image_data): * ext/jpeg/gstjpegenc.c: (gst_jpegenc_chain): * ext/jpeg/gstsmokedec.c: (gst_smokedec_chain): * ext/jpeg/gstsmokeenc.c: (gst_smokeenc_chain): * ext/libpng/gstpngdec.c: (user_endrow_callback): * gst/auparse/gstauparse.c: (gst_au_parse_parse_header): * gst/avi/gstavidemux.c: (gst_avi_demux_parse_superindex), (gst_avi_demux_parse_subindex), (gst_avi_demux_parse_stream), (gst_avi_demux_stream_data): * gst/cutter/gstcutter.c: (gst_cutter_chain): * gst/debug/efence.c: (gst_efence_buffer_alloc), (gst_fenced_buffer_copy): * gst/id3demux/id3v2frames.c: (id3demux_id3v2_parse_frame): * gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream): * gst/matroska/matroska-mux.c: (gst_matroska_mux_start): * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send), (gst_rtspsrc_handle_message): * gst/wavparse/gstwavparse.c: (gst_wavparse_stream_headers): * sys/ximage/ximageutil.c: (ximageutil_xcontext_get): Printf format fixes.
* ext/jpeg/gstjpegdec.c: our code should handle that fine. Some of the buttons ↵Tim-Philipp Müller2006-09-251-1/+1
| | | | | | | | | | on the apple trailer site are apparently... Original commit message from CVS: * ext/jpeg/gstjpegdec.c: Set minimum height to 8 (from 16), our code should handle that fine. Some of the buttons on the apple trailer site are apparently only 15 pixels high (see #357470).
* More G_OBJECT macro fixing.Stefan Kost2006-09-161-1/+1
| | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/hermes/gsthermescolorspace.c: * ext/ivorbis/vorbisfile.c: * ext/lcs/gstcolorspace.c: * ext/wavpack/gstwavpackenc.h: * ext/xine/xineaudiodec.c: * ext/xine/xineaudiosink.c: * ext/xine/xineinput.c: * gst/chart/gstchart.c: * gst/equalizer/gstiirequalizer.c: * gst/games/gstpuzzle.c: * gst/librfb/gstrfbsrc.c: * gst/mixmatrix/mixmatrix.c: * gst/nsf/gstnsf.h: * gst/vbidec/gstvbidec.c: * gst/virtualdub/gstxsharpen.c: More G_OBJECT macro fixing.
* More G_OBJECT macro fixing.Stefan Kost2006-09-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/flac/gstflactag.c: * gst/alpha/gstalpha.c: * gst/debug/breakmydata.c: * gst/debug/negotiation.c: * gst/debug/testplugin.c: * gst/effectv/gstaging.c: * gst/effectv/gstdice.c: * gst/effectv/gstedge.c: * gst/effectv/gstquark.c: * gst/effectv/gstrev.c: * gst/effectv/gstshagadelic.c: * gst/effectv/gstvertigo.c: * gst/effectv/gstwarp.c: * gst/multipart/multipartdemux.c: * gst/multipart/multipartmux.c: * gst/videobox/gstvideobox.c: * gst/videofilter/gstgamma.c: * gst/videofilter/gstvideotemplate.c: * gst/videomixer/videomixer.c: * sys/sunaudio/gstsunaudiosrc.h: More G_OBJECT macro fixing.
* ext/annodex/gstcmmldec.c: Seeking back in a file containing a CMML stream ↵Alessandro Decina2006-09-042-3/+8
| | | | | | | | | | | | | | | errors out if the seek goes back up to the ... Original commit message from CVS: Patch by: Alessandro Decina <alessandro at nnva dot org> * ext/annodex/gstcmmldec.c: (gst_cmml_dec_chain): Seeking back in a file containing a CMML stream errors out if the seek goes back up to the CMML headers. This is because after the seek the xml processing instruction <?xml ...?> is submitted to the xml parser again, which results in an error. The attached patch fixes the problem. Fixes #353908. * ext/annodex/gstcmmlenc.h: Fix authors name.
* ext/raw1394/gstdv1394src.c (gst_dv1394src_from_raw1394handle): New helper ↵Andy Wingo2006-08-281-46/+51
| | | | | | | | | | | | | | | | function to lessen the ifdefs. Original commit message from CVS: 2006-08-28 Andy Wingo <wingo@pobox.com> * ext/raw1394/gstdv1394src.c (gst_dv1394src_from_raw1394handle): New helper function to lessen the ifdefs. (GST_INFO_OBJECT): (gst_dv1394src_iso_receive): Use it. (gst_dv1394src_create): Also use the control sockets in iec61883 mode. (gst_dv1394src_start, gst_dv1394src_stop): Always use a separate handle for AVC operations; fixes #348233.
* ext/annodex/gstcmmlutils.c: Fix build.Wim Taymans2006-08-251-1/+1
| | | | | | Original commit message from CVS: * ext/annodex/gstcmmlutils.c: (gst_cmml_clock_time_from_npt): Fix build.
* ext/annodex/gstannodex.c: Do some extra sanity checks.Alessandro Decina2006-08-253-21/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: Patch by: Alessandro Decina <alessandro at nnva dot org> * ext/annodex/gstannodex.c: (gst_annodex_granule_to_time): Do some extra sanity checks. Fixes #350340. * ext/annodex/gstcmmlenc.c: (gst_cmml_enc_change_state), (gst_cmml_enc_parse_tag_head), (gst_cmml_enc_parse_tag_clip), (gst_cmml_enc_push_clip), (gst_cmml_enc_push): Check if clip->start_time is valid before adding the clip to the track list. Reset enc->preamble going from PAUSED to READY. Don't use GST_FLOW_UNEXPECTED for wrong usage of the element, it is only used for EOS. Only post an error message if we were the one that created the fatal GstFlowReturn value. * ext/annodex/gstcmmlutils.c: (gst_cmml_clock_time_from_npt), (gst_cmml_clock_time_to_granule), (gst_cmml_track_list_has_clip): Parse the seconds field of the npt-sec time format using %llu rather than %d and check that the value scaled by GST_SECOND doesn't overflow. Use guint64(s) to represent the keyindex and keyoffset fields of a granulepos. Lookup a clip's track with clip->track rather than clip->id which makes no sense. Identify a clip by its track and start time and not its xml id. do some more input checking and make sure we don't do undefined shifts. * tests/check/elements/cmmldec.c: (setup_cmmldec), (teardown_cmmldec), (check_output_buffer_is_equal), (push_data), (cmml_tag_message_pop), (check_headers), (push_clip_full), (push_clip), (push_empty_clip), (check_output_clip), (GST_START_TEST), (cmmldec_suite): * tests/check/elements/cmmlenc.c: (setup_cmmlenc), (teardown_cmmlenc), (check_output_buffer_is_equal), (push_data), (check_headers), (push_clip), (check_clip_times), (check_clip), (check_empty_clip), (GST_START_TEST), (cmmlenc_suite): Added some more checks.
* ext/flac/gstflacdec.c: Use libgsttag helper function here too.Tim-Philipp Müller2006-08-241-15/+13
| | | | | | Original commit message from CVS: * ext/flac/gstflacdec.c: (gst_flac_dec_update_metadata): Use libgsttag helper function here too.
* ext/wavpack/gstwavpackdec.c: Post audio codec and average bitrate tags on ↵Sebastian Dröge2006-08-242-3/+37
| | | | | | | | | | | | | | 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.
* ext/wavpack/gstwavpackenc.c: Fix mem leak, send newsegment event on ↵Tim-Philipp Müller2006-08-232-4/+4
| | | | | | | | | | | | | | | | 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.
* Add docs for wavpack elements (#352476).Sebastian Dröge2006-08-236-3/+71
| | | | | | | | | | | | | | | | | 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).
* ext/flac/gstflacdec.*: Make flac-in-ogg work (#352100).Tim-Philipp Müller2006-08-222-9/+62
| | | | | | | | | | Original commit message from CVS: * ext/flac/gstflacdec.c: (gst_flac_dec_scan_got_frame), (gst_flac_dec_write), (gst_flac_dec_loop), (gst_flac_dec_sink_event), (gst_flac_dec_chain), (gst_flac_dec_src_query): * ext/flac/gstflacdec.h: Make flac-in-ogg work (#352100).
* ext/speex/gstspeexdec.c: Make metadata extraction actually work.Tim-Philipp Müller2006-08-222-196/+62
| | | | | | | | | | | | | Original commit message from CVS: * ext/speex/gstspeexdec.c: (speex_dec_chain_parse_comments): Make metadata extraction actually work. * ext/speex/gstspeexenc.c: (gst_speexenc_base_init), (gst_speexenc_init), (gst_speexenc_create_metadata_buffer), (gst_speexenc_chain): Fix metadata writing: replace old code which wrote completely broken tags with libgsttag-based code. Plus miscellaneous code cleanups (use static pad templates etc.) and a bunch of leak fixes.
* ext/wavpack/: More clean-ups: use shorter variable names to make code easier ↵Tim-Philipp Müller2006-08-213-289/+281
| | | | | | | | | | | | | | | | | | | | | 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.
* ext/wavpack/gstwavpackenc.c: Fix caps set on buffers and template caps ↵Tim-Philipp Müller2006-08-211-172/+78
| | | | | | | | | | | | | | (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).
* use g_assert in _get_unit_sizeStefan Kost2006-08-201-1/+1
| | | | | | | Original commit message from CVS: * ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_get_unit_size): * gst/videobox/gstvideobox.c: (gst_video_box_get_unit_size): use g_assert in _get_unit_size
* docs/plugins/: cleanup -unused.txt to make it useful, add previously missing ↵Stefan Kost2006-08-204-26/+7
| | | | | | | | | | | | | | | | | docs Original commit message from CVS: * docs/plugins/gst-plugins-good-plugins-docs.sgml: * docs/plugins/gst-plugins-good-plugins-sections.txt: * docs/plugins/inspect/plugin-audiofxgood.xml: cleanup -unused.txt to make it useful, add previously missing docs * ext/Makefile.am: * ext/esd/esdmon.c: * ext/esd/esdsink.c: * ext/esd/gstesd.c: (plugin_init): reflow to get rid of two external symbols * gst/audiofxgood/audiofx.c: (plugin_init): re-add
* ext/wavpack/gstwavpackparse.c: Fix resyncing in push mode not stopping ↵Sebastian Dröge2006-08-181-28/+99
| | | | | | | | | | | | | | | 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).
* ext/dv/gstdvdemux.*: When handling seek requests, don't send the newsegment ↵Edward Hervey2006-08-182-8/+23
| | | | | | | | | | | | event from the calling thread. Instead sa... Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_handle_pull_seek), (gst_dvdemux_loop), (gst_dvdemux_change_state): * ext/dv/gstdvdemux.h: When handling seek requests, don't send the newsegment event from the calling thread. Instead save it so it can be sent from the streaming thread.
* ext/ladspa/gstsignalprocessor.c: Make ladspa elements reusable. Fixes #350006.Andy Wingo2006-08-161-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.
* ext/ladspa/gstladspa.c: Convert ' ' into '_'. Try to keep as many characters ↵Wim Taymans2006-08-161-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.
* ext/ladspa/gstsignalprocessor.c: A push() gives away our refcount so we ↵Wim Taymans2006-08-161-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.
* configure.ac: Require CVS of GStreamer core and -base (forTim-Philipp Müller2006-08-161-7/+21
| | | | | | | | | | | | | | Original commit message from CVS: * configure.ac: Require CVS of GStreamer core and -base (for GST_TAG_EXTENDED_COMMENT and gst_tag_parse_extended_comment()). * ext/taglib/gstid3v2mux.cc: Write extended comment tags properly (#348762). * gst/id3demux/id3v2frames.c: (id3demux_id3v2_parse_frame), (parse_comment_frame): Extract COMM frames into extended comments, which makes it easier to properly retain the description bit of the tag and maintain this information when re-tagging (#348762).
* ext/wavpack/: In push mode, re-sync to next wavpack header if sync is lost ↵Sebastian Dröge2006-08-162-5/+38
| | | | | | | | | | | | | (#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.
* ext/wavpack/gstwavpackparse.*: Make wavpackparse also work in push-mode (not ↵Sebastian Dröge2006-08-152-50/+190
| | | | | | | | | | | | | | | | | | | | 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).
* ext/jpeg/: Refuse sink caps in the encoder if width or height is not a ↵Tim-Philipp Müller2006-08-082-25/+41
| | | | | | | | | | | | | multiple of 16, the encoder does not support t... Original commit message from CVS: * ext/jpeg/gstsmokedec.c: (gst_smokedec_chain): * ext/jpeg/gstsmokeenc.c: (gst_smokeenc_setcaps), (gst_smokeenc_resync), (gst_smokeenc_chain): Refuse sink caps in the encoder if width or height is not a multiple of 16, the encoder does not support that yet; along the same lines, check the return value of the encoder setup function; also remove some debug log clutter.