platform/upstream/gstreamer.git
17 years agogst/mpegaudioparse/gstmpegaudioparse.c: All sample-rates < 32khz come from the LSF...
Jan Schmidt [Fri, 29 Dec 2006 14:51:19 +0000 (14:51 +0000)]
gst/mpegaudioparse/gstmpegaudioparse.c: All sample-rates < 32khz come from the LSF extensions, which only use 1 granu...

Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_chain):
All sample-rates < 32khz come from the LSF extensions, which only
use 1 granule. Fixes parsing of 22.05khz, 24khz and 16khz files.
Use gst_util_uint64_scale because we can.

17 years agotests/check/elements/amrnbenc.c: and fix compilation of this test
Stefan Kost [Fri, 22 Dec 2006 13:06:24 +0000 (13:06 +0000)]
tests/check/elements/amrnbenc.c: and fix compilation of this test

Original commit message from CVS:
* tests/check/elements/amrnbenc.c: (setup_amrnbenc),
(cleanup_amrnbenc):
and fix compilation of this test

17 years agotests/check/elements/: re-apply as it was -bad and not -ugly that is frozen, doh
Stefan Kost [Fri, 22 Dec 2006 12:41:52 +0000 (12:41 +0000)]
tests/check/elements/: re-apply as it was -bad and not -ugly that is frozen, doh

Original commit message from CVS:
* tests/check/elements/amrnbenc.c: (setup_amrnbenc),
(cleanup_amrnbenc):
* tests/check/elements/mpeg2dec.c: (setup_mpeg2dec),
(cleanup_mpeg2dec):
re-apply as it was -bad and not -ugly that is frozen, doh

17 years agotests/check/elements/: revert my freeze breakage
Stefan Kost [Thu, 21 Dec 2006 12:50:00 +0000 (12:50 +0000)]
tests/check/elements/: revert my freeze breakage

Original commit message from CVS:
* tests/check/elements/amrnbenc.c: (setup_amrnbenc),
(cleanup_amrnbenc):
* tests/check/elements/mpeg2dec.c: (setup_mpeg2dec),
(cleanup_mpeg2dec):
revert my freeze breakage

17 years agogst/asfdemux/gstasfdemux.c: add a comment about a future change
Stefan Kost [Thu, 21 Dec 2006 08:16:41 +0000 (08:16 +0000)]
gst/asfdemux/gstasfdemux.c: add a comment about a future change

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):
add a comment about a future change
* tests/check/elements/amrnbenc.c: (setup_amrnbenc),
(cleanup_amrnbenc):
* tests/check/elements/mpeg2dec.c: (setup_mpeg2dec),
(cleanup_mpeg2dec):
consistent pad (de)activation

17 years agogst/asfdemux/gstasfdemux.c: Update query_types function too.
Tim-Philipp Müller [Fri, 15 Dec 2006 18:26:41 +0000 (18:26 +0000)]
gst/asfdemux/gstasfdemux.c: Update query_types function too.

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_get_src_query_types):
Update query_types function too.

17 years agogst/realmedia/rmdemux.c: Implement SEEKING query, make query function thread-safe.
Tim-Philipp Müller [Fri, 15 Dec 2006 18:25:17 +0000 (18:25 +0000)]
gst/realmedia/rmdemux.c: Implement SEEKING query, make query function thread-safe.

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_src_query),
(gst_rmdemux_src_query_types):
Implement SEEKING query, make query function thread-safe.

17 years agogst/realmedia/rmdemux.c: Use alignment-safe macros here too (subbuffers ...); guard...
Tim-Philipp Müller [Fri, 15 Dec 2006 17:59:47 +0000 (17:59 +0000)]
gst/realmedia/rmdemux.c: Use alignment-safe macros here too (subbuffers ...); guard against hypothetical memory acces...

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_descramble_dnet_audio):
Use alignment-safe macros here too (subbuffers ...); guard against
hypothetical memory access beyond our given buffer in the case
where the buffer size is not a multiple of 2.

17 years agogst/asfdemux/gstasfdemux.*: Don't crash in the seek event handling code when playtime...
Tim-Philipp Müller [Fri, 15 Dec 2006 17:54:48 +0000 (17:54 +0000)]
gst/asfdemux/gstasfdemux.*: Don't crash in the seek event handling code when playtime is 0, as may be the case with l...

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_handle_seek_event),
(gst_asf_demux_process_data), (gst_asf_demux_process_file),
(gst_asf_demux_handle_src_query), (gst_asf_demux_change_state):
* gst/asfdemux/gstasfdemux.h:
Don't crash in the seek event handling code when playtime is 0,
as may be the case with live streams (#386218). Implement SEEKING
query so applications can query seekability without second-guessing
based on whether we have a duration or not.

17 years agoadd doap file
Thomas Vander Stichele [Fri, 15 Dec 2006 11:12:21 +0000 (11:12 +0000)]
add doap file

Original commit message from CVS:
* Makefile.am:
* gst-plugins-ugly.doap:
* gst-plugins-ugly.spec.in:
add doap file

17 years agogst/mpegstream/gstmpegparse.c: Use our alignment-safe macros here too, since we can...
Tim-Philipp Müller [Thu, 14 Dec 2006 12:05:49 +0000 (12:05 +0000)]
gst/mpegstream/gstmpegparse.c: Use our alignment-safe macros here too, since we can't assume that

Original commit message from CVS:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_parse_packhead):
Use our alignment-safe macros here too, since we can't assume that
GST_BUFFER_DATA is aligned (these are subbuffers we're dealing with
here).

17 years agogst/realmedia/rmdemux.c: Also, don't read the index for a stream a second time when...
Tim-Philipp Müller [Thu, 14 Dec 2006 11:49:39 +0000 (11:49 +0000)]
gst/realmedia/rmdemux.c: Also, don't read the index for a stream a second time when operating in pull-mode and reachi...

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_parse_indx_data):
Also, don't read the index for a stream a second time when
operating in pull-mode and reaching the end of the file.

17 years agogst/realmedia/rmdemux.c: Don't leak stream index (#385292).
Roland Kay [Thu, 14 Dec 2006 11:25:00 +0000 (11:25 +0000)]
gst/realmedia/rmdemux.c: Don't leak stream index (#385292).

Original commit message from CVS:
Patch by: Roland Kay  <roland.kay at ox compsoc net>
* gst/realmedia/rmdemux.c: (gst_rmdemux_reset):
Don't leak stream index (#385292).

17 years agoext/lame/gstlame.*: Fix leak (by calling lame_init_params() before lame_close())...
Roland Kay [Thu, 14 Dec 2006 10:15:24 +0000 (10:15 +0000)]
ext/lame/gstlame.*: Fix leak (by calling lame_init_params() before lame_close()); handle

Original commit message from CVS:
Based on patch by: Roland Kay  <roland.kay at ox compsoc net>
* ext/lame/gstlame.c: (gst_lame_init), (gst_lame_chain),
(gst_lame_setup):
* ext/lame/gstlame.h:
Fix leak (by calling lame_init_params() before lame_close()); handle
NULL return from lame_init() more gracefully. Fixes #385311.

17 years agoconfigure.ac: Back to CVS
Jan Schmidt [Thu, 14 Dec 2006 09:57:12 +0000 (09:57 +0000)]
configure.ac: Back to CVS

Original commit message from CVS:
* configure.ac:
Back to CVS

17 years agoRelease 0.10.5
Jan Schmidt [Wed, 13 Dec 2006 21:04:12 +0000 (21:04 +0000)]
Release 0.10.5

Original commit message from CVS:
Release 0.10.5

17 years agogst/mpegstream/gstmpegparse.c: Use the GST_READ macro I meant to in the previous...
David Schleef [Tue, 12 Dec 2006 21:09:16 +0000 (21:09 +0000)]
gst/mpegstream/gstmpegparse.c: Use the GST_READ macro I meant to in the previous checkin.  see #385192.  You can have...

Original commit message from CVS:
* gst/mpegstream/gstmpegparse.c: Use the GST_READ macro I meant
to in the previous checkin.  see #385192.  You can have your
cheese back now.

17 years agogst/mpegstream/gstmpegparse.c: Fix unaligned load that loads from the dereferenced...
David Schleef [Tue, 12 Dec 2006 20:56:58 +0000 (20:56 +0000)]
gst/mpegstream/gstmpegparse.c: Fix unaligned load that loads from the dereferenced integer, not the pointer itself.  ...

Original commit message from CVS:
* gst/mpegstream/gstmpegparse.c: Fix unaligned load that loads
from the dereferenced integer, not the pointer itself.  Fixes
#385192.
I'm takin ur cheese!

17 years agoChangeLog surgery: fix bug number
Tim-Philipp Müller [Tue, 12 Dec 2006 10:29:32 +0000 (10:29 +0000)]
ChangeLog surgery: fix bug number

Original commit message from CVS:
ChangeLog surgery: fix bug number

17 years agogst/realmedia/rmdemux.c: For version 4 streams, read the extra codec data size from...
Roland Kay [Tue, 12 Dec 2006 10:24:40 +0000 (10:24 +0000)]
gst/realmedia/rmdemux.c: For version 4 streams, read the extra codec data size from the header instead of assuming it...

Original commit message from CVS:
Based on patch by: Roland Kay  <roland.kay at ox compsoc net>
* gst/realmedia/rmdemux.c: (gst_rmdemux_parse_mdpr):
For version 4 streams, read the extra codec data size from the
header instead of assuming it is always 16 (also read it from the
right position) (#384989). For version 4 and 5 streams, check that
the specified extra codec data size doesn't make us read beyond the
chunk boundary (#384989).

17 years agoUpdate .po files
Jan Schmidt [Sun, 10 Dec 2006 21:27:03 +0000 (21:27 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

17 years agoext/mpeg2dec/gstmpeg2dec.c: Cosmetic changes: fix misleading debug statement, update...
Tim-Philipp Müller [Tue, 21 Nov 2006 12:33:25 +0000 (12:33 +0000)]
ext/mpeg2dec/gstmpeg2dec.c: Cosmetic changes: fix misleading debug statement, update comment, add cast.

Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_alloc_sized_buf):
Cosmetic changes: fix misleading debug statement, update
comment, add cast.

17 years agoext/mpeg2dec/gstmpeg2dec.*: Align buffers to a 16 byte boundary so the altivec optimi...
Sebastian Dröge [Tue, 21 Nov 2006 12:15:58 +0000 (12:15 +0000)]
ext/mpeg2dec/gstmpeg2dec.*: Align buffers to a 16 byte boundary so the altivec optimisations don't crash. Fixes #327350.

Original commit message from CVS:
Patch by: Sebastian Dröge  <slomo@circular-chaos.org>
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_init),
(gst_mpeg2dec_reset), (gst_mpeg2dec_alloc_sized_buf),
(gst_mpeg2dec_alloc_buffer), (init_dummybuf), (handle_slice):
* ext/mpeg2dec/gstmpeg2dec.h:
Align buffers to a 16 byte boundary so the altivec optimisations
don't crash. Fixes #327350.

17 years agogst/asfdemux/gstasfdemux.c: The availability of extra codec data isn't something...
Tim-Philipp Müller [Mon, 20 Nov 2006 15:52:42 +0000 (15:52 +0000)]
gst/asfdemux/gstasfdemux.c: The availability of extra codec data isn't something that warrants debug messages at WARN...

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_add_audio_stream):
The availability of extra codec data isn't something that
warrants debug messages at WARNING level (see #376958).

17 years agogst/mpegstream/: Fix flow value combination; this fixes playbin/totem locking up...
Tim-Philipp Müller [Sun, 19 Nov 2006 13:08:30 +0000 (13:08 +0000)]
gst/mpegstream/: Fix flow value combination; this fixes playbin/totem locking up if a VobSub file is specified as sub...

Original commit message from CVS:
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_base_init),
(gst_dvd_demux_class_init), (gst_dvd_demux_combine_flows),
(gst_dvd_demux_send_subbuffer):
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_class_init),
(gst_mpeg_demux_init_stream), (gst_mpeg_demux_parse_packet),
(gst_mpeg_demux_parse_pes), (gst_mpeg_demux_combine_flows),
(gst_mpeg_demux_send_subbuffer):
* gst/mpegstream/gstmpegdemux.h:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_process_event),
(gst_mpeg_parse_chain):
Fix flow value combination; this fixes playbin/totem locking up if
a VobSub file is specified as subtitle file (#334322). Flow value
combination should only happen once we are fairly sure we've got all
pads that are available for now. Since there isn't a well-specified
time when this is the case in MPEG, we'll just assume this is the
case once there has been a certain number of packets for each
stream we've found so far.

17 years agoext/mpeg2dec/gstmpeg2dec.c: Simplify the framerate code and support more framerates...
Jan Arne Petersen [Wed, 15 Nov 2006 13:57:21 +0000 (13:57 +0000)]
ext/mpeg2dec/gstmpeg2dec.c: Simplify the framerate code and support more framerates. Fixes #361584.

Original commit message from CVS:
Patch by: Jan Arne Petersen <jpetersen at jpetersen dot org>
* ext/mpeg2dec/gstmpeg2dec.c: (handle_sequence), (handle_slice):
Simplify the framerate code and support more framerates. Fixes #361584.

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.

18 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.

18 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.

18 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).

18 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.

18 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.

18 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).

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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).

18 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

18 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

18 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

18 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)

18 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)

18 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.

18 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.

18 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.

18 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

18 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).

18 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).

18 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).

18 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.

18 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

18 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.