glsdk/gst-plugins-ugly0-10.git
16 years agoadd test for amrnbenc, enable test infrastructure, and fix a leak
Thomas Vander Stichele [Mon, 10 Apr 2006 14:47:11 +0000 (14:47 +0000)]
add test for amrnbenc, enable test infrastructure, and fix a leak

Original commit message from CVS:
add test for amrnbenc, enable test infrastructure, and fix a leak

* common/check.mak:
allow for specifying more than one suppressions file in SUPPRESSIONS
* Makefile.am:
* tests/Makefile.am:
* tests/check/.cvsignore:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* configure.ac:
add tests/check
* tests/check/gst-plugins-ugly.supp:
add suppressions for libs used by -ugly
* tests/check/elements/amrnbenc.c: (buffer_new), (buffer_unref),
(setup_amrnbenc), (cleanup_amrnbenc), (push_data),
(GST_START_TEST), (amrnbenc_suite), (main):
add a simple test for encoding amr
* ext/amrnb/amrnbenc.c: (gst_amrnbenc_init):
fix pad template leaks

16 years agoext/amrnb/amrnbenc.c: Plug big leak in AMR encoder.
Michael Smith [Mon, 10 Apr 2006 11:48:29 +0000 (11:48 +0000)]
ext/amrnb/amrnbenc.c: Plug big leak in AMR encoder.

Original commit message from CVS:
* ext/amrnb/amrnbenc.c: (gst_amrnbenc_chain):
Plug big leak in AMR encoder.

16 years agoext/mad/gstmad.c: move GstIndexEntry *entry variable declaration before the first...
Sébastien Moutte [Sun, 9 Apr 2006 18:09:40 +0000 (18:09 +0000)]
ext/mad/gstmad.c: move GstIndexEntry *entry variable declaration before the first instruction

Original commit message from CVS:
* ext/mad/gstmad.c: (index_seek):
move GstIndexEntry *entry variable declaration before
the first instruction
* ext/mad/gstmad.c:
remove debug macros with variable number of parameter by using
GST_DEBUG for WIN32
* gst/dvdsub/gstdvdsubdec.c: (gst_dvd_sub_dec_parse_subpic):
use gst_guint64_to_gdouble for conversions
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_sync_stream_to_time):
replace __FUNCTION__ which is not supported by MSVC by the current function name
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_reset):
remove LL suffix by using G_GINT64_CONSTANT
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_parse_packhead),(gst_mpeg_parse_get_rate):
use gst_guint64_to_gdouble for conversions
* gst/mpegstream/gstmpegparse.h:
remove LL suffix by using G_GINT64_CONSTANT
* win32/vs6:
add project files for tagac3parse, asfdemux, dvdlpcmdec, dvdsub, iec958, lame,
mad, mpegaudioparse, mpegstream, realmedia, synaesthesia

16 years agoFix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
Stefan Kost [Sat, 8 Apr 2006 21:42:19 +0000 (21:42 +0000)]
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)

Original commit message from CVS:
* ext/amrnb/amrnbdec.c: (gst_amrnbdec_class_init):
* ext/amrnb/amrnbenc.c: (gst_amrnbenc_class_init):
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_class_init):
* ext/mad/gstmad.c: (gst_mad_class_init):
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_class_init):
* gst/ac3parse/gstac3parse.c: (gst_ac3parse_class_init):
* gst/asfdemux/gstasfmux.c: (gst_asfmux_class_init):
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcmdec_class_init):
* gst/iec958/ac3iec.c: (ac3iec_class_init):
* gst/mpegaudioparse/gstmpegaudioparse.c:
(gst_mp3parse_class_init):
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_class_init):
* gst/mpegstream/gstmpegclock.c: (gst_mpeg_clock_class_init):
* gst/mpegstream/gstrfc2250enc.c: (gst_rfc2250_enc_class_init):
* gst/realmedia/rmdemux.c: (gst_rmdemux_class_init):
* gst/synaesthesia/gstsynaesthesia.c:
(gst_synaesthesia_class_init):
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)

16 years agogst/asfdemux/gstasfdemux.c: Send newsegment event only once per pad, fixes #336550.
Fabrizio Gennari [Fri, 7 Apr 2006 09:14:26 +0000 (09:14 +0000)]
gst/asfdemux/gstasfdemux.c: Send newsegment event only once per pad, fixes #336550.

Original commit message from CVS:
Patch by: Fabrizio Gennari  <fabrizio dot ge at tiscali dot it>
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_sink_event),
(gst_asf_demux_push_buffer):
Send newsegment event only once per pad, fixes #336550.

16 years agoUnify the long descriptions in the plugin details (#337263).
j^ [Thu, 6 Apr 2006 11:35:26 +0000 (11:35 +0000)]
Unify the long descriptions in the plugin details (#337263).

Original commit message from CVS:
Patch by: j^  <j at bootlab dot org>
* ext/amrwb/gstamrwbdec.c:
* ext/amrwb/gstamrwbenc.c:
* ext/amrwb/gstamrwbparse.c:
* ext/arts/gst_arts.c:
* ext/artsd/gstartsdsink.c:
* ext/audiofile/gstafparse.c:
* ext/audiofile/gstafsink.c:
* ext/audiofile/gstafsrc.c:
* ext/cdaudio/gstcdaudio.c:
* ext/directfb/dfbvideosink.c:
* ext/divx/gstdivxdec.c:
* ext/divx/gstdivxenc.c:
* ext/dts/gstdtsdec.c: (gst_dtsdec_base_init):
* ext/faac/gstfaac.c: (gst_faac_base_init):
* ext/faad/gstfaad.c:
* ext/gsm/gstgsmdec.c:
* ext/gsm/gstgsmenc.c:
* ext/hermes/gsthermescolorspace.c:
* ext/ivorbis/vorbisfile.c:
* ext/lcs/gstcolorspace.c:
* ext/libfame/gstlibfame.c:
* ext/libmms/gstmms.c: (gst_mms_base_init):
* ext/musicbrainz/gsttrm.c: (gst_musicbrainz_base_init):
* ext/nas/nassink.c: (gst_nassink_base_init):
* ext/neon/gstneonhttpsrc.c:
* ext/polyp/polypsink.c: (gst_polypsink_base_init):
* ext/sdl/sdlaudiosink.c:
* ext/sdl/sdlvideosink.c:
* ext/shout/gstshout.c:
* ext/snapshot/gstsnapshot.c:
* ext/sndfile/gstsf.c:
* ext/tarkin/gsttarkindec.c:
* ext/tarkin/gsttarkinenc.c:
* ext/theora/theoradec.c:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init):
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init):
* ext/xvid/gstxviddec.c:
* ext/xvid/gstxvidenc.c:
* gst/cdxaparse/gstcdxaparse.c: (gst_cdxa_parse_base_init):
* gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_base_init):
* gst/chart/gstchart.c:
* gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_base_init):
* gst/festival/gstfestival.c:
* gst/filter/gstiir.c:
* gst/filter/gstlpwsinc.c:
* gst/freeze/gstfreeze.c:
* gst/games/gstpuzzle.c: (gst_puzzle_base_init):
* gst/mixmatrix/mixmatrix.c:
* gst/mpeg1sys/gstmpeg1systemencode.c:
* gst/mpeg1videoparse/gstmp1videoparse.c:
* gst/mpeg2sub/gstmpeg2subt.c:
* gst/mpegaudioparse/gstmpegaudioparse.c:
* gst/multifilesink/gstmultifilesink.c:
* gst/overlay/gstoverlay.c:
* gst/passthrough/gstpassthrough.c:
* gst/playondemand/gstplayondemand.c:
* gst/qtdemux/qtdemux.c:
* gst/rtjpeg/gstrtjpegdec.c:
* gst/rtjpeg/gstrtjpegenc.c:
* gst/smooth/gstsmooth.c:
* gst/tta/gstttadec.c: (gst_tta_dec_base_init):
* gst/tta/gstttaparse.c: (gst_tta_parse_base_init):
* gst/videocrop/gstvideocrop.c:
* gst/videodrop/gstvideodrop.c:
* gst/virtualdub/gstxsharpen.c:
* gst/xingheader/gstxingmux.c: (gst_xing_mux_base_init):
* gst/y4m/gsty4mencode.c:
Unify the long descriptions in the plugin details (#337263).

16 years agofix version numbering
Christian Schaller [Wed, 5 Apr 2006 10:02:34 +0000 (10:02 +0000)]
fix version numbering

Original commit message from CVS:
fix version numbering

16 years agoadd dvdsub plugin to spec
Christian Schaller [Wed, 5 Apr 2006 09:18:35 +0000 (09:18 +0000)]
add dvdsub plugin to spec

Original commit message from CVS:
add dvdsub plugin to spec

16 years agodocs/plugins/: add siddec
Thomas Vander Stichele [Sat, 1 Apr 2006 15:43:46 +0000 (15:43 +0000)]
docs/plugins/: add siddec

Original commit message from CVS:

* docs/plugins/gst-plugins-ugly-plugins-docs.sgml:
* docs/plugins/inspect/plugin-siddec.xml:
add siddec
* ext/dvdnav/dvdnavsrc.c:
doc fixes

16 years agodisable use of AS_LIBTOOL_TAGS, it doesn't work correctly
Thomas Vander Stichele [Sat, 1 Apr 2006 15:30:56 +0000 (15:30 +0000)]
disable use of AS_LIBTOOL_TAGS, it doesn't work correctly

Original commit message from CVS:
disable use of AS_LIBTOOL_TAGS, it doesn't work correctly

16 years agoignore more
Thomas Vander Stichele [Sat, 1 Apr 2006 14:08:36 +0000 (14:08 +0000)]
ignore more

Original commit message from CVS:
ignore more

16 years agoupdate plugin inspect files
Thomas Vander Stichele [Sat, 1 Apr 2006 14:08:11 +0000 (14:08 +0000)]
update plugin inspect files

Original commit message from CVS:
update plugin inspect files

16 years agorework build; add translations for v4l2
Thomas Vander Stichele [Sat, 1 Apr 2006 10:09:10 +0000 (10:09 +0000)]
rework build; add translations for v4l2

Original commit message from CVS:
rework build; add translations for v4l2

16 years agoconfigure.ac: rework similarly to other modules
Thomas Vander Stichele [Sat, 1 Apr 2006 09:54:39 +0000 (09:54 +0000)]
configure.ac: rework similarly to other modules

Original commit message from CVS:

* configure.ac:
rework similarly to other modules
* ext/a52dec/gsta52dec.c:
* ext/amrnb/amrnb.c:
* ext/dvdnav/dvdnavsrc.c:
* ext/dvdread/dvdreadsrc.c:
* ext/lame/gstlame.c:
* ext/mad/gstid3tag.c:
* ext/mpeg2dec/gstmpeg2dec.c:
* ext/sidplay/gstsiddec.cc:
* gst/asfdemux/gstasf.c:
* gst/dvdlpcmdec/gstdvdlpcmdec.c:
* gst/dvdsub/gstdvdsubdec.c:
* gst/iec958/ac3iec.c:
* gst/mpegaudioparse/gstmpegaudioparse.c:
* gst/mpegstream/gstmpegstream.c:
* gst/realmedia/rmdemux.c: (plugin_init):
use the correct defines

16 years agoignore more
Thomas Vander Stichele [Sat, 1 Apr 2006 09:53:17 +0000 (09:53 +0000)]
ignore more

Original commit message from CVS:
ignore more

16 years agoback to HEAD
Thomas Vander Stichele [Fri, 31 Mar 2006 11:13:50 +0000 (11:13 +0000)]
back to HEAD

Original commit message from CVS:
back to HEAD

16 years agoreleasing 0.10.3
Thomas Vander Stichele [Fri, 31 Mar 2006 11:10:46 +0000 (11:10 +0000)]
releasing 0.10.3

Original commit message from CVS:
releasing 0.10.3

16 years agobetter/unified long descriptions
Wim Taymans [Thu, 30 Mar 2006 15:37:00 +0000 (15:37 +0000)]
better/unified long descriptions

Original commit message from CVS:
* ext/aalib/gstaasink.c:
* ext/annodex/gstcmmldec.c:
* ext/annodex/gstcmmlenc.c:
* ext/cairo/gsttextoverlay.c:
* ext/cairo/gsttimeoverlay.c:
* ext/cdio/gstcdiocddasrc.c:
* ext/dv/gstdvdec.c:
* ext/esd/esdmon.c:
* ext/esd/esdsink.c:
* ext/flac/gstflacdec.c:
* ext/flac/gstflacenc.c:
* ext/flac/gstflactag.c:
* ext/gconf/gstgconfaudiosink.c: (gst_gconf_audio_sink_base_init):
* ext/gconf/gstgconfaudiosrc.c: (gst_gconf_audio_src_base_init):
* ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_base_init):
* ext/gconf/gstgconfvideosrc.c: (gst_gconf_video_src_base_init):
* ext/gdk_pixbuf/gstgdkpixbuf.c:
* ext/gdk_pixbuf/pixbufscale.c:
* ext/hal/gsthalaudiosink.c: (gst_hal_audio_sink_base_init):
* ext/hal/gsthalaudiosrc.c: (gst_hal_audio_src_base_init):
* ext/jpeg/gstjpegdec.c:
* ext/jpeg/gstjpegenc.c:
* ext/jpeg/gstsmokedec.c:
* ext/jpeg/gstsmokeenc.c:
* ext/libcaca/gstcacasink.c:
* ext/libmng/gstmngdec.c:
* ext/libmng/gstmngenc.c:
* ext/libpng/gstpngdec.c:
* ext/libpng/gstpngenc.c:
* ext/mikmod/gstmikmod.c:
* ext/raw1394/gstdv1394src.c:
* ext/shout2/gstshout2.c:
* ext/speex/gstspeexdec.c:
* ext/speex/gstspeexenc.c:
* gst/alpha/gstalpha.c:
* gst/alpha/gstalphacolor.c:
* gst/auparse/gstauparse.c:
* gst/autodetect/gstautoaudiosink.c:
(gst_auto_audio_sink_base_init):
* gst/autodetect/gstautovideosink.c:
(gst_auto_video_sink_base_init):
* gst/avi/gstavimux.c: (gst_avimux_base_init):
* gst/cutter/gstcutter.c:
* gst/debug/breakmydata.c:
* gst/debug/efence.c:
* gst/debug/gstnavigationtest.c:
* gst/debug/negotiation.c:
* gst/debug/progressreport.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/gstvertigo.c:
* gst/effectv/gstwarp.c:
* gst/flx/gstflxdec.c:
* gst/goom/gstgoom.c:
* gst/interleave/deinterleave.c:
* gst/interleave/interleave.c:
* gst/law/alaw-decode.c: (gst_alawdec_base_init):
* gst/law/alaw-encode.c: (gst_alawenc_base_init):
* gst/law/mulaw-decode.c: (gst_mulawdec_base_init):
* gst/law/mulaw-encode.c: (gst_mulawenc_base_init):
* gst/level/gstlevel.c:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_base_init):
* gst/matroska/matroska-mux.c: (gst_matroska_mux_base_init):
* gst/median/gstmedian.c:
* gst/monoscope/gstmonoscope.c:
* gst/multipart/multipartdemux.c:
* gst/multipart/multipartmux.c:
* gst/oldcore/gstmd5sink.c:
* gst/oldcore/gstmultifilesrc.c:
* gst/oldcore/gstpipefilter.c:
* gst/oldcore/gstshaper.c:
* gst/oldcore/gststatistics.c:
* gst/rtp/gstasteriskh263.c:
* gst/rtp/gstrtpL16depay.c:
* gst/rtp/gstrtpL16pay.c:
* gst/rtp/gstrtpamrdepay.c:
* gst/rtp/gstrtpamrpay.c:
* gst/rtp/gstrtpdepay.c:
* gst/rtp/gstrtpgsmpay.c:
* gst/rtp/gstrtph263pay.c:
* gst/rtp/gstrtph263pdepay.c:
* gst/rtp/gstrtph263ppay.c:
* gst/rtp/gstrtpmp4gpay.c:
* gst/rtp/gstrtpmp4vdepay.c:
* gst/rtp/gstrtpmp4vpay.c:
* gst/rtp/gstrtpmpadepay.c:
* gst/rtp/gstrtpmpapay.c:
* gst/rtp/gstrtppcmadepay.c:
* gst/rtp/gstrtppcmapay.c:
* gst/rtp/gstrtppcmudepay.c:
* gst/rtp/gstrtppcmupay.c:
* gst/rtp/gstrtpspeexdepay.c:
* gst/rtp/gstrtpspeexpay.c:
* gst/rtsp/gstrtpdec.c:
* gst/smpte/gstsmpte.c:
* gst/videobox/gstvideobox.c:
* gst/videofilter/gstgamma.c: (gst_gamma_base_init):
* gst/videofilter/gstvideobalance.c:
* gst/videofilter/gstvideoflip.c:
* gst/videofilter/gstvideotemplate.c:
(gst_videotemplate_base_init):
* gst/videomixer/videomixer.c:
* gst/wavenc/gstwavenc.c:
* gst/wavparse/gstwavparse.c: (gst_wavparse_base_init):
better/unified long descriptions
Fixed #336602
Some cleanups to auparse, don't send multiple newsegments.

16 years agogst/mpegstream/gstmpegparse.c: Don't unref event unconditionally after giving away...
Tim-Philipp Müller [Wed, 29 Mar 2006 11:31:55 +0000 (11:31 +0000)]
gst/mpegstream/gstmpegparse.c: Don't unref event unconditionally after giving away ownership (gst_pad_push_event(), g...

Original commit message from CVS:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_handle_src_event):
Don't unref event unconditionally after giving away ownership
(gst_pad_push_event(), gst_pad_send_event() and
gst_pad_event_default() take ownership of the event
passed to them). Fixes warnings/crashes caused by
navigation events.

16 years agogst/mpegstream/gstmpegdemux.c: Don't ref NULL caps (private streams have NULL caps...
Tim-Philipp Müller [Tue, 28 Mar 2006 20:19:31 +0000 (20:19 +0000)]
gst/mpegstream/gstmpegdemux.c: Don't ref NULL caps (private streams have NULL caps) (#336387); also, no need to set c...

Original commit message from CVS:
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_send_subbuffer):
Don't ref NULL caps (private streams have NULL caps) (#336387);
also, no need to set caps on the same buffer twice.

16 years agogst/mpegstream/: Don't leak element and pad names in error messages, use
Tim-Philipp Müller [Tue, 28 Mar 2006 19:44:51 +0000 (19:44 +0000)]
gst/mpegstream/: Don't leak element and pad names in error messages, use

Original commit message from CVS:
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_process_event),
(gst_dvd_demux_handle_dvd_event), (gst_dvd_demux_get_audio_stream),
(gst_dvd_demux_get_subpicture_stream):
* gst/mpegstream/gstmpegdemux.c:
(gst_mpeg_demux_sync_stream_to_time):
Don't leak element and pad names in error messages, use
GST_DEBUG_PAD_NAME instead. Add some more debug code.

16 years agoext/dvdread/dvdreadsrc.c: Name the structure in the custom event with the language...
Tim-Philipp Müller [Tue, 28 Mar 2006 19:29:39 +0000 (19:29 +0000)]
ext/dvdread/dvdreadsrc.c: Name the structure in the custom event with the language codes for the audio and subtitle s...

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_init),
(gst_dvd_read_src_goto_title), (gst_dvd_read_src_read):
Name the structure in the custom event with the
language codes for the audio and subtitle streams
actually like dvddemux expects it to be named.
Set caps on source pad and outgoing buffers.

16 years agoext/lame/gstlame.*: Make xingheader property non-functional, it's broken anyway after...
Tim-Philipp Müller [Tue, 28 Mar 2006 16:06:05 +0000 (16:06 +0000)]
ext/lame/gstlame.*: Make xingheader property non-functional, it's broken anyway after all (use xingmux instead).

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_init), (gst_lame_set_property),
(gst_lame_get_property), (gst_lame_setup):
* ext/lame/gstlame.h:
Make xingheader property non-functional, it's broken anyway
after all (use xingmux instead).

16 years agoext/lame/gstlame.c: On EOS, flush encoder and send remaining data. Fix return value...
Tim-Philipp Müller [Tue, 28 Mar 2006 15:10:18 +0000 (15:10 +0000)]
ext/lame/gstlame.c: On EOS, flush encoder and send remaining data. Fix return value handling in sink event function.

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_sink_event):
On EOS, flush encoder and send remaining data. Fix
return value handling in sink event function.

16 years agoext/dvdread/dvdreadsrc.c: Fix wrong check for started flag when setting the 'device...
Jürg Billeter [Mon, 27 Mar 2006 14:04:08 +0000 (14:04 +0000)]
ext/dvdread/dvdreadsrc.c: Fix wrong check for started flag when setting the 'device' property.

Original commit message from CVS:
Patch by: Jürg Billeter  <j at bitron dot ch>
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_set_property):
Fix wrong check for started flag when setting the 'device' property.
We want to allow it when the source is NOT started yet and ignore it
when the source is running.

16 years agogst/asfdemux/gstasfdemux.*: Subtract first timestamp from timestamps, so that stream...
Fabrizio Gennari [Mon, 27 Mar 2006 10:39:03 +0000 (10:39 +0000)]
gst/asfdemux/gstasfdemux.*: Subtract first timestamp from timestamps, so that stream starts from 0; makes live stream...

Original commit message from CVS:
Patch by: Fabrizio Gennari  <fabrizio dot ge at tiscali dot it>
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_setup_pad),
(gst_asf_demux_process_chunk):
* gst/asfdemux/gstasfdemux.h:
Subtract first timestamp from timestamps, so that
stream starts from 0; makes live streams that don't
start at 0 work again (fixes #317310, #336097).

16 years agoconfigure.ac: Remove CXX tag from AS_LIBTOOL_TAGS, just like we did for
Christian Kirbach [Mon, 27 Mar 2006 10:09:43 +0000 (10:09 +0000)]
configure.ac: Remove CXX tag from AS_LIBTOOL_TAGS, just like we did for

Original commit message from CVS:
Patch by: Christian Kirbach
* configure.ac:
Remove CXX tag from AS_LIBTOOL_TAGS, just like we did for
-good. Fixes build on some systems (#331838).

16 years agogst/realmedia/rmdemux.c: Extract more tags and also post codec name tag on the bus...
Tim-Philipp Müller [Fri, 24 Mar 2006 19:47:37 +0000 (19:47 +0000)]
gst/realmedia/rmdemux.c: Extract more tags and also post codec name tag on the bus so this shows up in totem and naut...

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_add_stream),
(gst_rmdemux_parse_cont):
Extract more tags and also post codec name tag on the
bus so this shows up in totem and nautilus.

16 years agogst/realmedia/rmdemux.c: Extra data usually goes into the caps as 'codec_data', not...
Tim-Philipp Müller [Fri, 24 Mar 2006 19:06:41 +0000 (19:06 +0000)]
gst/realmedia/rmdemux.c: Extra data usually goes into the caps as 'codec_data', not as first buffer into the stream.

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_add_stream),
(gst_rmdemux_fill_audio_packet), (gst_rmdemux_parse_packet):
Extra data usually goes into the caps as 'codec_data', not
as first buffer into the stream.
Need to byte swap AC3 content in realmedia files for some
reason (fixes #331588).

16 years agogst/realmedia/rmdemux.c: When operating in pull mode, post an error message on the...
Tim-Philipp Müller [Fri, 24 Mar 2006 12:08:39 +0000 (12:08 +0000)]
gst/realmedia/rmdemux.c: When operating in pull mode, post an error message on the bus when all source pads are unlin...

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_init),
(gst_rmdemux_validate_offset), (gst_rmdemux_loop),
(gst_rmdemux_parse_mdpr), (gst_rmdemux_parse_packet):
When operating in pull mode, post an error message on the
bus when all source pads are unlinked or some other fatal
error occured (#323023). Regrade some recurring debug messages
to LOG level. Convert c++-style comments into C-style ones.

16 years agogst/realmedia/rmdemux.*: Handle unlinked source pads properly and stop if all source...
Tim-Philipp Müller [Fri, 24 Mar 2006 11:42:31 +0000 (11:42 +0000)]
gst/realmedia/rmdemux.*: Handle unlinked source pads properly and stop if all source pads are unlinked (#323023).

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_perform_seek),
(gst_rmdemux_loop), (gst_rmdemux_chain), (gst_rmdemux_send_event),
(gst_rmdemux_all_source_pads_unlinked),
(gst_rmdemux_at_least_one_stream_flowok), (gst_rmdemux_add_stream),
(gst_rmdemux_parse_packet):
* gst/realmedia/rmdemux.h:
Handle unlinked source pads properly and stop if all source pads
are unlinked (#323023).

16 years agogst/mpegstream/: Timestamps in mpeg stream are 32-bit numbers. Therefore, with a...
Michal Benes [Thu, 23 Mar 2006 18:17:34 +0000 (18:17 +0000)]
gst/mpegstream/: Timestamps in mpeg stream are 32-bit numbers. Therefore, with a clock_freq of 90kHz this timestamp o...

Original commit message from CVS:
Patch by: Michal Benes <michal dot benes at xeris dot cz>
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_init),
(gst_mpeg_demux_parse_packet), (gst_mpeg_demux_parse_pes),
(gst_mpeg_demux_send_subbuffer), (gst_mpeg_demux_reset):
* gst/mpegstream/gstmpegdemux.h:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_parse_packhead):
Timestamps in mpeg stream are 32-bit numbers. Therefore, with a
clock_freq of 90kHz this timestamp overflows every ~13 hours. This
situation really happens when grabbing DVB streams. Current
mpegdemuxer can not handle this situation correctly and it
restarts counting gstreamer timestamps from zero.
Fixes #326598.

16 years agoext/a52dec/gsta52dec.*: Fix #334550: failure to play raw AC3 files due to segment...
Michael Smith [Wed, 15 Mar 2006 22:01:40 +0000 (22:01 +0000)]
ext/a52dec/gsta52dec.*: Fix #334550: failure to play raw AC3 files due to segment problems.

Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_sink_event),
(gst_a52dec_chain_raw), (gst_a52dec_change_state):
* ext/a52dec/gsta52dec.h:
Fix #334550: failure to play raw AC3 files due to segment problems.

16 years agoext/lame/gstlame.c: use GST_DEBUG_FUNCPTR more often.
Christophe Fergeau [Wed, 15 Mar 2006 13:43:42 +0000 (13:43 +0000)]
ext/lame/gstlame.c: use GST_DEBUG_FUNCPTR more often.

Original commit message from CVS:
Patch by: Christophe Fergeau  <teuf gnome org>
* ext/lame/gstlame.c: (gst_lame_release_memory),
(gst_lame_finalize), (gst_lame_class_init),
(gst_lame_sink_setcaps), (gst_lame_init), (gst_lame_sink_event),
(gst_lame_change_state):
Fix some memory leaks (#333345), use GST_DEBUG_FUNCPTR more often.

16 years agoext/mad/gstmad.c: Include AUDIO_CODEC tag with tags posted if input is not framed...
Tim-Philipp Müller [Tue, 14 Mar 2006 19:41:17 +0000 (19:41 +0000)]
ext/mad/gstmad.c: Include AUDIO_CODEC tag with tags posted if input is not framed (#334258). Use _scale() util functi...

Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_convert_sink), (gst_mad_update_info),
(gst_mad_sink_event), (gst_mad_change_state):
Include AUDIO_CODEC tag with tags posted if input is not
framed (#334258). Use _scale() util functions in more places.

16 years agoext/lame/gstlame.c: mark the xing-header property as BROKEN (see http://bugzilla...
Christophe Fergeau [Sun, 12 Mar 2006 11:00:33 +0000 (11:00 +0000)]
ext/lame/gstlame.c: mark the xing-header property as BROKEN (see bugzilla.gnome.org/show_bug.cgi?id=330317#c19...

Original commit message from CVS:
2006-03-12  Christophe Fergeau  <teuf@gnome.org>

Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>

* ext/lame/gstlame.c: (gst_lame_class_init): mark the xing-header
property as BROKEN (see
http://bugzilla.gnome.org/show_bug.cgi?id=330317#c19 for an
explanation why it's broken).

16 years agoadded new element to add Xing headers to MP3 files (this allows decoder to figure...
Christophe Fergeau [Sat, 11 Mar 2006 11:12:30 +0000 (11:12 +0000)]
added new element to add Xing headers to MP3 files (this allows decoder to figure out the length of VBR files)

Original commit message from CVS:
2006-03-11  Christophe Fergeau  <teuf@gnome.org>

Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>

* configure.ac:
* gst/xingheader/Makefile.am:
* gst/xingheader/gstxingmux.c:
* gst/xingheader/gstxingmux.h: added new element to add Xing headers
to MP3 files (this allows decoder to figure out the length of VBR
files)

16 years agoext/mad/gstid3tag.c: Add support for writing the GST_TAG_ALBUM_VOLUME_NUMBER
Alex Lancaster [Tue, 7 Mar 2006 11:19:55 +0000 (11:19 +0000)]
ext/mad/gstid3tag.c: Add support for writing the GST_TAG_ALBUM_VOLUME_NUMBER

Original commit message from CVS:
* ext/mad/gstid3tag.c: (tag_list_to_id3_tag_foreach):
Add support for writing the GST_TAG_ALBUM_VOLUME_NUMBER
tag (#333683, patch by: Alex Lancaster).

16 years agoext/amrnb/: Further fancyfication.
Wim Taymans [Thu, 2 Mar 2006 20:03:00 +0000 (20:03 +0000)]
ext/amrnb/: Further fancyfication.

Original commit message from CVS:
* ext/amrnb/amrnbdec.c: (gst_amrnbdec_init),
(gst_amrnbdec_setcaps), (gst_amrnbdec_chain),
(gst_amrnbdec_state_change):
* ext/amrnb/amrnbenc.c: (gst_amrnbenc_init),
(gst_amrnbenc_setcaps), (gst_amrnbenc_chain),
(gst_amrnbenc_state_change):
* ext/amrnb/amrnbenc.h:
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_init),
(gst_amrnbparse_query):
Further fancyfication.
Use _take to get writable data from the adapter.
Precalc packet duration.
Handle disconts.
Forward _push to upstream.
Post error messages when something goes wrong.
Remove old code in amrnbparse.
Don't ignore query results from upstream.

16 years agoext/amrnb/amrnbenc.c: The AMR encoder writes into the audio buffers it processes...
Michael Smith [Thu, 2 Mar 2006 18:45:40 +0000 (18:45 +0000)]
ext/amrnb/amrnbenc.c: The AMR encoder writes into the audio buffers it processes, so use gst_buffer_make_writable() o...

Original commit message from CVS:
* ext/amrnb/amrnbenc.c: (gst_amrnbenc_chain):
The AMR encoder writes into the audio buffers it processes, so
use gst_buffer_make_writable() on buffers we might (they go through
an adapter, so there can be copying going on later anyway) be
encoding.

16 years agogst/mpegstream/gstmpegparse.c: Declare variables at the beginning of a block and...
Jens Granseuer [Wed, 1 Mar 2006 12:35:09 +0000 (12:35 +0000)]
gst/mpegstream/gstmpegparse.c: Declare variables at the beginning of a block and make

Original commit message from CVS:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_pad_added),
(gst_mpeg_parse_handle_src_query):
Declare variables at the beginning of a block and make
gcc-2.9x happy (fixes #328957; patch by: Jens Granseuer).

16 years agogst/asfdemux/gstasfdemux.c: Read packet size, sequence and padsize in right order...
Fabrizio [Wed, 1 Mar 2006 09:55:49 +0000 (09:55 +0000)]
gst/asfdemux/gstasfdemux.c: Read packet size, sequence and padsize in right order again

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_handle_data):
Read packet size, sequence and padsize in right order again
(fixes #332796; patch by: Fabrizio Gennari).

16 years agogst/iec958/ac3iec.c: Set a proper klass (Codec/Muxer/Audio) for the ElementDetails.
Edward Hervey [Tue, 28 Feb 2006 13:50:02 +0000 (13:50 +0000)]
gst/iec958/ac3iec.c: Set a proper klass (Codec/Muxer/Audio) for the ElementDetails.

Original commit message from CVS:
* gst/iec958/ac3iec.c:
Set a proper klass (Codec/Muxer/Audio) for the ElementDetails.

16 years agoconfigure.ac: Make the id3tag and mad checks check for both a header and the appropri...
Jan Schmidt [Mon, 27 Feb 2006 18:37:47 +0000 (18:37 +0000)]
configure.ac: Make the id3tag and mad checks check for both a header and the appropriate library if the pkg-config is...

Original commit message from CVS:
* configure.ac:
Make the id3tag and mad checks check for both a header and the
appropriate library if the pkg-config is missing. (Closes #331842)
Split the id3tag and mad checks into 2 pieces. Sometime soon I might
do the same for the plugins themselves.

16 years agoext/mpeg2dec/gstmpeg2dec.*: Don't treat STATE_INVALID as fatal error; throw an error...
Tim-Philipp Müller [Mon, 27 Feb 2006 14:49:05 +0000 (14:49 +0000)]
ext/mpeg2dec/gstmpeg2dec.*: Don't treat STATE_INVALID as fatal error; throw an error only after five consecutive deco...

Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_init),
(gst_mpeg2dec_reset), (gst_mpeg2dec_chain):
* ext/mpeg2dec/gstmpeg2dec.h:
Don't treat STATE_INVALID as fatal error; throw an error
only after five consecutive decoding errors. Makes decoding
mpeg streams more robust and fixes playback of joined clips
(#300682).

16 years agoext/dvdnav/dvdnavsrc.h: Oops. forgot to add this one.
Tim-Philipp Müller [Sun, 26 Feb 2006 22:33:33 +0000 (22:33 +0000)]
ext/dvdnav/dvdnavsrc.h: Oops. forgot to add this one.

Original commit message from CVS:
* ext/dvdnav/dvdnavsrc.h:
Oops. forgot to add this one.

16 years agoext/Makefile.am: Fix dist-check.
Julien Moutte [Sun, 26 Feb 2006 21:25:01 +0000 (21:25 +0000)]
ext/Makefile.am: Fix dist-check.

Original commit message from CVS:
2006-02-26  Julien MOUTTE  <julien@moutte.net>

* ext/Makefile.am: Fix dist-check.

16 years agoconfigure.ac: Disable dvdnavsrc for now.
Tim-Philipp Müller [Sun, 26 Feb 2006 18:01:15 +0000 (18:01 +0000)]
configure.ac: Disable dvdnavsrc for now.

Original commit message from CVS:
* configure.ac:
Disable dvdnavsrc for now.

16 years agodvdnavsrc ported to 0.10, for the most part at least. Not quite ready for prime time...
Tim-Philipp Müller [Sun, 26 Feb 2006 17:55:05 +0000 (17:55 +0000)]
dvdnavsrc ported to 0.10, for the most part at least. Not quite ready for prime time yet though.

Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/dvdnav/Makefile.am:
* ext/dvdnav/dvdnavsrc.c: (gst_dvd_nav_src_base_init),
(gst_dvd_nav_src_class_init), (gst_dvd_nav_src_check_get_range),
(gst_dvd_nav_src_init), (gst_dvd_nav_src_finalize),
(gst_dvd_nav_src_is_open), (gst_dvd_nav_src_set_property),
(gst_dvd_nav_src_get_property), (gst_dvd_nav_src_set_clock),
(gst_dvd_nav_src_tca_seek), (gst_dvd_nav_src_update_streaminfo),
(gst_dvd_nav_src_set_domain), (gst_dvd_nav_src_update_highlight),
(gst_dvd_nav_src_user_op), (dvdnav_get_event_name),
(dvdnav_get_read_domain_name), (gst_dvd_nav_src_print_event),
(gst_dvd_nav_src_make_dvd_event),
(gst_dvd_nav_src_structure_set_uint64),
(gst_dvd_nav_src_push_dvd_nav_packet_event),
(gst_dvd_nav_src_push_clut_change_event), (read_vts_info),
(gst_dvd_nav_src_push_titlelang_event),
(gst_dvd_nav_src_process_next_block), (gst_dvd_nav_src_create),
(gst_dvd_nav_src_start), (gst_dvd_nav_src_stop),
(gst_dvd_nav_src_handle_navigation_event),
(gst_dvd_nav_src_handle_seek_event), (gst_dvd_nav_src_src_event),
(gst_dvd_nav_src_query_position), (gst_dvd_nav_src_query_duration),
(gst_dvd_nav_src_query), (gst_dvd_nav_src_uri_get_type),
(gst_dvd_nav_src_uri_get_protocols), (gst_dvd_nav_src_uri_get_uri),
(gst_dvd_nav_src_uri_set_uri), (gst_dvd_nav_src_uri_handler_init),
(gst_dvd_nav_src_do_init), (plugin_init):
dvdnavsrc ported to 0.10, for the most part at least. Not quite
ready for prime time yet though.

16 years agoext/cdio/Makefile.am: Add GST_BASE_CFLAGS and GST_BASE_LIBS (seems to be required...
Tim-Philipp Müller [Thu, 23 Feb 2006 20:08:58 +0000 (20:08 +0000)]
ext/cdio/Makefile.am: Add GST_BASE_CFLAGS and GST_BASE_LIBS (seems to be required for Cygwin, see #317048)

Original commit message from CVS:
* ext/cdio/Makefile.am:
Add GST_BASE_CFLAGS and GST_BASE_LIBS (seems to be
required for Cygwin, see #317048)
* gst/rtp/gstasteriskh263.c:
Cygwin has includes for both the unix network socket API
and the windows API, but only one can be included, so fix
includes to only use one or the other, prefering the unxi
one (#317048).

16 years agoPort dvdsubdec to 0.10
Tim-Philipp Müller [Wed, 22 Feb 2006 14:54:54 +0000 (14:54 +0000)]
Port dvdsubdec to 0.10

Original commit message from CVS:
* configure.ac:
* gst/dvdsub/Makefile.am:
* gst/dvdsub/gstdvdsubdec.c: (gst_dvd_sub_dec_base_init),
(gst_dvd_sub_dec_class_init), (gst_dvd_sub_dec_init),
(gst_dvd_sub_dec_finalize), (gst_dvd_sub_dec_src_event),
(gst_dvd_sub_dec_get_event_delay), (gst_dvd_sub_dec_parse_subpic),
(gst_get_nibble), (gst_setup_palette), (gst_get_rle_code),
(gst_draw_rle_line), (gst_dvd_sub_dec_merge_title),
(gst_send_empty_fill), (gst_send_subtitle_frame),
(gst_dvd_sub_dec_advance_time), (gst_dvd_sub_dec_chain),
(gst_dvd_sub_dec_sink_event), (gst_dvd_sub_dec_handle_dvd_event),
(plugin_init):
* gst/dvdsub/gstdvdsubdec.h:
Port dvdsubdec to 0.10

16 years agogst/mpegstream/gstdvddemux.c: Push the rank up to SECONDARY+1 so that dvddemux is...
Jan Schmidt [Tue, 21 Feb 2006 16:24:10 +0000 (16:24 +0000)]
gst/mpegstream/gstdvddemux.c: Push the rank up to SECONDARY+1 so that dvddemux is preferred over mpegdemux for MPEG-2...

Original commit message from CVS:
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_plugin_init):
Push the rank up to SECONDARY+1 so that dvddemux is preferred over
mpegdemux for MPEG-2 video streams.

16 years agoconfigure.ac: Bump nano back to CVS
Jan Schmidt [Mon, 20 Feb 2006 19:16:10 +0000 (19:16 +0000)]
configure.ac: Bump nano back to CVS

Original commit message from CVS:

* configure.ac:
Bump nano back to CVS

16 years agoconfigure.ac: releasing 0.10.2, "Season to Taste"
Jan Schmidt [Mon, 20 Feb 2006 19:13:54 +0000 (19:13 +0000)]
configure.ac: releasing 0.10.2, "Season to Taste"

Original commit message from CVS:
* configure.ac:
releasing 0.10.2, "Season to Taste"

16 years agoconfigure.ac: releasing 0.10.1.3 prelease for 0.10.2
Jan Schmidt [Sun, 19 Feb 2006 23:45:34 +0000 (23:45 +0000)]
configure.ac: releasing 0.10.1.3 prelease for 0.10.2

Original commit message from CVS:
* configure.ac:
releasing 0.10.1.3 prelease for 0.10.2

16 years agogst/asfdemux/gstasfdemux.c: In sink event handler, release object lock again _before_...
Tim-Philipp Müller [Fri, 17 Feb 2006 17:58:44 +0000 (17:58 +0000)]
gst/asfdemux/gstasfdemux.c: In sink event handler, release object lock again _before_ sending EOS event downstream (#...

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_sink_event):
In sink event handler, release object lock again
_before_ sending EOS event downstream (#313838).

16 years agofix rank of asfdemux
Christian Schaller [Fri, 17 Feb 2006 17:54:37 +0000 (17:54 +0000)]
fix rank of asfdemux

Original commit message from CVS:
fix rank of asfdemux

16 years agoconfigure.ac: releasing 0.10.1.2 prelease for 0.10.2
Jan Schmidt [Fri, 17 Feb 2006 15:08:28 +0000 (15:08 +0000)]
configure.ac: releasing 0.10.1.2 prelease for 0.10.2

Original commit message from CVS:
* configure.ac:
releasing 0.10.1.2 prelease for 0.10.2

16 years agolatest updates
Christian Schaller [Fri, 17 Feb 2006 15:02:30 +0000 (15:02 +0000)]
latest updates

Original commit message from CVS:
latest updates

16 years agoext/mpeg2dec/gstmpeg2dec.c: When we need to crop the output buffer, make sure we...
Tim-Philipp Müller [Fri, 17 Feb 2006 11:51:12 +0000 (11:51 +0000)]
ext/mpeg2dec/gstmpeg2dec.c: When we need to crop the output buffer, make sure we create a buffer of the right size an...

Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (crop_copy_i420_buffer),
(crop_copy_i422_buffer), (crop_buffer):
When we need to crop the output buffer, make sure we
create a buffer of the right size and respect the implicit
striding used for I420 elsewhere in GStreamer (#331301).

16 years agoext/cdio/gstcdio.c: Init debug category (#331253).
Tim-Philipp Müller [Fri, 17 Feb 2006 11:19:34 +0000 (11:19 +0000)]
ext/cdio/gstcdio.c: Init debug category (#331253).

Original commit message from CVS:
* ext/cdio/gstcdio.c: (plugin_init):
Init debug category (#331253).

16 years agogst/asfdemux/gstasfdemux.c: Do not error out on non-recognized streams. Ignore them...
Edward Hervey [Fri, 17 Feb 2006 10:24:56 +0000 (10:24 +0000)]
gst/asfdemux/gstasfdemux.c: Do not error out on non-recognized streams. Ignore them and allow playback of the other s...

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_stream):
Do not error out on non-recognized streams. Ignore them and allow
playback of the other streams.

16 years agogst/dvdlpcmdec/gstdvdlpcmdec.c: Add a small sanity check for LPCM reading.
Jan Schmidt [Fri, 17 Feb 2006 10:10:40 +0000 (10:10 +0000)]
gst/dvdlpcmdec/gstdvdlpcmdec.c: Add a small sanity check for LPCM reading.

Original commit message from CVS:
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcmdec_chain_dvd):
Add a small sanity check for LPCM reading.

16 years agogst/asfdemux/gstasfdemux.c: Take into account the file properties preroll value for...
Edward Hervey [Fri, 17 Feb 2006 09:54:43 +0000 (09:54 +0000)]
gst/asfdemux/gstasfdemux.c: Take into account the file properties preroll value for timestamping/newsegment. It's wei...

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_file):
Take into account the file properties preroll value for
timestamping/newsegment. It's weird this value was commented out.

16 years agogst/asfdemux/Makefile.am: More asf makefile fixing.
Wim Taymans [Thu, 16 Feb 2006 17:57:59 +0000 (17:57 +0000)]
gst/asfdemux/Makefile.am: More asf makefile fixing.

Original commit message from CVS:
* gst/asfdemux/Makefile.am:
More asf makefile fixing.

16 years agoext/lame/gstlame.c: Fix up lame a bit.
Wim Taymans [Thu, 16 Feb 2006 17:16:06 +0000 (17:16 +0000)]
ext/lame/gstlame.c: Fix up lame a bit.

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_init), (gst_lame_chain),
(gst_lame_change_state):
Fix up lame a bit.
Apply patch #319782 by Gautier Portet.

16 years agogst/asfdemux/Makefile.am: But we do need to link against the riff libraryr.
Edward Hervey [Thu, 16 Feb 2006 11:14:11 +0000 (11:14 +0000)]
gst/asfdemux/Makefile.am: But we do need to link against the riff libraryr.

Original commit message from CVS:
* gst/asfdemux/Makefile.am:
But we do need to link against the riff libraryr.

16 years agogst/asfdemux/Makefile.am: We don't want asfmux.c yet.
Edward Hervey [Thu, 16 Feb 2006 11:08:51 +0000 (11:08 +0000)]
gst/asfdemux/Makefile.am: We don't want asfmux.c yet.

Original commit message from CVS:
* gst/asfdemux/Makefile.am:
We don't want asfmux.c yet.

16 years agoext/mad/gstmad.c: Port fixes for bugs 314771, 308772, 140237, and 302625
Jon Trowbridge [Thu, 16 Feb 2006 09:50:43 +0000 (09:50 +0000)]
ext/mad/gstmad.c: Port fixes for bugs 314771, 308772, 140237, and 302625

Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_init), (scale), (gst_mad_update_info),
(gst_mad_sink_event), (gst_mad_check_caps_reset), (gst_mad_chain),
(gst_mad_change_state):
Port fixes for bugs 314771, 308772, 140237, and 302625
from 0.8 (Patch by Jonathan Matthew, Fixes #329575)
Use GST_EVENT_FLUSH_STOP to clear data from the current input
buffer, to avoid using it for any future decoding.

16 years agoasfdemux ported to 0.10. Does still need a bit of work (seems like there's something...
Tim-Philipp Müller [Wed, 15 Feb 2006 15:48:07 +0000 (15:48 +0000)]
asfdemux ported to 0.10. Does still need a bit of work (seems like there's something funky going on when timestamping...

Original commit message from CVS:
* configure.ac:
* gst/asfdemux/asfheaders.c: (gst_asf_identify_guid),
(gst_asf_get_guid_nick):
* gst/asfdemux/asfheaders.h:
* gst/asfdemux/gstasf.c: (plugin_init):
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_base_init),
(gst_asf_demux_class_init), (gst_asf_demux_init),
(gst_asf_demux_sink_event), (gst_asf_demux_handle_seek_event),
(gst_asf_demux_handle_src_event),
(gst_asf_demux_get_current_offset), (gst_asf_demux_chain),
(gst_asf_demux_skip_bytes), (gst_asf_demux_identify_guid),
(gst_asf_demux_get_uint8), (gst_asf_demux_get_uint16),
(gst_asf_demux_get_uint32), (gst_asf_demux_get_uint64),
(gst_asf_demux_get_var_length), (gst_asf_demux_get_buffer),
(gst_asf_demux_get_bytes), (gst_asf_demux_get_string),
(gst_asf_demux_get_guid), (gst_asf_demux_get_obj_file),
(gst_asf_demux_get_bitrate_record),
(gst_asf_demux_get_obj_comment), (gst_asf_demux_get_obj_header),
(gst_asf_demux_get_obj_header_ext), (gst_asf_demux_get_obj_stream),
(gst_asf_demux_get_replicated_data), (gst_asf_demux_get_obj_data),
(gst_asf_demux_get_obj_data_correction),
(gst_asf_demux_get_stream_audio),
(gst_asf_demux_get_stream_correction),
(gst_asf_demux_get_stream_video),
(gst_asf_demux_get_stream_video_format),
(gst_asf_demux_get_stream), (gst_asf_demux_setup_pad),
(gst_asf_demux_add_audio_stream), (gst_asf_demux_add_video_stream),
(gst_asf_demux_process_stream),
(gst_asf_demux_get_gst_tag_from_tag_name),
(gst_asf_demux_commit_taglist),
(gst_asf_demux_process_ext_content_desc),
(gst_asf_demux_get_object_header), (gst_asf_demux_process_data),
(gst_asf_demux_process_header), (gst_asf_demux_process_file),
(gst_asf_demux_process_comment),
(gst_asf_demux_process_bitrate_props_object),
(gst_asf_demux_process_header_ext), (gst_asf_demux_process_object),
(gst_asf_demux_descramble_segment),
(gst_asf_demux_element_send_event),
(gst_asf_demux_send_event_unlocked), (gst_asf_demux_push_buffer),
(gst_asf_demux_process_chunk), (gst_asf_demux_process_segment),
(gst_asf_demux_handle_data), (gst_asf_demux_parse_data),
(gst_asf_demux_get_src_query_types),
(gst_asf_demux_handle_src_query), (gst_asf_demux_change_state):
* gst/asfdemux/gstasfdemux.h:
asfdemux ported to 0.10. Does still need a bit of work (seems like
there's something funky going on when timestamping video frames).
The seeking code is likely to make Wim cry, but hey, at least it
compiles.

16 years agoext/amrnb/amrnbdec.c: Some more comments.
Wim Taymans [Wed, 15 Feb 2006 10:18:39 +0000 (10:18 +0000)]
ext/amrnb/amrnbdec.c: Some more comments.

Original commit message from CVS:
* ext/amrnb/amrnbdec.c: (gst_amrnbdec_setcaps),
(gst_amrnbdec_chain), (gst_amrnbdec_state_change):
Some more comments.

* ext/mpeg2dec/gstmpeg2dec.c: (crop_buffer), (handle_slice):
Applied patch from Fabrizio Gennari, fixes #330844.

16 years agoext/dvdread/dvdreadsrc.*: Let's try to play the title the user set via the URI handle...
Tim-Philipp Müller [Tue, 14 Feb 2006 14:57:18 +0000 (14:57 +0000)]
ext/dvdread/dvdreadsrc.*: Let's try to play the title the user set via the URI handler or via properties instead of a...

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_init),
(gst_dvd_read_src_class_init), (gst_dvd_read_src_start),
(gst_dvd_read_src_stop), (gst_dvd_read_src_goto_title),
(gst_dvd_read_src_set_property), (gst_dvd_read_src_get_property),
(gst_dvd_read_src_uri_get_uri), (gst_dvd_read_src_uri_set_uri):
* ext/dvdread/dvdreadsrc.h:
Let's try to play the title the user set via the URI handler or
via properties instead of always playing the first title. Also,
Also, count title/chapter/angle number in URI and properties
from 1 rather than 0.

16 years agoext/dvdread/dvdreadsrc.c: Don't implement GstBaseSrc::get_size or GstBaseSrc::is_seek...
Tim-Philipp Müller [Mon, 13 Feb 2006 14:09:26 +0000 (14:09 +0000)]
ext/dvdread/dvdreadsrc.c: Don't implement GstBaseSrc::get_size or GstBaseSrc::is_seekable, otherwise GstBaseSrc will ...

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_class_init),
(gst_dvd_read_src_get_size), (gst_dvd_read_src_do_seek),
(gst_dvd_read_src_do_duration_query):
Don't implement GstBaseSrc::get_size or GstBaseSrc::is_seekable,
otherwise GstBaseSrc will think we can operate pull_range based,
which we don't really, and typefinding will fail miserably.
Also, make seeking work somewhat (only works with flumpegdemux
at the moment, mpegstream needs fixing for that first).

16 years agoext/dvdread/dvdreadsrc.c: Only allocate buffer once we know exactly how much we need...
Tim-Philipp Müller [Mon, 13 Feb 2006 14:00:35 +0000 (14:00 +0000)]
ext/dvdread/dvdreadsrc.c: Only allocate buffer once we know exactly how much we need, rather than gratuitously alloca...

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_read),
(gst_dvd_read_src_create), (gst_dvd_read_src_src_event):
Only allocate buffer once we know exactly how much we need,
rather than gratuitously allocating 2MB-buffers all the time
even if we usually need much less than that. Also, demote
a debug message from DEBUG to LOG level.

16 years agoext/dvdread/dvdreadsrc.c: Add some more debugging and fix duration query in BYTES.
Tim-Philipp Müller [Fri, 10 Feb 2006 12:40:54 +0000 (12:40 +0000)]
ext/dvdread/dvdreadsrc.c: Add some more debugging and fix duration query in BYTES.

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_class_init),
(gst_dvd_read_src_seekable), (gst_dvd_read_src_get_size),
(gst_dvd_read_src_do_seek), (gst_dvd_read_src_do_duration_query),
(gst_dvd_read_src_do_position_query):
Add some more debugging and fix duration query in BYTES.

16 years agoHalf-baked port to 0.10. Needs some love in the seeking department, but at least...
Tim-Philipp Müller [Thu, 9 Feb 2006 17:27:57 +0000 (17:27 +0000)]
Half-baked port to 0.10. Needs some love in the seeking department, but at least it does something.

Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/dvdread/Makefile.am:
* ext/dvdread/dvdreadsrc.c:
* ext/dvdread/dvdreadsrc.h:
Half-baked port to 0.10. Needs some love
in the seeking department, but at least
it does something.
* ext/dvdread/stream_labels.c:
* ext/dvdread/stream_labels.h:
Remove these (we use ISO-639 language codes internally; applications
that want to translate those into language names for display to the
user should rely on the iso-codes package for that).

16 years agoext/amrnb/amrnbdec.*: Fix amrnbdec, handle events, take copy from adapter since the...
Wim Taymans [Mon, 6 Feb 2006 15:55:28 +0000 (15:55 +0000)]
ext/amrnb/amrnbdec.*: Fix amrnbdec, handle events, take copy from adapter since the decoder apparently writes in the ...

Original commit message from CVS:
* ext/amrnb/amrnbdec.c: (gst_amrnbdec_init),
(gst_amrnbdec_setcaps), (gst_amrnbdec_event), (gst_amrnbdec_chain),
(gst_amrnbdec_state_change):
* ext/amrnb/amrnbdec.h:
Fix amrnbdec, handle events, take copy from adapter since the decoder
apparently writes in the source data.
Use some _scale_int, and precalc duration.
Fix some leaks, post ERROR messages.

16 years agodocs/plugins/: Add cdio plugin to docs.
Tim-Philipp Müller [Mon, 6 Feb 2006 11:34:23 +0000 (11:34 +0000)]
docs/plugins/: Add cdio plugin to docs.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/inspect/plugin-cdio.xml:
Add cdio plugin to docs.
* ext/cdio/gstcdiocddasrc.c:
Add gtk-doc blurb.
* ext/cdio/gstcdio.c:
The plugin is called 'cdio' not 'cddio'.

16 years agogst/realmedia/rmdemux.c: One source pad not being linked is not an error condition...
Tim-Philipp Müller [Sat, 4 Feb 2006 15:22:02 +0000 (15:22 +0000)]
gst/realmedia/rmdemux.c: One source pad not being linked is not an error condition when we're still parsing the heade...

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_add_stream):
One source pad not being linked is not an error condition when we're
still parsing the header. In this case (e.g. where we don't have a
suitable decoder installed) just pretend everything is fine, so that
the demuxer will actually go on to signal no-more-pads when done
parsing the header, otherwise  decodebin/playbin will never post the
appropriate error message if decoders are not available.

16 years agoJust make it compile with --disable-gst-debug.
Edgard Lima [Fri, 3 Feb 2006 18:24:54 +0000 (18:24 +0000)]
Just make it compile with --disable-gst-debug.

Original commit message from CVS:
Just make it compile with --disable-gst-debug.

16 years agoext/mad/gstmad.c: Merge patch from Radoslaw Szkodzinski (bug 326734)
Radoslaw Szkodzinski [Tue, 31 Jan 2006 22:03:30 +0000 (22:03 +0000)]
ext/mad/gstmad.c: Merge patch from Radoslaw Szkodzinski (bug 326734)

Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_convert_src), (scale),
(gst_mad_check_caps_reset), (gst_mad_chain):
Merge patch from Radoslaw Szkodzinski (bug 326734)

16 years agoext/mad/gstid3tag.c: fixing Gdate handling enabling mux/demux mode switching adding...
Stefan Kost [Mon, 30 Jan 2006 22:00:18 +0000 (22:00 +0000)]
ext/mad/gstid3tag.c: fixing Gdate handling enabling mux/demux mode switching adding better debug output

Original commit message from CVS:
* ext/mad/gstid3tag.c: (tag_list_to_id3_tag_foreach),
(gst_id3_tag_get_tag_to_render), (gst_id3_tag_sink_event),
(gst_id3_tag_src_link), (gst_id3_tag_send_tag_event),
(gst_id3_tag_chain):
fixing Gdate handling
enabling mux/demux mode switching
adding better debug output

16 years agogst/mpegstream/gstmpegparse.c: If we haven't set caps on a source pad yet, the caps...
Tim-Philipp Müller [Mon, 30 Jan 2006 18:57:45 +0000 (18:57 +0000)]
gst/mpegstream/gstmpegparse.c: If we haven't set caps on a source pad yet, the caps on the pad are NULL, not un-fixed...

Original commit message from CVS:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_send_buffer):
If we haven't set caps on a source pad yet, the caps on the
pad are NULL, not un-fixed. Set caps on outgoing buffers.

16 years agoext/lame/gstlame.*: Contrary to what the const char in the lame API might suggest...
Tim-Philipp Müller [Mon, 23 Jan 2006 18:37:16 +0000 (18:37 +0000)]
ext/lame/gstlame.*: Contrary to what the const char in the lame API might suggest, lame expects us to keep the string...

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_finalize), (gst_lame_class_init),
(gst_lame_init), (add_one_tag), (gst_lame_set_metadata):
* ext/lame/gstlame.h:
Contrary to what the const char in the lame API might suggest,
lame expects us to keep the strings we pass to id3tag_set_foo()
around; it doesn't free them either though, so we have to store
them somewhere and free them later when we can be sure lame
doesn't need them any longer.

16 years agoext/lame/gstlame.c: don't pass an uninitialised string pointer to lame if we don...
Tim-Philipp Müller [Mon, 23 Jan 2006 15:02:04 +0000 (15:02 +0000)]
ext/lame/gstlame.c: don't pass an uninitialised string pointer to lame if we don't know how to handle the tag type, a...

Original commit message from CVS:
* ext/lame/gstlame.c: (add_one_tag):
Fix handling of GST_TAG_DATE (#311679), don't pass an
uninitialised string pointer to lame if we don't know
how to handle the tag type, and fix minor memory leak.

16 years agoext/mad/gstmad.c: Fix debug message.
Tim-Philipp Müller [Mon, 23 Jan 2006 10:15:27 +0000 (10:15 +0000)]
ext/mad/gstmad.c: Fix debug message.

Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_chain):
Fix debug message.

16 years agogst/mpegstream/gstmpegparse.c (gst_mpeg_parse_process_event): Erase spurious call...
Martin Soto [Sun, 22 Jan 2006 12:00:46 +0000 (12:00 +0000)]
gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_process_event): Erase spurious call to gst_segment_set_newsegment.

Original commit message from CVS:
2006-01-22  Martin Soto  <martinsoto@users.sourceforge.net>

* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_process_event):
Erase spurious call to gst_segment_set_newsegment.
* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_process_event): Call
the superclass method when handling NEWSEGMENT events.
(gst_dvd_demux_handle_dvd_event): Get rid of dvd-audio-shutdown
and dvd-audio-restart event handling. There are currently less
hackish ways of handling the sparse audio stream problem.

16 years agofix up error domains, error strings, and use of translation
Thomas Vander Stichele [Fri, 20 Jan 2006 14:18:20 +0000 (14:18 +0000)]
fix up error domains, error strings, and use of translation

Original commit message from CVS:
2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>

* ext/dvdnav/dvdnavsrc.c: (if):
* ext/dvdread/stream_labels.c:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_segment):
* gst/realmedia/rmdemux.c: (gst_rmdemux_loop):
fix up error domains, error strings, and use of translation
* po/POTFILES.in:
fix up this file, even though none of them are actually marked
for build yet.

16 years agogst/mpegstream/gstmpegparse.h (struct _GstMPEGParse): gst/mpegstream/gstmpegparse...
Martin Soto [Thu, 19 Jan 2006 21:32:05 +0000 (21:32 +0000)]
gst/mpegstream/gstmpegparse.h (struct _GstMPEGParse): gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_reset) (gst_mpeg_...

Original commit message from CVS:
2006-01-19  Martin Soto  <martinsoto@users.sourceforge.net>

* gst/mpegstream/gstmpegparse.h (struct _GstMPEGParse):
* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_reset)
(gst_mpeg_parse_process_event, gst_mpeg_parse_parse_packhead)
(gst_mpeg_parse_change_state):
Make timestamp adjustment somewhat milder. Actual timestamps are
now sent unmodified unless an actual gap is found in the
stream. This should fix time display when playing most MPEG
files.

16 years agoext/cdio/: Fix build for libcdio versions >= 76; give slightly lower rank than cdpara...
Tim-Philipp Müller [Thu, 19 Jan 2006 00:10:51 +0000 (00:10 +0000)]
ext/cdio/: Fix build for libcdio versions >= 76; give slightly lower rank than cdparanoia.

Original commit message from CVS:
* ext/cdio/gstcdio.c: (gst_cdio_add_cdtext_field), (plugin_init):
* ext/cdio/gstcdio.h:
* ext/cdio/gstcdiocddasrc.c: (gst_cdio_cdda_src_get_cdtext):
Fix build for libcdio versions >= 76; give slightly lower rank
than cdparanoia.

16 years agoPort libcdio cdda source, formerly known as cddasrc, now known as cdiocddasrc (fixes...
Tim-Philipp Müller [Wed, 18 Jan 2006 19:30:36 +0000 (19:30 +0000)]
Port libcdio cdda source, formerly known as cddasrc, now known as cdiocddasrc (fixes #323327). Should also read CD-TE...

Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/cdio/Makefile.am:
* ext/cdio/gstcdio.c:
* ext/cdio/gstcdio.h:
* ext/cdio/gstcdiocddasrc.c:
* ext/cdio/gstcdiocddasrc.h:
Port libcdio cdda source, formerly known as cddasrc, now known as
cdiocddasrc (fixes #323327). Should also read CD-TEXT if available,
but that's not tested (fixes #317658).

16 years agogst/mpegstream/gstmpegdemux.c: tss tss... always set caps on outgoing buffer.
Edward Hervey [Wed, 18 Jan 2006 09:30:00 +0000 (09:30 +0000)]
gst/mpegstream/gstmpegdemux.c: tss tss... always set caps on outgoing buffer.

Original commit message from CVS:
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_send_subbuffer):
tss tss... always set caps on outgoing buffer.

16 years agoupdate spec file
Christian Schaller [Tue, 17 Jan 2006 14:16:52 +0000 (14:16 +0000)]
update spec file

Original commit message from CVS:
update spec file

16 years agoback to HEAD
Thomas Vander Stichele [Fri, 13 Jan 2006 19:30:31 +0000 (19:30 +0000)]
back to HEAD

Original commit message from CVS:
back to HEAD

16 years agoreleasing 0.10.1
Thomas Vander Stichele [Fri, 13 Jan 2006 19:25:42 +0000 (19:25 +0000)]
releasing 0.10.1

Original commit message from CVS:
releasing 0.10.1

16 years agoprerelease
Thomas Vander Stichele [Wed, 11 Jan 2006 11:44:02 +0000 (11:44 +0000)]
prerelease

Original commit message from CVS:
prerelease

16 years agoPass unhandled queries upstream (useful e.g. for SEEKING query)
Tim-Philipp Müller [Tue, 10 Jan 2006 11:43:37 +0000 (11:43 +0000)]
Pass unhandled queries upstream (useful e.g. for SEEKING query)

Original commit message from CVS:
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_query):
* ext/mad/gstid3tag.c: (gst_id3_tag_src_query):
* ext/mad/gstmad.c: (gst_mad_src_query):
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_src_query):
* ext/sidplay/gstsiddec.cc:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_handle_src_query):
* gst/realmedia/rmdemux.c: (gst_rmdemux_src_query):
Pass unhandled queries upstream (useful e.g. for SEEKING query)
(fixes #325652; based on patch by: Philippe); make rmdemux return
FALSE for position queries, instead of setting -1 as value and
returning TRUE.

16 years agogst/mpegstream/gstmpegparse.c (gst_mpeg_parse_adjust_ts)
Martin Soto [Thu, 5 Jan 2006 21:36:49 +0000 (21:36 +0000)]
gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_adjust_ts)

Original commit message from CVS:
2006-01-05  Martin Soto  <martinsoto@users.sourceforge.net>

* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_adjust_ts)
(gst_mpeg_parse_process_event, gst_mpeg_parse_pad_added): Don't
rewrite timestamps in the case segments are being set from
upstream, but use timestamps unmodified. Also send proper position
values. This allows for correct time display and makes queries
work in sink elements.

* gst/mpegstream/gstdvddemux.h:
* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_init)
(gst_dvd_demux_handle_dvd_event, gst_dvd_demux_send_subbuffer):
Rename flush_filter to segment_filter, which is better represents
what the arreibute does.

* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_process_event):
Activate segment filtering when a timestamp discontinuity is seen.

16 years agoext/mad/gstmad.c: Don't forget that we need to send out a newsegment event after...
Tim-Philipp Müller [Wed, 4 Jan 2006 15:17:15 +0000 (15:17 +0000)]
ext/mad/gstmad.c: Don't forget that we need to send out a newsegment event after a restart even if we don't have enou...

Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_chain):
Don't forget that we need to send out a newsegment event after a
restart even if we don't have enough data to decode a frame right
now.

16 years agogst/mpegstream/gstdvddemux.c (gst_dvd_demux_handle_dvd_event): Use the new "audio...
Martin Soto [Fri, 30 Dec 2005 23:51:46 +0000 (23:51 +0000)]
gst/mpegstream/gstdvddemux.c (gst_dvd_demux_handle_dvd_event): Use the new "audio-shutdown" and "audio-restart" DVD e...

Original commit message from CVS:
2005-12-31  Martin Soto  <martinsoto@users.sourceforge.net>

* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_handle_dvd_event):
Use the new "audio-shutdown" and "audio-restart" DVD events
instead of the "spu-still-frame" event to shutdown and restart
the audio pipeline.

* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_adjust_ts):
Check for cases where the segment-based adjustment calculation
would produce negative values (which result in an overflow) and
return GST_CLOCK_TIME_NONE instead.

* gst/mpegstream/gstdvddemux.h:
* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_init)
(gst_dvd_demux_process_event, gst_dvd_demux_send_subbuffer):
Add a mechanism to discard audio buffers with timestamps outside
the currently set segment. This was causing (sometimes serious)
synchronization problems after seeking in DVDs with LPCM audio,
since VOBUs usually contain audio material that lies outside the
timestamp range specified by the header.