platform/upstream/gstreamer.git
17 years agoext/mpeg2dec/gstmpeg2dec.c: Fix minor memleak when creating pads from static pad...
Sebastian Dröge [Wed, 15 Nov 2006 11:41:39 +0000 (11:41 +0000)]
ext/mpeg2dec/gstmpeg2dec.c: Fix minor memleak when creating pads from static pad templates (#369627).

Original commit message from CVS:
Patch by: Sebastian Dröge  <slomo@circular-chaos.org>
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_init):
Fix minor memleak when creating pads from static pad templates (#369627).
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/mpeg2dec.c: (setup_mpeg2dec),
(cleanup_mpeg2dec), (GST_START_TEST), (mpeg2dec_suite), (main):
Add unit tests for mpeg2dec (#369627).

17 years agogive credit
Wim Taymans [Tue, 14 Nov 2006 10:31:11 +0000 (10:31 +0000)]
give credit

Original commit message from CVS:
give credit

17 years agoext/lame/gstlame.*: Make lame timestamp flushed eos buffer by some additional timesta...
Wim Taymans [Tue, 14 Nov 2006 10:29:37 +0000 (10:29 +0000)]
ext/lame/gstlame.*: Make lame timestamp flushed eos buffer by some additional timestamp accounting. Fixes #374760.

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_sink_event), (gst_lame_chain),
(gst_lame_change_state):
* ext/lame/gstlame.h:
Make lame timestamp flushed eos buffer by some additional timestamp
accounting. Fixes #374760.

17 years agogst/mpegaudioparse/gstmpegaudioparse.*: Make timestamp handling in mp3parse saner...
Michael Smith [Mon, 13 Nov 2006 17:01:15 +0000 (17:01 +0000)]
gst/mpegaudioparse/gstmpegaudioparse.*: Make timestamp handling in mp3parse saner; now works for at least simple cases.

Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c:
(mp3_type_frame_length_from_header), (gst_mp3parse_reset),
(gst_mp3parse_init), (gst_mp3parse_dispose),
(gst_mp3parse_sink_event), (gst_mp3parse_chain), (head_check),
(gst_mp3parse_change_state):
* gst/mpegaudioparse/gstmpegaudioparse.h:
Make timestamp handling in mp3parse saner; now works for at least
simple cases.

17 years agogst/mpegaudioparse/: Bring mp3parse into the 21st century.
Michael Smith [Mon, 13 Nov 2006 16:23:22 +0000 (16:23 +0000)]
gst/mpegaudioparse/: Bring mp3parse into the 21st century.

Original commit message from CVS:
* gst/mpegaudioparse/Makefile.am:
* gst/mpegaudioparse/gstmpegaudioparse.c:
(mp3_type_frame_length_from_header), (gst_mp3parse_class_init),
(gst_mp3parse_reset), (gst_mp3parse_init), (gst_mp3parse_dispose),
(gst_mp3parse_sink_event), (gst_mp3parse_chain), (head_check),
(gst_mp3parse_change_state), (plugin_init):
* gst/mpegaudioparse/gstmpegaudioparse.h:
Bring mp3parse into the 21st century.
Use its own debug category, use gstadapter, format nicely to 80
columns, and fix incorrect handling of 32 kHz and less files.

17 years agoext/mpeg2dec/gstmpeg2dec.*: libmpeg2 requires its output buffers to start at a 16byte...
Sebastian Droege [Fri, 3 Nov 2006 09:52:12 +0000 (09:52 +0000)]
ext/mpeg2dec/gstmpeg2dec.*: libmpeg2 requires its output buffers to start at a 16byte aligned address or the altivec ...

Original commit message from CVS:
Patch by: Sebastian Droege <slomo at ubuntu dot com>
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_finalize),
(gst_mpeg2dec_alloc_buffer), (init_dummybuf), (handle_slice):
* ext/mpeg2dec/gstmpeg2dec.h:
libmpeg2 requires its output buffers to start at a 16byte aligned
address or the altivec optimizations will explode.

17 years agoext/cdio/: Move CD-TEXT utility function into common file so it can also be used...
Tim-Philipp Müller [Thu, 2 Nov 2006 14:43:11 +0000 (14:43 +0000)]
ext/cdio/: Move CD-TEXT utility function into common file so it can also be 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.

17 years agoext/dvdread/dvdreadsrc.c: Use dsi_pack.dsi_gi.vobu_ea correctly, add some more debugg...
Tim-Philipp Müller [Thu, 19 Oct 2006 10:17:14 +0000 (10:17 +0000)]
ext/dvdread/dvdreadsrc.c: Use dsi_pack.dsi_gi.vobu_ea correctly, add some more debugging information (fixes #340433).

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_read):
Use dsi_pack.dsi_gi.vobu_ea correctly, add some more debugging
information (fixes #340433).

17 years agogst/: Misc. fixes for problems discovered by Forte (different return types in functio...
Josep Torra Valles [Mon, 16 Oct 2006 18:07:23 +0000 (18:07 +0000)]
gst/: Misc. fixes for problems discovered by Forte (different return types in function declaration and definition, po...

Original commit message from CVS:
Patch by: Josep Torra Valles  <josep at fluendo com>
* gst/iec958/ac3_padder.c: (ac3p_init):
* gst/mpegstream/gstmpegparse.c:
* gst/realmedia/rmdemux.c: (gst_rmdemux_parse__rmf),
(gst_rmdemux_parse_prop), (gst_rmdemux_parse_mdpr),
(gst_rmdemux_parse_indx), (gst_rmdemux_parse_indx_data),
(gst_rmdemux_parse_data), (gst_rmdemux_parse_cont),
(gst_rmdemux_parse_packet):
Misc. fixes for problems discovered by Forte (different return types
in function declaration and definition, pointer arithmetics with
void pointers). Fixes #362639.

17 years agoext/dvdread/dvdreadsrc.c: Don't announce audio or subtitle streams that aren't really...
Tim-Philipp Müller [Fri, 13 Oct 2006 19:11:26 +0000 (19:11 +0000)]
ext/dvdread/dvdreadsrc.c: Don't announce audio or subtitle streams that aren't really present, it makes dvddemux crea...

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_goto_title):
Don't announce audio or subtitle streams that aren't really present,
it makes dvddemux create pads that will never carry any data, which
is not good.

17 years agoext/lame/gstlame.c: Round up not allowed bitrates to the next higher allowed one...
Tim-Philipp Müller [Fri, 13 Oct 2006 14:45:11 +0000 (14:45 +0000)]
ext/lame/gstlame.c: Round up not allowed bitrates to the next higher allowed one (Closes: #361140).

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_set_property):
Round up not allowed bitrates to the next higher allowed one
(Closes: #361140).

17 years agoAdd docs for lame and lame to docs. Specify allowed bitrates in the properties descri...
Tim-Philipp Müller [Fri, 13 Oct 2006 14:19:24 +0000 (14:19 +0000)]
Add docs for lame and lame to docs. Specify allowed bitrates in the properties description (#361140). Canonicalise ob...

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-ugly-plugins-docs.sgml:
* docs/plugins/gst-plugins-ugly-plugins-sections.txt:
* ext/lame/gstlame.c: (gst_lame_class_init):
* ext/lame/gstlame.h:
Add docs for lame and lame to docs. Specify allowed bitrates
in the properties description (#361140). Canonicalise object
property names (ie. use hyphen instead of underscore).
* docs/plugins/inspect/plugin-a52dec.xml:
* docs/plugins/inspect/plugin-amrnb.xml:
* docs/plugins/inspect/plugin-asf.xml:
* docs/plugins/inspect/plugin-dvdlpcmdec.xml:
* docs/plugins/inspect/plugin-dvdread.xml:
* docs/plugins/inspect/plugin-dvdsub.xml:
* docs/plugins/inspect/plugin-iec958.xml:
* docs/plugins/inspect/plugin-lame.xml:
* docs/plugins/inspect/plugin-mad.xml:
* docs/plugins/inspect/plugin-mpeg2dec.xml:
* docs/plugins/inspect/plugin-mpegaudioparse.xml:
* docs/plugins/inspect/plugin-mpegstream.xml:
* docs/plugins/inspect/plugin-siddec.xml:
Update version to CVS.

17 years agoAdd i18n magic to lame plugin. Throw decent error message when we fail to setup the...
Tim-Philipp Müller [Fri, 13 Oct 2006 10:00:27 +0000 (10:00 +0000)]
Add i18n magic to lame plugin. Throw decent error message when we fail to setup the encoder (#361140, 361151); misc. ...

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_sink_setcaps),
(gst_lame_set_property), (gst_lame_get_property), (gst_lame_chain),
(plugin_init):
* po/POTFILES.in:
Add i18n magic to lame plugin. Throw decent error message when we
fail to setup the encoder (#361140, 361151); misc. minor clean-ups.

17 years agogst/realmedia/rdtdepay.c: Change caps to x-rdt, because it's not x-rtp.
Wim Taymans [Tue, 10 Oct 2006 17:02:05 +0000 (17:02 +0000)]
gst/realmedia/rdtdepay.c: Change caps to x-rdt, because it's not x-rtp.

Original commit message from CVS:
* gst/realmedia/rdtdepay.c: (gst_rdt_depay_base_init),
(gst_rdt_depay_init), (gst_rdt_depay_setcaps),
(gst_rdt_depay_chain), (gst_rdt_depay_change_state):
Change caps to x-rdt, because it's not x-rtp.
* gst/realmedia/rmdemux.c: (gst_rmdemux_add_stream),
(gst_rmdemux_parse_mdpr), (gst_rmdemux_parse_packet),
(gst_rmdemux_plugin_init):
Activate pad before adding to the element.
Return the combined stream return values after pad_alloc.

17 years agoext/mpeg2dec/gstmpeg2dec.*: Add some debugging to timestamp handling.
Wim Taymans [Tue, 10 Oct 2006 16:58:32 +0000 (16:58 +0000)]
ext/mpeg2dec/gstmpeg2dec.*: Add some debugging to timestamp handling.

Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (handle_slice):
* ext/mpeg2dec/gstmpeg2dec.h:
Add some debugging to timestamp handling.
Make sure we don't convert invalid timestamps.

17 years agogst/: Active pads before adding them to the running element. Don't assert on non...
Tim-Philipp Müller [Mon, 9 Oct 2006 12:09:14 +0000 (12:09 +0000)]
gst/: Active pads before adding them to the running element. Don't assert on non-BYTE format newsegment events in asf...

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_sink_event),
(gst_asf_demux_setup_pad), (gst_asf_demux_process_segment):
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_get_audio_stream),
(gst_dvd_demux_get_subpicture_stream):
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_get_video_stream),
(gst_mpeg_demux_get_audio_stream),
(gst_mpeg_demux_get_private_stream):
Active pads before adding them to the running element. Don't assert
on non-BYTE format newsegment events in asfdemux.

17 years agoPrintf format fixes.
Tim-Philipp Müller [Thu, 5 Oct 2006 17:07:52 +0000 (17:07 +0000)]
Printf format fixes.

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_goto_title),
(gst_dvd_read_src_handle_seek_event):
* ext/mad/gstid3tag.c: (gst_id3_tag_chain):
* ext/mad/gstmad.c: (gst_mad_src_query), (gst_mad_chain):
* ext/sidplay/gstsiddec.cc:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_parse_data):
* gst/realmedia/rmdemux.c: (gst_rmdemux_loop),
(gst_rmdemux_parse_packet):
Printf format fixes.

17 years agogst/realmedia/: Added RDT depayloader.
Wim Taymans [Tue, 3 Oct 2006 10:55:42 +0000 (10:55 +0000)]
gst/realmedia/: Added RDT depayloader.

Original commit message from CVS:
* gst/realmedia/Makefile.am:
* gst/realmedia/rdtdepay.c: (gst_rdt_depay_base_init),
(gst_rdt_depay_class_init), (gst_rdt_depay_init),
(gst_rdt_depay_setcaps), (gst_rdt_depay_chain),
(gst_rdt_depay_set_property), (gst_rdt_depay_get_property),
(gst_rdt_depay_change_state), (gst_rdt_depay_plugin_init):
* gst/realmedia/rdtdepay.h:
Added RDT depayloader.
* gst/realmedia/rmdemux.c: (gst_rmdemux_parse_mdpr),
(gst_rmdemux_plugin_init), (plugin_init):
Remove unused function.
Added some more mime-types.

17 years agogst/dvdlpcmdec/gstdvdlpcmdec.c: If an incoming timestamp is within one sample of...
Jan Schmidt [Thu, 28 Sep 2006 21:44:49 +0000 (21:44 +0000)]
gst/dvdlpcmdec/gstdvdlpcmdec.c: If an incoming timestamp is within one sample of our current timestamp, then keep it....

Original commit message from CVS:
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (update_timestamps):
If an incoming timestamp is within one sample of our current
timestamp, then keep it. This prevents imprecision in the
PTS (which only has 90khz granularity) from affecting our stream.

17 years agogst/mpegstream/gstmpegparse.c: Reflow code so that compiler doesn't complain about...
Tim-Philipp Müller [Thu, 28 Sep 2006 09:16:38 +0000 (09:16 +0000)]
gst/mpegstream/gstmpegparse.c: Reflow code so that compiler doesn't complain about possible use of uninitialised vari...

Original commit message from CVS:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_handle_src_query):
Reflow code so that compiler doesn't complain about possible use
of uninitialised variable any longer; but just in case, initialise
it anyway; also take object ref in query function and do peer pad
stuff in a more thread-safe way.

17 years agoext/dvdread/dvdreadsrc.c: Init a variable to make compilers happy.
Wim Taymans [Wed, 27 Sep 2006 09:54:01 +0000 (09:54 +0000)]
ext/dvdread/dvdreadsrc.c: Init a variable to make compilers happy.

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_do_convert_query):
Init a variable to make compilers happy.

17 years agogst/mpegstream/: Send newsegment updates for sparse streams (#350778).
Martin Zlomek [Thu, 21 Sep 2006 13:34:59 +0000 (13:34 +0000)]
gst/mpegstream/: Send newsegment updates for sparse streams (#350778).

Original commit message from CVS:
Patch by: Martin Zlomek <martin dot zlomek at itonis dot tv>
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_reset),
(gst_dvd_demux_sync_stream_to_time):
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_send_subbuffer),
(gst_mpeg_demux_synchronise_pads),
(gst_mpeg_demux_sync_stream_to_time):
Send newsegment updates for sparse streams (#350778).

17 years agoext/dvdread/dvdreadsrc.c: fix compile warning
Thomas Vander Stichele [Wed, 20 Sep 2006 16:18:24 +0000 (16:18 +0000)]
ext/dvdread/dvdreadsrc.c: fix compile warning

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_do_convert_query):
fix compile warning

17 years agobump the nano bitches
Thomas Vander Stichele [Wed, 20 Sep 2006 16:16:18 +0000 (16:16 +0000)]
bump the nano bitches

Original commit message from CVS:
bump the nano bitches

17 years agoconfigure.ac: As another attempt, synaesthesia can be enabled by passing
Stefan Kost [Wed, 20 Sep 2006 11:55:00 +0000 (11:55 +0000)]
configure.ac: As another attempt, synaesthesia can be enabled by passing

Original commit message from CVS:
* configure.ac:
As another attempt, synaesthesia can be enabled by passing
--with-plugins="synaesthesia" to configure

17 years agoconfigure.ac: Don't build synaesthesia by default, until someone confirms that it...
Stefan Kost [Wed, 20 Sep 2006 11:12:22 +0000 (11:12 +0000)]
configure.ac: Don't build synaesthesia by default, until someone confirms that it is okay (filed as #356882)

Original commit message from CVS:
* configure.ac:
Don't build synaesthesia by default, until someone confirms that it
is okay (filed as #356882)

17 years agoconfigure.ac: Don't build synaesthesia by default, until someone confirms that it...
Stefan Kost [Wed, 20 Sep 2006 11:11:26 +0000 (11:11 +0000)]
configure.ac: Don't build synaesthesia by default, until someone confirms that it is okay (filed as #356882)

Original commit message from CVS:
* configure.ac:
Don't build synaesthesia by default, until someone confirms that it
is okay (filed as #356882)

17 years agoPort synaesthesia.
Stefan Kost [Mon, 18 Sep 2006 12:29:09 +0000 (12:29 +0000)]
Port synaesthesia.

Original commit message from CVS:
* configure.ac:
* gst/synaesthesia/Makefile.am:
* gst/synaesthesia/gstsynaesthesia.c: (gst_synaesthesia_init),
(gst_synaesthesia_sink_setcaps), (gst_synaesthesia_src_getcaps),
(gst_synaesthesia_src_setcaps), (gst_synaesthesia_chain),
(gst_synaesthesia_change_state), (plugin_init):
Port synaesthesia.

17 years agoMore G_OBJECT macro fixing.
Stefan Kost [Sat, 16 Sep 2006 21:58:48 +0000 (21:58 +0000)]
More G_OBJECT macro fixing.

Original commit message from CVS:
* ext/mad/gstid3tag.c:
* gst/mpegstream/gstrfc2250enc.h:
* gst/synaesthesia/gstsynaesthesia.c:
More G_OBJECT macro fixing.

17 years agoext/mpeg2dec/gstmpeg2dec.c: Fix initialisation dummy buffer, the offsets are relative...
Yves Lefebvre [Fri, 15 Sep 2006 16:14:15 +0000 (16:14 +0000)]
ext/mpeg2dec/gstmpeg2dec.c: Fix initialisation dummy buffer, the offsets are relative to the start of the buffers. Fi...

Original commit message from CVS:
Patch by: Yves Lefebvre <ivanohe at abacom dot com>
* ext/mpeg2dec/gstmpeg2dec.c: (init_dummybuf):
Fix initialisation dummy buffer, the offsets are relative to the start
of the buffers. Fixes #356004.

17 years agoupdate spec file
Christian Schaller [Tue, 12 Sep 2006 10:14:29 +0000 (10:14 +0000)]
update spec file

Original commit message from CVS:
update spec file

17 years agoext/dvdread/dvdreadsrc.c: Add convert query (needed for later when we just operate...
Tim-Philipp Müller [Sat, 9 Sep 2006 15:22:58 +0000 (15:22 +0000)]
ext/dvdread/dvdreadsrc.c: Add convert query (needed for later when we just operate in time format and let the base so...

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_read):
Add convert query (needed for later when we just operate in time
format and let the base source class handle all the seeking stuff).

17 years agogst/asfdemux/gstasfdemux.c: Erm, lets properly fix it. The only non-text tag that...
Stefan Kost [Thu, 7 Sep 2006 16:05:31 +0000 (16:05 +0000)]
gst/asfdemux/gstasfdemux.c: Erm, lets properly fix it. The only non-text tag that we support is the track-number and ...

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c:
(gst_asf_demux_get_gst_tag_from_tag_name),
(gst_asf_demux_process_ext_content_desc):
Erm, lets properly fix it. The only non-text tag that we support is
the track-number and that is an UINT. asfdemux was returning a GValue
initialized as INT. Further the Track and not the TrackNumber tag
(the latter is a string too).

17 years agogst/asfdemux/gstasfdemux.c: Skip tags that are unknown (was producing an uninialized...
Stefan Kost [Thu, 7 Sep 2006 14:08:42 +0000 (14:08 +0000)]
gst/asfdemux/gstasfdemux.c: Skip tags that are unknown (was producing an uninialized GValue).

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c:
(gst_asf_demux_get_gst_tag_from_tag_name),
(gst_asf_demux_process_ext_content_desc):
Skip tags that are unknown (was producing an uninialized GValue).

17 years agoext/a52dec/gsta52dec.*: Add two things to a52dec: configure the exact output format...
from Michal Benes [Fri, 1 Sep 2006 16:21:43 +0000 (16:21 +0000)]
ext/a52dec/gsta52dec.*: Add two things to a52dec: configure the exact output format for ac3 decoding through properti...

Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_mode_get_type),
(gst_a52dec_class_init), (gst_a52dec_init), (gst_a52dec_channels),
(gst_a52dec_handle_frame), (gst_a52dec_change_state),
(gst_a52dec_set_property), (gst_a52dec_get_property):
* ext/a52dec/gsta52dec.h:
Patch from from Michal Benes <michal.benes@itonis.tv>:

Add two things to a52dec: configure the exact output format for ac3
decoding through properties, if desired.
By default, configure an output format preferred by downstream. Now
that audioconvert lists caps by preference, this means that a52dec
can do downmixing (iff required) rather than audioconvert, so it can
use the ac3 downmix levels from the bitstream.

17 years agoAdd missing GST_LIBS to the link flags
Jan Schmidt [Thu, 31 Aug 2006 13:04:31 +0000 (13:04 +0000)]
Add missing GST_LIBS to the link flags

Original commit message from CVS:
* ext/lame/Makefile.am:
* ext/mpeg2dec/Makefile.am:
* gst/dvdlpcmdec/Makefile.am:
* gst/dvdsub/Makefile.am:
* gst/mpegaudioparse/Makefile.am:
Add missing GST_LIBS to the link flags

17 years agoconfigure.ac: Up requirements to core 0.10.6 for gst_event_new_new_segment_full().
Tim-Philipp Müller [Tue, 29 Aug 2006 13:28:41 +0000 (13:28 +0000)]
configure.ac: Up requirements to core 0.10.6 for gst_event_new_new_segment_full().

Original commit message from CVS:
* configure.ac:
Up requirements to core 0.10.6 for gst_event_new_new_segment_full().

18 years agogst/mpegstream/gstmpegpacketize.c: fix build for debug disabled
Stefan Kost [Sun, 27 Aug 2006 20:46:54 +0000 (20:46 +0000)]
gst/mpegstream/gstmpegpacketize.c: fix build for debug disabled

Original commit message from CVS:
* gst/mpegstream/gstmpegpacketize.c: (gst_mpeg_packetize_new):
fix build for debug disabled

18 years agogst/asfdemux/gstasfdemux.c: Use static pad templates with ANY caps for the source...
Tim-Philipp Müller [Tue, 22 Aug 2006 15:52:16 +0000 (15:52 +0000)]
gst/asfdemux/gstasfdemux.c: Use static pad templates with ANY caps for the source pads for simplicity and to avoid wa...

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_base_init),
(gst_asf_demux_add_audio_stream), (gst_asf_demux_add_video_stream):
Use static pad templates with ANY caps for the source pads for
simplicity and to avoid warnings when creating pads for unhandled
codec IDs (#351795).

18 years agoext/mad/gstmad.c: Fix timestamping in mad by only activating a new timestamp when...
Michal Benes [Wed, 16 Aug 2006 10:34:57 +0000 (10:34 +0000)]
ext/mad/gstmad.c: Fix timestamping in mad by only activating a new timestamp when the previous frame has been decoded...

Original commit message from CVS:
Patch by: Michal Benes <michal dot benes at itonis dot tv>
* ext/mad/gstmad.c: (gst_mad_chain):
Fix timestamping in mad by only activating a new timestamp when the
previous frame has been decoded. Fixes #350723.
Also clean up some of the non fatal warnings when the input buffer is
too small to decode a header.

18 years agoreleasing 0.10.4
Thomas Vander Stichele [Mon, 14 Aug 2006 11:15:09 +0000 (11:15 +0000)]
releasing 0.10.4

Original commit message from CVS:
releasing 0.10.4

18 years agoUpdate .po files
Thomas Vander Stichele [Mon, 14 Aug 2006 11:06:29 +0000 (11:06 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

18 years agoext/a52dec/gsta52dec.c: Instead of forwarding the event in the wrong format, unref...
Wim Taymans [Mon, 14 Aug 2006 10:19:41 +0000 (10:19 +0000)]
ext/a52dec/gsta52dec.c: Instead of forwarding the event in the wrong format, unref it and set a boolean that we still...

Original commit message from CVS:
Patch by: Wim Taymans <wim at fluendo dot com>
* ext/a52dec/gsta52dec.c: (gst_a52dec_sink_event):
Instead of forwarding the event in the wrong format, unref it and set
a boolean that we still need to send it in the streaming thread.
Fixes #350554

18 years agoext/dvdread/dvdreadsrc.c: Put debug category initialization before use of GST_DEBUG...
Thomas Vander Stichele [Mon, 14 Aug 2006 09:50:26 +0000 (09:50 +0000)]
ext/dvdread/dvdreadsrc.c: Put debug category initialization before use of GST_DEBUG, in order to remove a fatal warni...

Original commit message from CVS:
Patch by: Edward Hervey (edward at fluendo dot com)
* ext/dvdread/dvdreadsrc.c: (plugin_init):
Put debug category initialization before use of GST_DEBUG, in order
to remove a fatal warning.  Fixes #350895

18 years agogst/dvdsub/gstdvdsubdec.c: Set rank to NONE for the time being until we make playbin...
Tim-Philipp Müller [Tue, 8 Aug 2006 13:23:27 +0000 (13:23 +0000)]
gst/dvdsub/gstdvdsubdec.c: Set rank to NONE for the time being until we make playbin handle subtitle pictures again (...

Original commit message from CVS:
* gst/dvdsub/gstdvdsubdec.c: (plugin_init):
Set rank to NONE for the time being until we make playbin handle
subtitle pictures again (dvdsubdec seems to be a bit shaky at
times when seeking, so it's probably better if it doesn't get
autoplugged for the time being).

18 years agogst/realmedia/rmdemux.c: Handle audio streams with stream_version 3 properly; warn...
Tim-Philipp Müller [Mon, 7 Aug 2006 19:01:40 +0000 (19:01 +0000)]
gst/realmedia/rmdemux.c: Handle audio streams with stream_version 3 properly; warn about unknown stream versions; han...

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_add_stream),
(gst_rmdemux_parse_mdpr):
Handle audio streams with stream_version 3 properly; warn about
unknown stream versions; handle unknown fourccs a tad more
gracefully (setting bogus caps). Also, use GST_FOURCC_ARGS
with GST_FOURCC_FORMAT.

18 years agoext/dvdread/dvdreadsrc.c: Error out properly if this is an interactive DVD (fixes...
Tim-Philipp Müller [Mon, 7 Aug 2006 16:25:45 +0000 (16:25 +0000)]
ext/dvdread/dvdreadsrc.c: Error out properly if this is an interactive DVD (fixes #345694).

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_goto_title):
Error out properly if this is an interactive DVD (fixes #345694).

18 years agoext/a52dec/gsta52dec.c: When the first_access is 1 or 0, we should copy the timestamp...
Jan Schmidt [Mon, 7 Aug 2006 16:18:33 +0000 (16:18 +0000)]
ext/a52dec/gsta52dec.c: When the first_access is 1 or 0, we should copy the timestamp from the incoming buffer if the...

Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_chain):
When the first_access is 1 or 0, we should copy the timestamp from
the incoming buffer if there is one.

18 years agoext/a52dec/gsta52dec.c: Use GST_ELEMENT_ERROR for error reporting; post errors in...
Tim-Philipp Müller [Mon, 7 Aug 2006 14:01:33 +0000 (14:01 +0000)]
ext/a52dec/gsta52dec.c: Use GST_ELEMENT_ERROR for error reporting; post errors in some more places; remove superfluou...

Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_channels), (gst_a52dec_push),
(gst_a52dec_reneg), (gst_a52dec_handle_frame), (gst_a52dec_chain):
Use GST_ELEMENT_ERROR for error reporting; post errors in some
more places; remove superfluous newlines from debug statements.

18 years agogst/dvdsub/gstdvdsubdec.c: which happens when you use macros that got changed during...
Frédéric Riss [Mon, 7 Aug 2006 09:17:01 +0000 (09:17 +0000)]
gst/dvdsub/gstdvdsubdec.c: which happens when you use macros that got changed during the last unstable cycle because ...

Original commit message from CVS:
Patch by: Frédéric Riss  <frederic.riss at gmail com>
* gst/dvdsub/gstdvdsubdec.c: (gst_send_subtitle_frame):
Don't set negative durations on outgoing buffers (#350044),
which happens when you use macros that got changed during
the last unstable cycle because they were thought not to
be used anywhere.

18 years agoext/dvdread/dvdreadsrc.*: Add basic support for time-based seeking; set timestamps...
Tim-Philipp Müller [Sun, 6 Aug 2006 19:47:40 +0000 (19:47 +0000)]
ext/dvdread/dvdreadsrc.*: Add basic support for time-based seeking; set timestamps on outgoing buffers if we have the...

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_stop),
(gst_dvd_read_src_goto_chapter),
(gst_dvd_read_src_get_chapter_starts),
(gst_dvd_read_src_goto_title), (gst_dvd_read_src_get_next_cell),
(gst_dvd_read_src_get_time_for_sector),
(gst_dvd_read_src_get_sector_from_time), (gst_dvd_read_src_read),
(gst_dvd_read_src_handle_seek_event), (gst_dvd_read_src_do_seek),
(gst_dvd_read_src_goto_sector):
* ext/dvdread/dvdreadsrc.h:
Add basic support for time-based seeking; set timestamps on
outgoing buffers if we have them; create table with
chapter to time mapping when opening a title; rename
gst_dvd_read_src_get_next_cell_for() to _get_next_cell() and
make it take an explicit pgc argument; fix up some debugging
messages so that title/chapter numbers are printed as starting
from 1 for easier readability.

18 years agogst/realmedia/: Factor out some code into rmutils.[ch]; when reading strings, don...
Tim-Philipp Müller [Fri, 4 Aug 2006 13:05:01 +0000 (13:05 +0000)]
gst/realmedia/: Factor out some code into rmutils.[ch]; when reading strings, don't read beyond the available data; r...

Original commit message from CVS:
* gst/realmedia/Makefile.am:
* gst/realmedia/rmdemux.c: (gst_rmdemux_parse_mdpr),
(gst_rmdemux_parse_cont):
* gst/realmedia/rmutils.c: (gst_rm_utils_read_string8),
(gst_rm_utils_read_string16), (gst_rm_utils_read_tags):
* gst/realmedia/rmutils.h:
Factor out some code into rmutils.[ch]; when reading
strings, don't read beyond the available data; read
metadata strings correctly (string length is 16 bits
here, not just 8).

18 years agoFix dist by including gst-libs/
Jan Schmidt [Mon, 31 Jul 2006 09:53:05 +0000 (09:53 +0000)]
Fix dist by including gst-libs/

Original commit message from CVS:
* Makefile.am:
* configure.ac:
* gst/asfdemux/gstasfdemux.c:
Fix dist by including gst-libs/

18 years agoMake custom error messages translatable.
Tim-Philipp Müller [Sat, 29 Jul 2006 11:20:30 +0000 (11:20 +0000)]
Make custom error messages translatable.

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (plugin_init):
* po/POTFILES.in:
Make custom error messages translatable.
* gst/asfdemux/gstasf.c: (plugin_init):
Remove setlocale() call, doesn't seem to be needed or recommended for
plugins, at least not according to gstreamer/docs/random/i18n.

18 years agogst/asfdemux/: Error out when the stream is encrypted (rather than feeding garbage...
Tim-Philipp Müller [Fri, 28 Jul 2006 15:15:15 +0000 (15:15 +0000)]
gst/asfdemux/: Error out when the stream is encrypted (rather than feeding garbage to the decoders). Fixes #349025.

Original commit message from CVS:
* gst/asfdemux/Makefile.am:
* gst/asfdemux/asfheaders.c:
* gst/asfdemux/asfheaders.h:
* gst/asfdemux/gstasf.c: (plugin_init):
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_object):
Error out when the stream is encrypted (rather than feeding
garbage to the decoders). Fixes #349025.

18 years agoAdd/enable autofoo magic for translations.
Tim-Philipp Müller [Fri, 28 Jul 2006 15:11:42 +0000 (15:11 +0000)]
Add/enable autofoo magic for translations.

Original commit message from CVS:
* Makefile.am:
* autogen.sh:
* configure.ac:
* po/POTFILES.in:
Add/enable autofoo magic for translations.

18 years agogst/realmedia/rmdemux.c: Don't leak streams, strings or caps. Get rid of unnecessary...
Tim-Philipp Müller [Fri, 28 Jul 2006 13:28:19 +0000 (13:28 +0000)]
gst/realmedia/rmdemux.c: Don't leak streams, strings or caps. Get rid of unnecessary getcaps() function.

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_reset),
(gst_rmdemux_change_state), (gst_rmdemux_add_stream),
(gst_rmdemux_parse_cont), (gst_rmdemux_descramble_cook_audio),
(gst_rmdemux_handle_scrambled_packet), (gst_rmdemux_parse_packet):
Don't leak streams, strings or caps. Get rid of unnecessary
getcaps() function.

18 years agogst/realmedia/rmdemux.c: Descramble cook audio streams before sending them to the...
Tim-Philipp Müller [Thu, 27 Jul 2006 20:34:25 +0000 (20:34 +0000)]
gst/realmedia/rmdemux.c: Descramble cook audio streams before sending them to the decoder. Fixes #347292.

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_class_init),
(gst_rmdemux_init), (gst_rmdemux_chain), (gst_rmdemux_add_stream),
(gst_rmdemux_parse_mdpr), (gst_rmdemux_parse_data),
(gst_rmdemux_stream_clear_cached_subpackets),
(gst_rmdemux_descramble_cook_audio),
(gst_rmdemux_descramble_dnet_audio),
(gst_rmdemux_handle_scrambled_packet), (gst_rmdemux_parse_packet):
Descramble cook audio streams before sending them to the
decoder. Fixes #347292.
Also miscellaneous clean-ups and log-level changes.

18 years agoext/lame/gstlame.c: Fix lame putting lots of 0's at start of mp3. Fixes bug #348786.
Zaheer Abbas Merali [Wed, 26 Jul 2006 17:09:04 +0000 (17:09 +0000)]
ext/lame/gstlame.c: Fix lame putting lots of 0's at start of mp3.  Fixes bug #348786.

Original commit message from CVS:
2006-07-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/lame/gstlame.c: (gst_lame_setup):
Fix lame putting lots of 0's at start of mp3.  Fixes bug #348786.

18 years agoext/sidplay/gstsiddec.*: Remove old metadata thing.
Wim Taymans [Fri, 21 Jul 2006 11:01:55 +0000 (11:01 +0000)]
ext/sidplay/gstsiddec.*: Remove old metadata thing.

Original commit message from CVS:
* ext/sidplay/gstsiddec.cc:
* ext/sidplay/gstsiddec.h:
Remove old metadata thing.

18 years agogst/asfdemux/gstasfdemux.c: Find language codes for audio streams if they are available.
Tim-Philipp Müller [Sat, 15 Jul 2006 13:33:38 +0000 (13:33 +0000)]
gst/asfdemux/gstasfdemux.c: Find language codes for audio streams if they are available.

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c:
(gst_asf_demux_get_ext_stream_props_for_stream),
(gst_asf_demux_add_audio_stream), (gst_asf_demux_change_state):
Find language codes for audio streams if they are available.

18 years agogst/asfdemux/: Parse extended stream properties objects and stream objects hidden...
Tim-Philipp Müller [Fri, 14 Jul 2006 13:02:53 +0000 (13:02 +0000)]
gst/asfdemux/: Parse extended stream properties objects and stream objects hidden inside them (but delay creation of ...

Original commit message from CVS:
* gst/asfdemux/asfheaders.h:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_get_obj_stream),
(gst_asf_demux_process_stream),
(gst_asf_demux_process_language_list),
(gst_asf_demux_process_ext_stream_props),
(gst_asf_demux_process_queued_extended_stream_objects),
(gst_asf_demux_process_object), (gst_asf_demux_change_state):
* gst/asfdemux/gstasfdemux.h:
Parse extended stream properties objects and stream objects
hidden inside them (but delay creation of the appropriate
pads until after all the 'normal' stream objects have been
dealt with) (#343763). Also parse language list object.

18 years agogst/realmedia/rmdemux.*: Cleanups, use GstSegment for seeking.
Wim Taymans [Thu, 13 Jul 2006 11:28:32 +0000 (11:28 +0000)]
gst/realmedia/rmdemux.*: Cleanups, use GstSegment for seeking.

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_class_init),
(gst_rmdemux_finalize), (gst_rmdemux_src_event),
(find_seek_offset_time), (gst_rmdemux_perform_seek),
(gst_rmdemux_src_query), (gst_rmdemux_change_state),
(gst_rmdemux_loop), (gst_rmdemux_chain), (gst_rmdemux_send_event),
(gst_rmdemux_add_stream), (gst_rmdemux_parse_mdpr),
(gst_rmdemux_combine_flows), (gst_rmdemux_parse_packet):
* gst/realmedia/rmdemux.h:
Cleanups, use GstSegment for seeking.
Fix error handling.
Combine flow return from all streams.

18 years agoext/cdio/gstcdiocddasrc.c: Remove g_assert that shouldn't be there.
Tim-Philipp Müller [Tue, 11 Jul 2006 22:46:47 +0000 (22:46 +0000)]
ext/cdio/gstcdiocddasrc.c: Remove g_assert that shouldn't be there.

Original commit message from CVS:
* ext/cdio/gstcdiocddasrc.c: (gst_cdio_cdda_src_close):
Remove g_assert that shouldn't be there.

18 years agoext/mpeg2dec/gstmpeg2dec.c: Fix refcounting when cropping. Fixes #341677.
Wim Taymans [Mon, 10 Jul 2006 11:52:58 +0000 (11:52 +0000)]
ext/mpeg2dec/gstmpeg2dec.c: Fix refcounting when cropping. Fixes #341677.

Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (crop_buffer), (handle_slice):
Fix refcounting when cropping. Fixes #341677.

18 years agogst/asfdemux/gstasfdemux.c: Fix typo. Closes #347029.
Grzegorz Lukasik [Sun, 9 Jul 2006 14:07:31 +0000 (14:07 +0000)]
gst/asfdemux/gstasfdemux.c: Fix typo. Closes #347029.

Original commit message from CVS:
Patch by: Grzegorz Lukasik <hauserx at gmail dot com>
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_add_video_stream),
(gst_asf_demux_process_segment):
Fix typo. Closes #347029.

18 years agogst/asfdemux/gstasfdemux.c: Skip chunks for unknown streams properly. Fixes broken...
Tim-Philipp Müller [Sat, 8 Jul 2006 20:29:56 +0000 (20:29 +0000)]
gst/asfdemux/gstasfdemux.c: Skip chunks for unknown streams properly. Fixes broken sound and/or video for files that ...

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_chunk):
Skip chunks for unknown streams properly. Fixes broken sound
and/or video for files that have additional streams that
we don't recognise yet (e.g. if they are embedded in extended
stream properties). Partly fixes #343763.

18 years agogst/asfdemux/: Add some more GUIDs and make debug log more readable and easier to...
Tim-Philipp Müller [Fri, 7 Jul 2006 19:26:40 +0000 (19:26 +0000)]
gst/asfdemux/: Add some more GUIDs and make debug log more readable and easier to follow when parsing the headers.

Original commit message from CVS:
* gst/asfdemux/asfheaders.c:
* gst/asfdemux/asfheaders.h:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_identify_guid),
(gst_asf_demux_process_header), (gst_asf_demux_push_obj),
(gst_asf_demux_pop_obj), (gst_asf_demux_process_object),
(gst_asf_demux_change_state):
* gst/asfdemux/gstasfdemux.h:
Add some more GUIDs and make debug log more readable
and easier to follow when parsing the headers.

18 years agoext/dvdread/dvdreadsrc.*: Rewrite seeking code and make seeking in DVDs work (#337834).
Tim-Philipp Müller [Fri, 30 Jun 2006 11:26:22 +0000 (11:26 +0000)]
ext/dvdread/dvdreadsrc.*: Rewrite seeking code and make seeking in DVDs work (#337834).

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_init),
(gst_dvd_read_src_is_seekable), (gst_dvd_read_src_class_init),
(gst_dvd_read_src_stop), (gst_dvd_read_src_goto_title),
(gst_dvd_read_src_create), (gst_dvd_read_src_handle_seek_event),
(gst_dvd_read_src_do_seek), (gst_dvd_read_src_src_event):
* ext/dvdread/dvdreadsrc.h:
Rewrite seeking code and make seeking in DVDs work (#337834).

18 years agoautogen.sh: Check for automake-1.9 as well.
Tim-Philipp Müller [Thu, 29 Jun 2006 14:31:55 +0000 (14:31 +0000)]
autogen.sh: Check for automake-1.9 as well.

Original commit message from CVS:
* autogen.sh:
Check for automake-1.9 as well.

18 years agoext/dvdread/dvdreadsrc.c: Make check stronger.
Tim-Philipp Müller [Thu, 29 Jun 2006 12:25:15 +0000 (12:25 +0000)]
ext/dvdread/dvdreadsrc.c: Make check stronger.

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_is_nav_pack):
Make check stronger.

18 years agogst/asfdemux/gstasfdemux.*: Handle unknown codec IDs/fourccs properly (#345879);...
Tim-Philipp Müller [Wed, 28 Jun 2006 11:20:03 +0000 (11:20 +0000)]
gst/asfdemux/gstasfdemux.*: Handle unknown codec IDs/fourccs properly (#345879); send tag events after newsegment eve...

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_setup_pad),
(gst_asf_demux_add_audio_stream), (gst_asf_demux_add_video_stream),
(gst_asf_demux_push_buffer):
* gst/asfdemux/gstasfdemux.h:
Handle unknown codec IDs/fourccs properly (#345879); send tag
events after newsegment event; fix use of GST_FOURCC_FORMAT
macro.

18 years agoext/a52dec/gsta52dec.c: Call the channel positions get_type() method in plugin_init...
Jan Schmidt [Fri, 23 Jun 2006 16:29:41 +0000 (16:29 +0000)]
ext/a52dec/gsta52dec.c: Call the channel positions get_type() method in plugin_init to ensure that it isn't simultane...

Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (plugin_init):
Call the channel positions get_type() method in plugin_init
to ensure that it isn't simultaneously called later from
multiple threads.

18 years agogst/mpegstream/: Also flush packetizer cache when we get a buffer that has the
Tim-Philipp Müller [Fri, 23 Jun 2006 12:24:56 +0000 (12:24 +0000)]
gst/mpegstream/: Also flush packetizer cache when we get a buffer that has the

Original commit message from CVS:
* gst/mpegstream/gstmpegpacketize.c:
(gst_mpeg_packetize_flush_cache), (gst_mpeg_packetize_put):
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_chain):
Also flush packetizer cache when we get a buffer that has the
DISCONT flag set; update current byte position from buffer
offset after a flush.

18 years agogst/mpegstream/: Flush packetizer cache when we get a FLUSH_STOP event; remove unused...
Tim-Philipp Müller [Fri, 23 Jun 2006 11:22:04 +0000 (11:22 +0000)]
gst/mpegstream/: Flush packetizer cache when we get a FLUSH_STOP event; remove unused source pad member from packetiz...

Original commit message from CVS:
* gst/mpegstream/gstmpegpacketize.c: (gst_mpeg_packetize_new),
(gst_mpeg_packetize_flush_cache), (gst_mpeg_packetize_destroy),
(gst_mpeg_packetize_read):
* gst/mpegstream/gstmpegpacketize.h:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_process_event),
(gst_mpeg_parse_change_state):
Flush packetizer cache when we get a FLUSH_STOP event;
remove unused source pad member from packetizer; add debug
category for packetizer.

18 years agoext/a52dec/gsta52dec.c: Treat dual-mono as stereo. It should really be output on...
Jan Schmidt [Fri, 23 Jun 2006 09:28:28 +0000 (09:28 +0000)]
ext/a52dec/gsta52dec.c: Treat dual-mono as stereo. It should really be output on 2 separate pads, but isn't for now.

Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_channels), (plugin_init):
Treat dual-mono as stereo. It should really be output on 2 separate
pads, but isn't for now.

18 years agoext/mpeg2dec/gstmpeg2dec.c: Assume 4:3 DAR rather than 4:3 PAR (#345184).
Tim-Philipp Müller [Mon, 19 Jun 2006 15:16:43 +0000 (15:16 +0000)]
ext/mpeg2dec/gstmpeg2dec.c: Assume 4:3 DAR rather than 4:3 PAR (#345184).

Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_negotiate_format):
Assume 4:3 DAR rather than 4:3 PAR (#345184).

18 years agoext/mpeg2dec/gstmpeg2dec.c: Assume pixel-aspect-ratio of 4:3 if libmpeg2dec doesn...
Tim-Philipp Müller [Mon, 19 Jun 2006 11:59:14 +0000 (11:59 +0000)]
ext/mpeg2dec/gstmpeg2dec.c: Assume pixel-aspect-ratio of 4:3 if libmpeg2dec doesn't give us any PAR whatsoever (rathe...

Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_negotiate_format):
Assume pixel-aspect-ratio of 4:3 if libmpeg2dec doesn't give us
any PAR whatsoever (rather than using 0/0, which will lead to
an abort later on). Fixes #345184.

18 years agoext/mad/gstmad.c: Send newsegment event before calling gst_pad_alloc_buffer_and_set_c...
Michael Dominic K [Sat, 17 Jun 2006 19:35:41 +0000 (19:35 +0000)]
ext/mad/gstmad.c: Send newsegment event before calling gst_pad_alloc_buffer_and_set_caps(), makes mad behave better i...

Original commit message from CVS:
Patch by: Michael Dominic K.  < mdk at mdk org pl>
* ext/mad/gstmad.c: (gst_mad_chain):
Send newsegment event before calling
gst_pad_alloc_buffer_and_set_caps(), makes mad behave better
in connection with pad blocking (#342594). While we're at it,
do some minor clean-ups.

18 years agoconfigure.ac: Fix --disable-external (can't set conditionals conditionally, #343602).
Tim-Philipp Müller [Sat, 17 Jun 2006 14:48:04 +0000 (14:48 +0000)]
configure.ac: Fix --disable-external (can't set conditionals conditionally, #343602).

Original commit message from CVS:
* configure.ac:
Fix --disable-external (can't set conditionals conditionally,
#343602).

18 years agoext/a52dec/Makefile.am: ... and then he said "When you go and fix the build you bette...
Tim-Philipp Müller [Thu, 15 Jun 2006 17:10:09 +0000 (17:10 +0000)]
ext/a52dec/Makefile.am: ... and then he said "When you go and fix the build you better make sure you have some spare ...

Original commit message from CVS:
* ext/a52dec/Makefile.am:
... and then he said "When you go and fix the build you
better make sure you have some spare backslashes in your
pocket".

18 years agoext/sidplay/gstsiddec.cc: Fix copyright, email addresses and descriptions.
Wim Taymans [Tue, 13 Jun 2006 15:46:09 +0000 (15:46 +0000)]
ext/sidplay/gstsiddec.cc: Fix copyright, email addresses and descriptions.

Original commit message from CVS:
* ext/sidplay/gstsiddec.cc:
Fix copyright, email addresses and descriptions.
Use saner defaults for arguments. Fixes #344667.
constify some stuff.
Fix memleaks.
Add tags.
Fix negotiation to do mono/44100 by default.
Post error messages.
Use _scale_int where possible.

18 years agoext/dvdnav/.cvsignore: More ignore
Wim Taymans [Mon, 12 Jun 2006 14:09:20 +0000 (14:09 +0000)]
ext/dvdnav/.cvsignore: More ignore

Original commit message from CVS:
* ext/dvdnav/.cvsignore:
More ignore

18 years agotests/check/elements/amrnbenc.c: Init memory before feeding it to the encoder to...
Wim Taymans [Mon, 12 Jun 2006 13:49:42 +0000 (13:49 +0000)]
tests/check/elements/amrnbenc.c: Init memory before feeding it to the encoder to make the valgrind test succeed.

Original commit message from CVS:
* tests/check/elements/amrnbenc.c: (push_data):
Init memory before feeding it to the encoder to make
the valgrind test succeed.

18 years agogst/asfdemux/.cvsignore: More ignore
Edward Hervey [Mon, 12 Jun 2006 13:27:18 +0000 (13:27 +0000)]
gst/asfdemux/.cvsignore: More ignore

Original commit message from CVS:
* gst/asfdemux/.cvsignore:
More ignore

18 years ago.cvsignore: Ignore files generated by 'make dist'.
Tim-Philipp Müller [Sun, 11 Jun 2006 20:38:54 +0000 (20:38 +0000)]
.cvsignore: Ignore files generated by 'make dist'.

Original commit message from CVS:
* .cvsignore:
Ignore files generated by 'make dist'.

18 years agoupdate build files
Thomas Vander Stichele [Sun, 11 Jun 2006 17:08:11 +0000 (17:08 +0000)]
update build files

Original commit message from CVS:
* autogen.sh:
* configure.ac:
* ext/a52dec/Makefile.am:
* ext/dvdnav/Makefile.am:
* ext/dvdread/Makefile.am:
* ext/lame/Makefile.am:
* ext/mad/Makefile.am:
* ext/mpeg2dec/Makefile.am:
* ext/sidplay/Makefile.am:
update build files

18 years agoautogen.sh: require am17
Thomas Vander Stichele [Sun, 11 Jun 2006 13:57:18 +0000 (13:57 +0000)]
autogen.sh: require am17

Original commit message from CVS:

* autogen.sh:
require am17
* configure.ac:
* ext/annodex/Makefile.am:
* ext/cdio/Makefile.am:
* ext/dv/Makefile.am:
* ext/esd/Makefile.am:
* ext/flac/Makefile.am:
* ext/gdk_pixbuf/Makefile.am:
* ext/ladspa/Makefile.am:
* ext/libcaca/Makefile.am:
* ext/speex/Makefile.am:
* ext/taglib/Makefile.am:
* sys/oss/Makefile.am:
* sys/sunaudio/Makefile.am:
* sys/ximage/Makefile.am:
clean up build further

18 years agoext/mpeg2dec/gstmpeg2dec.*: Simplify and don't leak our buffer pool.
Wim Taymans [Wed, 7 Jun 2006 17:05:48 +0000 (17:05 +0000)]
ext/mpeg2dec/gstmpeg2dec.*: Simplify and don't leak our buffer pool.

Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_finalize),
(gst_mpeg2dec_reset), (clear_buffers), (handle_picture),
(gst_mpeg2dec_sink_convert), (gst_mpeg2dec_src_convert),
(gst_mpeg2dec_change_state):
* ext/mpeg2dec/gstmpeg2dec.h:
Simplify and don't leak our buffer pool.
Use _scale_int.
Remove unfixed bug number from previous ChangeLog entry.

18 years agoext/mpeg2dec/gstmpeg2dec.*: Fix padtemplate as we can now do fractional framerates.
Wim Taymans [Wed, 7 Jun 2006 16:15:42 +0000 (16:15 +0000)]
ext/mpeg2dec/gstmpeg2dec.*: Fix padtemplate as we can now do fractional framerates.

Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_base_init),
(gst_mpeg2dec_class_init), (gst_mpeg2dec_init),
(gst_mpeg2dec_finalize), (gst_mpeg2dec_reset),
(gst_mpeg2dec_qos_reset), (gst_mpeg2dec_alloc_buffer),
(gst_mpeg2dec_negotiate_format), (init_dummybuf),
(handle_sequence), (handle_picture), (handle_slice),
(gst_mpeg2dec_chain), (gst_mpeg2dec_sink_event),
(gst_mpeg2dec_src_event), (gst_mpeg2dec_change_state):
* ext/mpeg2dec/gstmpeg2dec.h:
Fix padtemplate as we can now do fractional framerates.
Small cleanups.
Use GstSegment.
Add simple frame dropping QoS.
Precalc buffer output sizes and UV offsets.
Always give libmpeg2 a valid fbuf when it wants one.
don't trust libmpeg to discard our buffers but manage it
ourselves.
Fixes #343627, #327350, #335288

18 years agowin32/MANIFEST: Add a manifest for futures ugly win32 releases.
Sébastien Moutte [Mon, 5 Jun 2006 20:57:12 +0000 (20:57 +0000)]
win32/MANIFEST: Add a manifest for futures ugly win32 releases.

Original commit message from CVS:
* win32/MANIFEST:
Add a manifest for futures ugly win32 releases.
* gst/iec958/ac3iec.c: (ac3iec_chain_raw):
Move bufcaps declaration at the begining of the instructions
block.

18 years agoFix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
Stefan Kost [Thu, 1 Jun 2006 22:00:26 +0000 (22:00 +0000)]
Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass

Original commit message from CVS:
* ext/alsaspdif/alsaspdifsink.h:
* ext/amrwb/gstamrwbdec.h:
* ext/amrwb/gstamrwbenc.h:
* ext/amrwb/gstamrwbparse.h:
* ext/arts/gst_arts.h:
* ext/artsd/gstartsdsink.h:
* ext/audiofile/gstafparse.h:
* ext/audiofile/gstafsink.h:
* ext/audiofile/gstafsrc.h:
* ext/audioresample/gstaudioresample.h:
* ext/bz2/gstbz2dec.h:
* ext/bz2/gstbz2enc.h:
* ext/dirac/gstdiracdec.h:
* ext/directfb/dfbvideosink.h:
* ext/divx/gstdivxdec.h:
* ext/divx/gstdivxenc.h:
* ext/dts/gstdtsdec.h:
* ext/faac/gstfaac.h:
* ext/gsm/gstgsmdec.h:
* ext/gsm/gstgsmenc.h:
* ext/ivorbis/vorbisenc.h:
* ext/libfame/gstlibfame.h:
* ext/nas/nassink.h:
* ext/neon/gstneonhttpsrc.h:
* ext/polyp/polypsink.h:
* ext/sdl/sdlaudiosink.h:
* ext/sdl/sdlvideosink.h:
* ext/shout/gstshout.h:
* ext/snapshot/gstsnapshot.h:
* ext/sndfile/gstsf.h:
* ext/swfdec/gstswfdec.h:
* ext/tarkin/gsttarkindec.h:
* ext/tarkin/gsttarkinenc.h:
* ext/theora/theoradec.h:
* ext/wavpack/gstwavpackdec.h:
* ext/wavpack/gstwavpackparse.h:
* ext/xine/gstxine.h:
* ext/xvid/gstxviddec.h:
* ext/xvid/gstxvidenc.h:
* gst/cdxaparse/gstcdxaparse.h:
* gst/cdxaparse/gstcdxastrip.h:
* gst/colorspace/gstcolorspace.h:
* gst/festival/gstfestival.h:
* gst/freeze/gstfreeze.h:
* gst/gdp/gstgdpdepay.h:
* gst/gdp/gstgdppay.h:
* gst/modplug/gstmodplug.h:
* gst/mpeg1sys/gstmpeg1systemencode.h:
* gst/mpeg1videoparse/gstmp1videoparse.h:
* gst/mpeg2sub/gstmpeg2subt.h:
* gst/mpegaudioparse/gstmpegaudioparse.h:
* gst/multifilesink/gstmultifilesink.h:
* gst/overlay/gstoverlay.h:
* gst/playondemand/gstplayondemand.h:
* gst/qtdemux/qtdemux.h:
* gst/rtjpeg/gstrtjpegdec.h:
* gst/rtjpeg/gstrtjpegenc.h:
* gst/smooth/gstsmooth.h:
* gst/smoothwave/gstsmoothwave.h:
* gst/spectrum/gstspectrum.h:
* gst/speed/gstspeed.h:
* gst/stereo/gststereo.h:
* gst/switch/gstswitch.h:
* gst/tta/gstttadec.h:
* gst/tta/gstttaparse.h:
* gst/videodrop/gstvideodrop.h:
* gst/xingheader/gstxingmux.h:
* sys/directdraw/gstdirectdrawsink.h:
* sys/directsound/gstdirectsoundsink.h:
* sys/dxr3/dxr3audiosink.h:
* sys/dxr3/dxr3spusink.h:
* sys/dxr3/dxr3videosink.h:
* sys/qcam/gstqcamsrc.h:
* sys/vcd/vcdsrc.h:
Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass

18 years agoFix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
Stefan Kost [Thu, 1 Jun 2006 21:11:41 +0000 (21:11 +0000)]
Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass

Original commit message from CVS:
* ext/a52dec/gsta52dec.h:
* ext/amrnb/amrnbdec.h:
* ext/amrnb/amrnbenc.h:
* ext/amrnb/amrnbparse.h:
* ext/mpeg2dec/gstmpeg2dec.h:
* ext/sidplay/gstsiddec.h:
* gst/ac3parse/gstac3parse.h:
* gst/asfdemux/gstasfdemux.h:
* gst/asfdemux/gstasfmux.h:
* gst/dvdlpcmdec/gstdvdlpcmdec.h:
* gst/iec958/ac3iec.h:
* gst/mpegaudioparse/gstmpegaudioparse.h:
* gst/mpegstream/gstdvddemux.h:
* gst/mpegstream/gstmpegclock.h:
* gst/mpegstream/gstmpegdemux.h:
* gst/mpegstream/gstmpegparse.h:
Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass

18 years agoREADME: Replace current README (containing the release notes from some 0.9.x version...
Tim-Philipp Müller [Sat, 27 May 2006 11:35:11 +0000 (11:35 +0000)]
README: Replace current README (containing the release notes from some 0.9.x version) with a proper README taken from...

Original commit message from CVS:
* README:
Replace current README (containing the release notes from
some 0.9.x version) with a proper README taken from the core.

18 years agoext/amrnb/: Sortof first quick cleanup of all this mess...
Wim Taymans [Wed, 24 May 2006 15:56:13 +0000 (15:56 +0000)]
ext/amrnb/: Sortof first quick cleanup of all this mess...

Original commit message from CVS:
* ext/amrnb/amrnbdec.c: (gst_amrnbdec_event), (gst_amrnbdec_chain):
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_init),
(gst_amrnbparse_sink_event), (gst_amrnbparse_chain),
(gst_amrnbparse_sink_activate), (gst_amrnbparse_state_change):
* ext/amrnb/amrnbparse.h:
Sortof first quick cleanup of all this mess...
Don't crap out on empty and invalid FTs but treat them as
empty packets, the decoder handles them fine.
Fixes #342222.

18 years agogst/asfdemux/gstasf.c: Call gst_riff_init() so the riff debug category gets set up...
Tim-Philipp Müller [Mon, 22 May 2006 08:24:09 +0000 (08:24 +0000)]
gst/asfdemux/gstasf.c: Call gst_riff_init() so the riff debug category gets set up before it is being used.

Original commit message from CVS:
* gst/asfdemux/gstasf.c: (plugin_init):
Call gst_riff_init() so the riff debug category gets set up
before it is being used.

18 years agogst/iec958/: Write rate into the caps, for the allowed ac3 rates. Some minor cleanups.
Michael Smith [Fri, 19 May 2006 13:55:11 +0000 (13:55 +0000)]
gst/iec958/: Write rate into the caps, for the allowed ac3 rates. Some minor cleanups.

Original commit message from CVS:
* gst/iec958/ac3_padder.c: (ac3p_parse):
* gst/iec958/ac3_padder.h:
* gst/iec958/ac3iec.c: (ac3iec_init), (ac3iec_set_property),
(ac3iec_chain_raw), (ac3iec_change_state):
* gst/iec958/ac3iec.h:
Write rate into the caps, for the allowed ac3 rates. Some minor
cleanups.

18 years agoext/mad/gstid3tag.c: Do tag merging correctly (#339918). Output taglists properly...
James Doc Livingston [Thu, 18 May 2006 13:00:21 +0000 (13:00 +0000)]
ext/mad/gstid3tag.c: Do tag merging correctly (#339918). Output taglists properly in debug statements too while we're...

Original commit message from CVS:
Patch by: James "Doc" Livingston  <doclivingston gmail com>
* ext/mad/gstid3tag.c: (gst_id3_tag_get_tag_to_render):
Do tag merging correctly (#339918). Output taglists
properly in debug statements too while we're at it.

18 years agoext/a52dec/gsta52dec.c: Add more debug
Jan Schmidt [Thu, 11 May 2006 16:17:44 +0000 (16:17 +0000)]
ext/a52dec/gsta52dec.c: Add more debug

Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_chain):
Add more debug
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcm_reset),
(gst_dvdlpcmdec_init), (update_timestamps),
(gst_dvdlpcmdec_chain_dvd), (gst_dvdlpcmdec_chain_raw),
(dvdlpcmdec_sink_event):
* gst/dvdlpcmdec/gstdvdlpcmdec.h:
If we have a first_access offset but no current timestamp (might
happen after a seek), then calculate a start time for the first
portion so that it will align with the timestamp given for the
first_access portion.
If a new-segment arrives with format time, store the start
time as a failsafe timestamp in case we never get any further
timestamp info (unlikely)
Mask out the 'frame number' section of the incoming header so
that we don't consider it to be changing on every buffer and
reset the caps constantly.
Use gst_util_uint64_scale for duration calculation

18 years agogst/dvdlpcmdec/gstdvdlpcmdec.c: Fix timestamping for cases where the first_access...
Michael Smith [Thu, 11 May 2006 14:34:10 +0000 (14:34 +0000)]
gst/dvdlpcmdec/gstdvdlpcmdec.c: Fix timestamping for cases where the first_access parameter is 4.

Original commit message from CVS:
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcmdec_chain_dvd):
Fix timestamping for cases where the first_access parameter is 4.
Ensure we don't overrun buffers in other cases.