platform/upstream/gstreamer.git
17 years agoext/ogg/gstoggdemux.c: Implement SEEKING query in its most basic form, so that we...
Tim-Philipp Müller [Thu, 10 Aug 2006 08:56:22 +0000 (08:56 +0000)]
ext/ogg/gstoggdemux.c: Implement SEEKING query in its most basic form, so that we can at least check if we're seekabl...

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_src_query):
Implement SEEKING query in its most basic form, so that we can
at least check if we're seekable or not (#350655).

17 years agogst/typefind/gsttypefindfunctions.c: The checks here are not even close to anything...
Tim-Philipp Müller [Wed, 9 Aug 2006 14:42:58 +0000 (14:42 +0000)]
gst/typefind/gsttypefindfunctions.c: The checks here are not even close to anything that would justify MAXIMUM probab...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mpeg2_sys_type_find):
The checks here are not even close to anything that would
justify MAXIMUM probability, lowering to POSSIBLE until someone
fixes the checks (case at hand: quicktime redirection files
might start with 00 00 01 XX and pass the checks here just
fine, see #350399).

17 years agotests/check/elements/gdpdepay.c: I forgot to include the file containing the #define :)
Edward Hervey [Tue, 8 Aug 2006 13:57:29 +0000 (13:57 +0000)]
tests/check/elements/gdpdepay.c: I forgot to include the file containing the #define :)

Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (gdpdepay_suite):
I forgot to include the file containing the #define :)
Now includes "config.h"

17 years agotests/check/elements/gdpdepay.c: Ignore test known to fail on PPC64. See #348114.
Edward Hervey [Tue, 8 Aug 2006 13:45:44 +0000 (13:45 +0000)]
tests/check/elements/gdpdepay.c: Ignore test known to fail on PPC64. See #348114.

Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (gdpdepay_suite):
Ignore test known to fail on PPC64. See #348114.

17 years agogst/typefind/gsttypefindfunctions.c: Better detection for multipart/x-mixed-replace...
Sjoerd Simons [Tue, 8 Aug 2006 08:41:13 +0000 (08:41 +0000)]
gst/typefind/gsttypefindfunctions.c: Better detection for multipart/x-mixed-replace: accept leading whitespaces befor...

Original commit message from CVS:
Patch by: Sjoerd Simons  <sjoerd at luon net>
* gst/typefind/gsttypefindfunctions.c: (multipart_type_find):
Better detection for multipart/x-mixed-replace: accept leading
whitespaces before the boundary marker as well (as our very own
multipartmux used to produce) (#349068).

17 years agogst-libs/gst/riff/: Detect DTS audio streams (#350157).
Young-Ho Cha [Mon, 7 Aug 2006 08:26:03 +0000 (08:26 +0000)]
gst-libs/gst/riff/: Detect DTS audio streams (#350157).

Original commit message from CVS:
Patch by: Young-Ho Cha  <ganadist at chollian net>
* gst-libs/gst/riff/riff-ids.h:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps),
(gst_riff_create_audio_template_caps):
Detect DTS audio streams (#350157).

17 years agoext/theora/gsttheoraparse.h: ext/theora/theoraparse.c (gst_theora_parse_class_init...
Andy Wingo [Sat, 5 Aug 2006 17:08:05 +0000 (17:08 +0000)]
ext/theora/gsttheoraparse.h: ext/theora/theoraparse.c (gst_theora_parse_class_init) (theora_parse_dispose, theora_par...

Original commit message from CVS:
2006-08-05  Andy Wingo  <wingo@pobox.com>

* ext/theora/gsttheoraparse.h:
* ext/theora/theoraparse.c (gst_theora_parse_class_init)
(theora_parse_dispose, theora_parse_set_property)
(theora_parse_get_property, theora_parse_munge_granulepos)
(theora_parse_push_buffer, theora_parse_change_state): Add a
property 'synchronization-points' to fix badly synchronized oggs.

17 years agogst/gdp/gstgdpdepay.c: Fix event parsing by gdpdepay. Fixes #349916.
Zaheer Abbas Merali [Fri, 4 Aug 2006 13:20:23 +0000 (13:20 +0000)]
gst/gdp/gstgdpdepay.c: Fix event parsing by gdpdepay.  Fixes #349916.

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

* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_chain):
Fix event parsing by gdpdepay.  Fixes #349916.

17 years agotests/check/: Add a few tests for the channel position stuff in libgstaudio.
Tim-Philipp Müller [Thu, 3 Aug 2006 15:04:42 +0000 (15:04 +0000)]
tests/check/: Add a few tests for the channel position stuff in libgstaudio.

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/libs/.cvsignore:
* tests/check/libs/audio.c: (structure_contains_channel_positions),
(fixed_caps_have_channel_positions), (GST_START_TEST),
(audio_suite), (main):
Add a few tests for the channel position stuff in libgstaudio.

17 years agoext/alsa/: Add support for cards that (only) do more than 8 channels, like the Delta...
Tim-Philipp Müller [Thu, 3 Aug 2006 14:16:06 +0000 (14:16 +0000)]
ext/alsa/: Add support for cards that (only) do more than 8 channels, like the Delta 44 (#345188).

Original commit message from CVS:
* ext/alsa/gstalsa.c: (caps_add_channel_configuration),
(gst_alsa_detect_channels):
* ext/alsa/gstalsasink.c:
Add support for cards that (only) do more than 8 channels,
like the Delta 44 (#345188).
* gst-libs/gst/audio/multichannel.c:
(gst_audio_check_channel_positions):
* gst-libs/gst/audio/multichannel.h:
API: add GST_AUDIO_CHANNEL_POSITION_NONE, which stands for an
unspecified channel position and cannot be combined with any
of the other audio channel positions; adjust position layout
checks accordingly (#345188).

17 years agogst/typefind/gsttypefindfunctions.c: Recognise ancient RealAudio files (see #349779).
Tim-Philipp Müller [Thu, 3 Aug 2006 11:15:53 +0000 (11:15 +0000)]
gst/typefind/gsttypefindfunctions.c: Recognise ancient RealAudio files (see #349779).

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
Recognise ancient RealAudio files (see #349779).

17 years agogst/typefind/gsttypefindfunctions.c: Add typefinder for Interplay's MVE format (...
Jens Granseuer [Thu, 3 Aug 2006 09:01:25 +0000 (09:01 +0000)]
gst/typefind/gsttypefindfunctions.c: Add typefinder for Interplay's MVE format (#348973).

Original commit message from CVS:
Patch by: Jens Granseuer  <jensgr at gmx net>
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
Add typefinder for Interplay's MVE format (#348973).

18 years agogst-libs/gst/rtp/gstbasertpdepayload.*: Handle RTP sequence number rollover.
Marcel Moreaux [Wed, 2 Aug 2006 17:03:29 +0000 (17:03 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.*: Handle RTP sequence number rollover.

Original commit message from CVS:
Patch by: Marcel Moreaux <marcelm at luon dot net>
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_add_to_queue):
* gst-libs/gst/rtp/gstbasertpdepayload.h:
Handle RTP sequence number rollover.
Disable jitterbuffer by default.

18 years agogst/gdp/gstgdpdepay.c: Disable seeking.
Wim Taymans [Wed, 2 Aug 2006 16:56:19 +0000 (16:56 +0000)]
gst/gdp/gstgdpdepay.c: Disable seeking.

Original commit message from CVS:
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_init),
(gst_gdp_depay_finalize), (gst_gdp_depay_sink_event),
(gst_gdp_depay_src_event), (gst_gdp_depay_chain),
(gst_gdp_depay_change_state):
Disable seeking.
Small cleanups.
Clear adapter on disconts.
Clear caps when going to READY instead of NULL
* gst/gdp/gstgdppay.c: (gst_gdp_pay_class_init),
(gst_gdp_pay_init), (gst_gdp_pay_finalize), (gst_gdp_pay_reset),
(gst_gdp_buffer_from_caps), (gst_gdp_pay_buffer_from_buffer),
(gst_gdp_buffer_from_event), (gst_gdp_pay_reset_streamheader),
(gst_gdp_queue_buffer), (gst_gdp_pay_chain),
(gst_gdp_pay_sink_event), (gst_gdp_pay_src_event),
(gst_gdp_pay_change_state):
* gst/gdp/gstgdppay.h:
Reset payloader when going to READY.
Fix leaked buffers in ->queue on push errors.
Disable seeking.
Code cleanups.
Create packetizer in _init, free in _finalize.

18 years agogst/gdp/gstgdpdepay.c: Consume all events except EOS because we generate events from...
Wim Taymans [Mon, 31 Jul 2006 08:48:36 +0000 (08:48 +0000)]
gst/gdp/gstgdpdepay.c: Consume all events except EOS because we generate events from the gdp payload instead. Fixes #...

Original commit message from CVS:
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_init),
(gst_gdp_depay_sink_event), (gst_gdp_depay_chain):
Consume all events except EOS because we generate events from
the gdp payload instead. Fixes #349204

18 years agogst/audioresample/gstaudioresample.c: Don't leak references to the incoming caps...
Jan Schmidt [Fri, 28 Jul 2006 17:17:24 +0000 (17:17 +0000)]
gst/audioresample/gstaudioresample.c: Don't leak references to the incoming caps. Clean them up when stopping.

Original commit message from CVS:
* gst/audioresample/gstaudioresample.c: (audioresample_stop),
(audioresample_set_caps):
Don't leak references to the incoming caps. Clean them up when
stopping.
* gst/videoscale/gstvideoscale.c: (gst_video_scale_class_init),
(gst_video_scale_finalize):
Don't leak our temporary pixel buffer.
* tests/check/Makefile.am:
* tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
(GST_START_TEST), (simple_launch_lines_suite):
Fix leaks and re-enable the test for valgrind checking.

18 years agogst/typefind/gsttypefindfunctions.c: Add typefind function for multipart/x-mixed...
Sjoerd Simons [Fri, 28 Jul 2006 16:39:31 +0000 (16:39 +0000)]
gst/typefind/gsttypefindfunctions.c: Add typefind function for multipart/x-mixed-replace (#348916).

Original commit message from CVS:
Patch by: Sjoerd Simons  <sjoerd at luon net>
* gst/typefind/gsttypefindfunctions.c: (multipart_type_find),
(plugin_init):
Add typefind function for multipart/x-mixed-replace (#348916).

18 years agogst/adder/gstadder.c: Fix leak in duration query.
Wim Taymans [Fri, 28 Jul 2006 14:14:58 +0000 (14:14 +0000)]
gst/adder/gstadder.c: Fix leak in duration query.

Original commit message from CVS:
* gst/adder/gstadder.c: (gst_adder_setcaps),
(gst_adder_query_duration):
Fix leak in duration query.
Reflow some docs and notes.

18 years agotests/check/pipelines/vorbisenc.c: Enable Andy's extra vorbisenc test, now that it...
Michael Smith [Fri, 28 Jul 2006 13:42:48 +0000 (13:42 +0000)]
tests/check/pipelines/vorbisenc.c: Enable Andy's extra vorbisenc test, now that it passes. Also fix one aspect of it.

Original commit message from CVS:
* tests/check/pipelines/vorbisenc.c: (GST_START_TEST),
(vorbisenc_suite):
Enable Andy's extra vorbisenc test, now that it passes. Also fix one
aspect of it.

18 years agoext/vorbis/vorbisenc.*: Handle discontinuities in the input vorbis stream correctly...
Michael Smith [Fri, 28 Jul 2006 12:48:21 +0000 (12:48 +0000)]
ext/vorbis/vorbisenc.*: Handle discontinuities in the input vorbis stream correctly, so that the output is properly t...

Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_generate_sink_caps),
(gst_vorbis_enc_sink_getcaps), (gst_vorbis_enc_buffer_from_packet),
(gst_vorbis_enc_push_buffer),
(gst_vorbis_enc_buffer_check_discontinuous),
(gst_vorbis_enc_chain), (gst_vorbis_enc_change_state):
* ext/vorbis/vorbisenc.h:
Handle discontinuities in the input vorbis stream correctly,
so that the output is properly timestamped (and has good granulepos
values). Needs some oggmux fixes too.

18 years agogst-libs/gst/rtp/gstbasertpdepayload.c: Don't send multiple newsegments with differen...
Kai Vehmanen [Thu, 27 Jul 2006 10:52:52 +0000 (10:52 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.c: Don't send multiple newsegments with different formats.

Original commit message from CVS:
patch by: Kai Vehmanen <kv2004 eca cx>
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_chain),
(gst_base_rtp_depayload_handle_sink_event),
(gst_base_rtp_depayload_change_state):
Don't send multiple newsegments with different formats.
Fixes #348677.

18 years agoext/ogg/gstoggdemux.c: Make seeking in ogg more accurate again by doing the more...
Wim Taymans [Wed, 26 Jul 2006 15:20:56 +0000 (15:20 +0000)]
ext/ogg/gstoggdemux.c: Make seeking in ogg more accurate again by doing the more correct granuletime to stream time c...

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_internal_chain),
(gst_ogg_demux_do_seek), (gst_ogg_demux_read_chain):
Make seeking in ogg more accurate again by doing the more correct
granuletime to stream time conversion.

18 years agogst/tcp/gstmultifdsink.c: debug a little more understandably do not use goto as a...
Thomas Vander Stichele [Wed, 26 Jul 2006 10:59:35 +0000 (10:59 +0000)]
gst/tcp/gstmultifdsink.c: debug a little more understandably do not use goto as a substitute for break, especially if...

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_add_full),
(gst_multi_fd_sink_new_client):
debug a little more understandably
do not use goto as a substitute for break, especially if
break is also being used

18 years agomove a recurring normal event to LOG, where it should be
Thomas Vander Stichele [Wed, 26 Jul 2006 10:55:13 +0000 (10:55 +0000)]
move a recurring normal event to LOG, where it should be

Original commit message from CVS:
move a recurring normal event to LOG, where it should be

18 years agotweak debug output
Thomas Vander Stichele [Wed, 26 Jul 2006 10:54:13 +0000 (10:54 +0000)]
tweak debug output

Original commit message from CVS:
tweak debug output

18 years agogst/gdp/gstgdpdepay.c: proxying get/set caps is the wrong thing to do, since we reall...
Thomas Vander Stichele [Wed, 26 Jul 2006 10:52:05 +0000 (10:52 +0000)]
gst/gdp/gstgdpdepay.c: proxying get/set caps is the wrong thing to do, since we really do change caps quite fundament...

Original commit message from CVS:
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_init):
proxying get/set caps is the wrong thing to do, since we really
do change caps quite fundamentally
* tests/check/elements/gdpdepay.c:
* tests/check/elements/gdppay.c:
remove declaration of buffers, it's already done in gstcheck.h

18 years agogst/playback/: Remove GLib-2.6 compatibility cruft.
Tim-Philipp Müller [Wed, 26 Jul 2006 10:31:06 +0000 (10:31 +0000)]
gst/playback/: Remove GLib-2.6 compatibility cruft.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_get_property):
* gst/playback/gstplaybin.c: (gst_play_bin_get_property):
Remove GLib-2.6 compatibility cruft.

18 years agogst-libs/gst/audio/gstbaseaudiosink.c: Don't try to align a sample to an unknown...
Wim Taymans [Mon, 24 Jul 2006 16:47:10 +0000 (16:47 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Don't try to align a sample to an unknown value.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
Don't try to align a sample to an unknown value.

18 years agogst-libs/gst/audio/gstbaseaudiosink.c: When the audio clock is slaved to another...
Wim Taymans [Mon, 24 Jul 2006 15:14:17 +0000 (15:14 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: When the audio clock is slaved to another clock, never try to align samples bu...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_provide_clock), (gst_base_audio_sink_render):
When the audio clock is slaved to another clock, never try to align
samples but trust the rate interpolation algorithm.

18 years agoext/alsa/gstalsasink.c: Don't try to calculate silence samples, base class does this...
Wim Taymans [Mon, 24 Jul 2006 14:34:42 +0000 (14:34 +0000)]
ext/alsa/gstalsasink.c: Don't try to calculate silence samples, base class does this much better now.

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (set_hwparams), (gst_alsasink_prepare):
Don't try to calculate silence samples, base class does this much
better now.
* gst-libs/gst/audio/gstringbuffer.c: (build_linear_format),
(gst_ring_buffer_debug_spec_caps), (gst_ring_buffer_parse_caps),
(gst_ring_buffer_acquire):
Calculate silence samples correctly.
* gst-libs/gst/audio/gstringbuffer.h:
Add _CAST macro.

18 years agogst/typefind/gsttypefindfunctions.c: Limit search for the first markup tag to the...
Tim-Philipp Müller [Sat, 22 Jul 2006 17:01:12 +0000 (17:01 +0000)]
gst/typefind/gsttypefindfunctions.c: Limit search for the first markup tag to the first few kB of the file. If we don...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (xml_check_first_element):
Limit search for the first markup tag to the first few kB of
the file. If we don't find one there, it's highly unlikely that
this is an XML(-ish) file.

18 years agotests/check/pipelines/theoraenc.c (test_discontinuity): Similar test to the one in...
Andy Wingo [Fri, 21 Jul 2006 17:04:06 +0000 (17:04 +0000)]
tests/check/pipelines/theoraenc.c (test_discontinuity): Similar test to the one in vorbisenc. Also commented out.

Original commit message from CVS:
2006-07-21  Andy Wingo  <wingo@pobox.com>

* tests/check/pipelines/theoraenc.c (test_discontinuity): Similar
test to the one in vorbisenc. Also commented out.

18 years agotests/check/pipelines/vorbisenc.c: New test, commented out until Mike lands some...
Andy Wingo [Fri, 21 Jul 2006 16:54:19 +0000 (16:54 +0000)]
tests/check/pipelines/vorbisenc.c: New test, commented out until Mike lands some elite vorbisenc patches.

Original commit message from CVS:
2006-07-21  Andy Wingo  <wingo@pobox.com>

* tests/check/pipelines/vorbisenc.c:
(test_discontinuity): New test, commented out until Mike lands
some elite vorbisenc patches.

18 years agotests/check/pipelines/: Port to bufferstraw.
Andy Wingo [Fri, 21 Jul 2006 15:59:24 +0000 (15:59 +0000)]
tests/check/pipelines/: Port to bufferstraw.

Original commit message from CVS:
2006-07-21  Andy Wingo  <wingo@pobox.com>

* tests/check/pipelines/vorbisenc.c:
* tests/check/pipelines/theoraenc.c: Port to bufferstraw.
Bufferstraw was actually factored out of these tests. Now we share
code yay.

18 years agoext/theora/theoradec.c: Better clipping.
Wim Taymans [Fri, 21 Jul 2006 11:03:28 +0000 (11:03 +0000)]
ext/theora/theoradec.c: Better clipping.

Original commit message from CVS:
* ext/theora/theoradec.c: (clip_buffer):
Better clipping.

18 years agogst-libs/gst/audio/gstaudiosink.c: Fix leak.
Wim Taymans [Fri, 21 Jul 2006 10:43:54 +0000 (10:43 +0000)]
gst-libs/gst/audio/gstaudiosink.c: Fix leak.

Original commit message from CVS:
* gst-libs/gst/audio/gstaudiosink.c: (audioringbuffer_thread_func),
(gst_audioringbuffer_finalize), (gst_audioringbuffer_acquire),
(gst_audioringbuffer_release), (gst_audioringbuffer_stop):
Fix leak.
Avoid type casting when we can.
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_dispose):
Fix mem leak.

18 years agoext/alsa/gstalsamixerelement.c: Make state change fail if the specified device can...
Tim-Philipp Müller [Thu, 20 Jul 2006 16:57:29 +0000 (16:57 +0000)]
ext/alsa/gstalsamixerelement.c: Make state change fail if the specified device can't be opened for some reason.

Original commit message from CVS:
* ext/alsa/gstalsamixerelement.c:
(gst_alsa_mixer_element_change_state):
Make state change fail if the specified device can't be opened
for some reason.

18 years agogst/playback/test.c: Example of a small audio/video player using decodebin.
Wim Taymans [Thu, 20 Jul 2006 10:42:21 +0000 (10:42 +0000)]
gst/playback/test.c: Example of a small audio/video player using decodebin.

Original commit message from CVS:
* gst/playback/test.c: (gen_video_element), (gen_audio_element),
(cb_newpad), (main):
Example of a small audio/video player using decodebin.

18 years agogst-libs/gst/riff/riff-ids.h: Add 'fact' chunk id
Stefan Kost [Thu, 20 Jul 2006 05:56:48 +0000 (05:56 +0000)]
gst-libs/gst/riff/riff-ids.h: Add 'fact' chunk id

Original commit message from CVS:
* gst-libs/gst/riff/riff-ids.h:
Add 'fact' chunk id

18 years agogst-libs/gst/rtp/gstbasertpdepayload.c: Don't assert when not negotiated but post...
Wim Taymans [Wed, 19 Jul 2006 18:20:43 +0000 (18:20 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.c: Don't assert when not negotiated but post a meaningfull error message. Fixes ...

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_chain),
(gst_base_rtp_depayload_change_state):
Don't assert when not negotiated but post a meaningfull
error message. Fixes #347918.
* gst-libs/gst/rtp/gstbasertppayload.c:
Add comment about better default MTU size.
* gst-libs/gst/rtp/gstrtpbuffer.c: (gst_rtp_buffer_validate_data):
Small cleanups, start docs.

18 years agosys/v4l/gstv4lelement.c: If "device-name" is requested and the device is not open...
Martin Szulecki [Wed, 19 Jul 2006 14:46:36 +0000 (14:46 +0000)]
sys/v4l/gstv4lelement.c: If "device-name" is requested and the device is not open, try to temporarily open it to obta...

Original commit message from CVS:
Patch by: Martin Szulecki
* sys/v4l/gstv4lelement.c: (gst_v4lelement_get_property):
If "device-name" is requested and the device is not
open, try to temporarily open it to obtain this
information (#342494).

18 years agogst-libs/gst/tag/gstid3tag.c: Add TSSE <=> GST_TAG_ENCODER mapping (see #347898).
Tim-Philipp Müller [Wed, 19 Jul 2006 12:25:00 +0000 (12:25 +0000)]
gst-libs/gst/tag/gstid3tag.c: Add TSSE <=> GST_TAG_ENCODER mapping (see #347898).

Original commit message from CVS:
* gst-libs/gst/tag/gstid3tag.c:
Add TSSE <=> GST_TAG_ENCODER mapping (see #347898).
* gst-libs/gst/tag/gsttageditingprivate.h:
* gst-libs/gst/tag/gstvorbistag.c:
Some more random const-ifications.

18 years agogst-libs/gst/riff/: add comment what those 16 bytes in struct _gst_riff_strh accordin...
Stefan Kost [Tue, 18 Jul 2006 19:48:48 +0000 (19:48 +0000)]
gst-libs/gst/riff/: add comment what those 16 bytes in struct _gst_riff_strh according to one avi-dumper are

Original commit message from CVS:
* gst-libs/gst/riff/riff-ids.h:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_template_caps):
Add more FOURCCs (sort list to make stuff easier to find),
add comment what those 16 bytes in struct _gst_riff_strh according to
one avi-dumper are

18 years agogst/gdp/: remove parent_class setting, BOILERPLATE does this fix typo in comment
Thomas Vander Stichele [Mon, 17 Jul 2006 14:17:45 +0000 (14:17 +0000)]
gst/gdp/: remove parent_class setting, BOILERPLATE does this fix typo in comment

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

* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_class_init):
* gst/gdp/gstgdppay.c: (gst_gdp_pay_class_init),
remove parent_class setting, BOILERPLATE does this
(gst_gdp_pay_reset_streamheader):
fix typo in comment

18 years agogst-libs/gst/audio/multichannel.c: Const-ify two arrays.
Tim-Philipp Müller [Mon, 17 Jul 2006 13:48:10 +0000 (13:48 +0000)]
gst-libs/gst/audio/multichannel.c: Const-ify two arrays.

Original commit message from CVS:
* gst-libs/gst/audio/multichannel.c:
(gst_audio_check_channel_positions),
(gst_audio_fixate_channel_positions):
Const-ify two arrays.

18 years agoext/alsa/gstalsa.c: Fix typo, so that alsasink also advertises 8 channels if that...
Tim-Philipp Müller [Mon, 17 Jul 2006 12:33:42 +0000 (12:33 +0000)]
ext/alsa/gstalsa.c: Fix typo, so that alsasink also advertises 8 channels if that's supported (tags: can, worms, open...

Original commit message from CVS:
* ext/alsa/gstalsa.c: (caps_add_channel_configuration):
Fix typo, so that alsasink also advertises 8 channels
if that's supported (tags: can, worms, open, alsa, ph34r).

18 years agoext/ogg/gstoggdemux.c: *sigh*, when is the compiler going to warn when the comments...
Wim Taymans [Mon, 17 Jul 2006 12:01:04 +0000 (12:01 +0000)]
ext/ogg/gstoggdemux.c: *sigh*, when is the compiler going to warn when the comments are out-of-sync with the code.. R...

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_internal_chain),
(gst_ogg_pad_submit_packet), (gst_ogg_demux_read_chain):
*sigh*, when is the compiler going to warn when the comments
are out-of-sync with the code.. Refix case of busted theora
headers with 0 granule pos.

18 years agogst-libs/gst/rtp/gstbasertpdepayload.c: Fix 99% cpu load by waiting for absolute...
Wim Taymans [Fri, 14 Jul 2006 17:56:59 +0000 (17:56 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.c: Fix 99% cpu load by waiting for absolute times on the clock. Fixes #347300.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_wait),
(gst_base_rtp_depayload_change_state),
(gst_base_rtp_depayload_set_property),
(gst_base_rtp_depayload_get_property):
Fix 99% cpu load by waiting for absolute times on the
clock. Fixes #347300.

18 years agoext/theora/gsttheoraparse.h: ext/theora/theoraparse.c (theora_parse_drain_event_queue...
Andy Wingo [Fri, 14 Jul 2006 17:07:08 +0000 (17:07 +0000)]
ext/theora/gsttheoraparse.h: ext/theora/theoraparse.c (theora_parse_drain_event_queue) (theora_parse_push_headers, th...

Original commit message from CVS:
2006-07-14  Andy Wingo  <wingo@pobox.com>

* ext/theora/gsttheoraparse.h:
* ext/theora/theoraparse.c (theora_parse_drain_event_queue)
(theora_parse_push_headers, theora_parse_clear_queue)
(theora_parse_drain_queue_prematurely, )
(theora_parse_sink_event, theora_parse_change_state): Queue events
until we initialized our state, like in vorbisparse.

18 years agoext/vorbis/vorbisparse.h: ext/vorbis/vorbisparse.c (vorbis_parse_drain_event_queue...
Iain * [Fri, 14 Jul 2006 16:45:17 +0000 (16:45 +0000)]
ext/vorbis/vorbisparse.h: ext/vorbis/vorbisparse.c (vorbis_parse_drain_event_queue) (vorbis_parse_push_headers, vorbi...

Original commit message from CVS:
2006-07-14  Andy Wingo  <wingo@pobox.com>

* ext/vorbis/vorbisparse.h:
* ext/vorbis/vorbisparse.c (vorbis_parse_drain_event_queue)
(vorbis_parse_push_headers, vorbis_parse_clear_queue)
(vorbis_parse_drain_queue_prematurely, )
(vorbis_parse_sink_event, vorbis_parse_change_state): Queue events
until we have initialized our state. Fixes seeking after an
initial pad block.

2006-07-14  Andy Wingo  <wingo@pobox.com>

Patch by: Iain * <iaingnome@gmail.com>

* ext/ogg/gstoggdemux.c (gst_ogg_demux_finalize): Fix memleak.

18 years agoconfigure.ac: Bump nano back to CVS
Jan Schmidt [Fri, 14 Jul 2006 15:52:39 +0000 (15:52 +0000)]
configure.ac: Bump nano back to CVS

Original commit message from CVS:
* configure.ac:
Bump nano back to CVS

18 years agoconfigure.ac: releasing 0.10.9, "I walk the line"
Jan Schmidt [Fri, 14 Jul 2006 15:51:24 +0000 (15:51 +0000)]
configure.ac: releasing 0.10.9, "I walk the line"

Original commit message from CVS:
2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>

* configure.ac:
releasing 0.10.9, "I walk the line"

18 years agotests/check/pipelines/vorbisenc.c: Move a g_cond_signal to earlier to avoid sometimes...
Michael Smith [Fri, 14 Jul 2006 14:12:40 +0000 (14:12 +0000)]
tests/check/pipelines/vorbisenc.c: Move a g_cond_signal to earlier to avoid sometimes deadlocking (commonly happens w...

Original commit message from CVS:
* tests/check/pipelines/vorbisenc.c: (stop_pipeline):
Move a g_cond_signal to earlier to avoid sometimes deadlocking
(commonly happens when running this test under valgrind) when trying
to remove the buffer probe.

18 years agobuild as a plugin, not a lib
Thomas Vander Stichele [Fri, 14 Jul 2006 10:34:36 +0000 (10:34 +0000)]
build as a plugin, not a lib

Original commit message from CVS:
build as a plugin, not a lib

18 years agosys/xvimage/xvimagesink.c: Fix missing g_unlock from the previous commit
Jan Schmidt [Thu, 13 Jul 2006 16:43:22 +0000 (16:43 +0000)]
sys/xvimage/xvimagesink.c: Fix missing g_unlock from the previous commit

Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new):
Fix missing g_unlock from the previous commit

18 years agosys/: Implement a locking order to ensure we always take the object lock before the...
Jan Schmidt [Thu, 13 Jul 2006 16:34:04 +0000 (16:34 +0000)]
sys/: Implement a locking order to ensure we always take the object lock before the x_lock and never vice-versa.

Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_new),
(gst_ximagesink_change_state):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new),
(gst_xvimagesink_change_state):
Implement a locking order to ensure we always take the object lock
before the x_lock and never vice-versa.

18 years agodocs/plugins/: add more plugins and elements to docs
Thomas Vander Stichele [Thu, 13 Jul 2006 15:25:58 +0000 (15:25 +0000)]
docs/plugins/: add more plugins and elements to docs

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
add more plugins and elements to docs
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_chain):
fix segfaults due to wrong g_free
add example
* gst/gdp/gstgdppay.c:
add example

18 years agogst/playback/gstdecodebin.c: Fix a caps leak when linking (#347304)
Jan Schmidt [Thu, 13 Jul 2006 14:38:15 +0000 (14:38 +0000)]
gst/playback/gstdecodebin.c: Fix a caps leak when linking (#347304)

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (find_compatibles):
Fix a caps leak when linking (#347304)
* sys/ximage/ximagesink.c: (gst_ximage_buffer_finalize),
(gst_ximagesink_ximage_destroy), (gst_ximagesink_xcontext_clear),
(gst_ximagesink_change_state):
* sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_destroy),
(gst_xvimage_buffer_finalize), (gst_xvimagesink_check_xshm_calls),
(gst_xvimagesink_xvimage_new), (gst_xvimagesink_xvimage_put),
(gst_xvimagesink_xcontext_clear), (gst_xvimagesink_change_state):
Don't leak shared memory resources. Use the object lock to protect
against the xcontext disappearing while returning a buffer from the
pipeline. (#347304)

18 years agoext/vorbis/vorbisdec.c: gst_tag_list_merge() returns a new object. Take that into...
Edward Hervey [Wed, 12 Jul 2006 14:20:43 +0000 (14:20 +0000)]
ext/vorbis/vorbisdec.c: gst_tag_list_merge() returns a new object. Take that into account when using it. This avoids ...

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_finalize),
(vorbis_handle_comment_packet):
gst_tag_list_merge() returns a new object. Take that into account when
using it. This avoids memleak.
Revert previous commit which is not needed.

18 years agoext/vorbis/vorbisdec.c: Reset the decoder in finalize so that all fields get cleared.
Edward Hervey [Wed, 12 Jul 2006 13:30:20 +0000 (13:30 +0000)]
ext/vorbis/vorbisdec.c: Reset the decoder in finalize so that all fields get cleared.

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_finalize):
Reset the decoder in finalize so that all fields get cleared.

18 years agogst-libs/gst/audio/gstbaseaudiosrc.c: Don't try to post an error message when setting...
Wim Taymans [Wed, 12 Jul 2006 13:24:19 +0000 (13:24 +0000)]
gst-libs/gst/audio/gstbaseaudiosrc.c: Don't try to post an error message when setting the clock fails as this can hap...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_set_clock),
(gst_base_audio_src_check_get_range), (gst_base_audio_src_create):
Don't try to post an error message when setting the clock fails
as this can happen when adding an element to a bin which will then
deadlock. Fixes #347296.

18 years agoext/vorbis/vorbisdec.c: Post tag messages on the bus even if we're not initialized.
Edward Hervey [Wed, 12 Jul 2006 13:04:15 +0000 (13:04 +0000)]
ext/vorbis/vorbisdec.c: Post tag messages on the bus even if we're not initialized.

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (gst_vorbis_dec_reset),
(vorbis_dec_sink_event), (vorbis_handle_comment_packet),
(vorbis_handle_type_packet):
Post tag messages on the bus even if we're not initialized.
If we're not initialized, we still postpone the event pushing of tags.

18 years agoRevert last two changes that broke the freeze.
Wim Taymans [Wed, 12 Jul 2006 11:28:37 +0000 (11:28 +0000)]
Revert last two changes that broke the freeze.

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (set_hwparams), (gst_alsasink_prepare):
* gst-libs/gst/audio/gstringbuffer.c: (build_linear_format),
(gst_ring_buffer_debug_spec_caps), (gst_ring_buffer_parse_caps):
Revert last two changes that broke the freeze.

18 years agoext/alsa/gstalsasink.c: basesink calculates silence sample correctly for us.
Wim Taymans [Wed, 12 Jul 2006 10:59:55 +0000 (10:59 +0000)]
ext/alsa/gstalsasink.c: basesink calculates silence sample correctly for us.

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (set_hwparams), (gst_alsasink_prepare):
basesink calculates silence sample correctly for us.

18 years agogst-libs/gst/audio/gstringbuffer.c: Calculate correct silence samples so we don't...
Wim Taymans [Wed, 12 Jul 2006 10:58:42 +0000 (10:58 +0000)]
gst-libs/gst/audio/gstringbuffer.c: Calculate correct silence samples so we don't fill our ringbuffer with noise.

Original commit message from CVS:
* gst-libs/gst/audio/gstringbuffer.c: (build_linear_format),
(gst_ring_buffer_debug_spec_caps), (gst_ring_buffer_parse_caps):
Calculate correct silence samples so we don't fill our ringbuffer
with noise.

18 years agoext/vorbis/vorbisdec.*: Delay sending events (newsegment, tags) until the decoder...
Edward Hervey [Wed, 12 Jul 2006 10:37:18 +0000 (10:37 +0000)]
ext/vorbis/vorbisdec.*: Delay sending events (newsegment, tags) until the decoder is properly initialized.

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (gst_vorbis_dec_init),
(gst_vorbis_dec_reset), (vorbis_dec_sink_event),
(vorbis_handle_comment_packet), (vorbis_handle_type_packet):
* ext/vorbis/vorbisdec.h:
Delay sending events (newsegment, tags) until the decoder is properly
initialized.
Fixes #347295

18 years agoUpdate .po files
Jan Schmidt [Tue, 11 Jul 2006 22:40:13 +0000 (22:40 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

18 years agotests/check/elements/audioconvert.c: Patch from #347221 adding a test for audioconver...
Jan Schmidt [Tue, 11 Jul 2006 21:04:16 +0000 (21:04 +0000)]
tests/check/elements/audioconvert.c: Patch from #347221 adding a test for audioconvert channel remappings.

Original commit message from CVS:
* tests/check/elements/audioconvert.c: (get_float_mc_caps),
(get_int_mc_caps), (GST_START_TEST), (audioconvert_suite):
Patch from #347221 adding a test for audioconvert
channel remappings.

18 years agogst/subparse/gstssaparse.c: Don't include the terminating NUL in the buffer size...
Tim-Philipp Müller [Tue, 11 Jul 2006 12:03:25 +0000 (12:03 +0000)]
gst/subparse/gstssaparse.c: Don't include the terminating NUL in the buffer size, it's only there for extra paranoia ...

Original commit message from CVS:
* gst/subparse/gstssaparse.c: (gst_ssa_parse_base_init),
(gst_ssa_parse_parse_line):
Don't include the terminating NUL in the buffer size,
it's only there for extra paranoia (would add random
'*' characters at the end of each subtitle since the
terminator itself is not valid UTF-8 technically).
Also fix indenting after boilerplate macro.

18 years agogst/playback/gstdecodebin.c: Also emit 'unknown-type' signal (which should really...
Tim-Philipp Müller [Mon, 10 Jul 2006 14:59:03 +0000 (14:59 +0000)]
gst/playback/gstdecodebin.c: Also emit 'unknown-type' signal (which should really be called unhandled-type) if we fou...

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (close_pad_link):
Also emit 'unknown-type' signal (which should really be
called unhandled-type) if we found potential decoders/demuxers
in the registry but none of them worked in the end (as in the
case where the plugins don't exist any longer but are still
listed in the registry). Fixes #329798.

18 years agotheoraparse.c (theora_parse_push_buffer)
Andy Wingo [Sat, 8 Jul 2006 13:48:58 +0000 (13:48 +0000)]
theoraparse.c (theora_parse_push_buffer)

Original commit message from CVS:
2006-07-08  Andy Wingo  <wingo@pobox.com>

* theoraparse.c (theora_parse_push_buffer)
(theora_parse_drain_queue_prematurely, theora_parse_drain_queue):
Add some more debugging. Fix granulepos reconstruction in the face
of discontinuities.

18 years agogst-libs/gst/audio/gstbaseaudiosink.c: Use gobject_class instead of G_OBJECT_CLASS...
Wim Taymans [Thu, 6 Jul 2006 15:54:50 +0000 (15:54 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Use gobject_class instead of G_OBJECT_CLASS (klass)

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_class_init),
(gst_base_audio_sink_provide_clock):
Use gobject_class instead of G_OBJECT_CLASS (klass)
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_class_init), (gst_base_audio_src_init),
(gst_base_audio_src_set_clock), (gst_base_audio_src_provide_clock),
(gst_base_audio_src_get_time),
(gst_base_audio_src_check_get_range), (gst_base_audio_src_create),
(gst_base_audio_src_create_ringbuffer):
Fix latency and buffer-time constants and properties ala basesink.
Implement pull based scheduling. Fixes #346527.
Set default blocksize in GstBaseSrc to 0, we default to pushing out
one segment.
Refuse slaving to another clock instead of silently not working.
Only provide a clock when we are actually able to do so.
Various small cleanups and compiler hints.

18 years agogst/typefind/gsttypefindfunctions.c: Add typefinding for text/html (#346581).
Lutz Mueller [Thu, 6 Jul 2006 13:23:07 +0000 (13:23 +0000)]
gst/typefind/gsttypefindfunctions.c: Add typefinding for text/html (#346581).

Original commit message from CVS:
Patch by: Lutz Mueller <lutz at topfrose de>
* gst/typefind/gsttypefindfunctions.c: (html_type_find),
(plugin_init):
Add typefinding for text/html (#346581).

18 years agogst/typefind/gsttypefindfunctions.c: Fix SMIL typefinding, make xml_check_first_eleme...
Tim-Philipp Müller [Thu, 6 Jul 2006 13:12:02 +0000 (13:12 +0000)]
gst/typefind/gsttypefindfunctions.c: Fix SMIL typefinding, make xml_check_first_element() more useful.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (utf8_type_find),
(xml_check_first_element), (xml_type_find), (smil_type_find):
Fix SMIL typefinding, make xml_check_first_element() more
useful.

18 years agogst/playback/gstplaybasebin.*: Protect list of elements with a subtitle-encoding...
Tim-Philipp Müller [Thu, 6 Jul 2006 13:04:24 +0000 (13:04 +0000)]
gst/playback/gstplaybasebin.*: Protect list of elements with a subtitle-encoding property and the subtitle encoding m...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_init),
(gst_play_base_bin_finalize), (decodebin_element_added_cb),
(decodebin_element_removed_cb), (gst_play_base_bin_set_property):
* gst/playback/gstplaybasebin.h:
Protect list of elements with a subtitle-encoding property and
the subtitle encoding member itself with a lock of their own
instead of using the object lock. This prevents a dead-lock in
the element-remove callback in some circumstances when shutting
down playbin.

18 years agowin32/common/libgsttag.def: Export some new functions.
Sébastien Moutte [Wed, 5 Jul 2006 20:11:13 +0000 (20:11 +0000)]
win32/common/libgsttag.def: Export some new functions.

Original commit message from CVS:
* win32/common/libgsttag.def:
Export some new functions.
* win32/vs6/libgstogg.dsp:
Add a link to libgsttag-0.10.lib.

18 years agoext/alsa/gstalsamixertrack.c: Some const-ification.
Tim-Philipp Müller [Tue, 4 Jul 2006 16:50:21 +0000 (16:50 +0000)]
ext/alsa/gstalsamixertrack.c: Some const-ification.

Original commit message from CVS:
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_new):
Some const-ification.

18 years agogst/playback/gstplaybasebin.c: Improve checking if we are dealing with a stream....
Wim Taymans [Tue, 4 Jul 2006 14:06:03 +0000 (14:06 +0000)]
gst/playback/gstplaybasebin.c: Improve checking if we are dealing with a stream. Added some more uris that need buffe...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (is_stream), (gen_source_element):
Improve checking if we are dealing with a stream. Added some
more uris that need buffering.

18 years agoext/vorbis/vorbisdec.c: Remove unused variable.
Edward Hervey [Mon, 3 Jul 2006 10:43:31 +0000 (10:43 +0000)]
ext/vorbis/vorbisdec.c: Remove unused variable.

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_do_clip):
Remove unused variable.

18 years agoMakefile.am: include lcov.mak
Thomas Vander Stichele [Sun, 2 Jul 2006 21:48:51 +0000 (21:48 +0000)]
Makefile.am: include lcov.mak

Original commit message from CVS:
* Makefile.am:
include lcov.mak
* configure.ac:
add GCOV_LIBS to GST_LIBS

18 years agoext/alsa/gstalsasrc.c: Add 32 bps to template caps and increase channels range from...
Michael Sheldon [Sun, 2 Jul 2006 11:08:58 +0000 (11:08 +0000)]
ext/alsa/gstalsasrc.c: Add 32 bps to template caps and increase channels range from [1,2] to [1,MAX]. See #346326.

Original commit message from CVS:
Patch by: Michael Sheldon  <webmaster at mikeasoft com>
* ext/alsa/gstalsasrc.c:
Add 32 bps to template caps and increase channels range
from [1,2] to [1,MAX]. See #346326.

18 years agogst-libs/gst/riff/riff-media.c: Recognise 'WMVA' video codec fourcc (#345879).
Tim-Philipp Müller [Fri, 30 Jun 2006 12:04:51 +0000 (12:04 +0000)]
gst-libs/gst/riff/riff-media.c: Recognise 'WMVA' video codec fourcc (#345879).

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
Recognise 'WMVA' video codec fourcc (#345879).

18 years agogst-libs/gst/rtp/gstbasertpaudiopayload.c: Fixed nasty memory leak
Philippe Kalaf [Thu, 29 Jun 2006 12:21:06 +0000 (12:21 +0000)]
gst-libs/gst/rtp/gstbasertpaudiopayload.c: Fixed nasty memory leak

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
Fixed nasty memory leak

18 years agogst/tcp/gsttcp.c: fix logging
Thomas Vander Stichele [Mon, 26 Jun 2006 13:19:33 +0000 (13:19 +0000)]
gst/tcp/gsttcp.c: fix logging

Original commit message from CVS:
* gst/tcp/gsttcp.c: (gst_tcp_read_buffer),
(gst_tcp_gdp_read_buffer), (gst_tcp_gdp_read_caps):
fix logging

18 years agogst/playback/gstdecodebin.c: Protect remove_fakesink using a mutex, so that we don...
Jan Schmidt [Fri, 23 Jun 2006 16:45:50 +0000 (16:45 +0000)]
gst/playback/gstdecodebin.c: Protect remove_fakesink using a mutex, so that we don't try and remove the fakesink simu...

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_class_init),
(gst_decode_bin_init), (gst_decode_bin_finalize), (add_fakesink),
(remove_fakesink), (pad_probe), (gst_decode_bin_change_state):
Protect remove_fakesink using a mutex, so that we don't try and
remove the fakesink simultaneously from multiple threads.
When going from READY to PAUSED, restore the fakesink, so that
it is there when decodebin gets reused.

18 years agoUse GST_DEBUG_CATEGORY_STATIC where possible (#342503).
Tim-Philipp Müller [Fri, 23 Jun 2006 09:53:09 +0000 (09:53 +0000)]
Use GST_DEBUG_CATEGORY_STATIC where possible (#342503).

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
* gst-libs/gst/rtp/gstbasertppayload.c:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
* gst/tcp/gstmultifdsink.c:
* gst/tcp/gsttcpclientsink.c:
* gst/tcp/gsttcpclientsrc.c:
* gst/tcp/gsttcpserversink.c:
* gst/tcp/gsttcpserversrc.c:
* gst/videorate/gstvideorate.c:
* gst/videotestsrc/gstvideotestsrc.c:
* sys/v4l/gstv4ljpegsrc.c:
* sys/v4l/gstv4lmjpegsink.c:
* sys/v4l/gstv4lsrc.c:
* tests/examples/seek/scrubby.c:
* tests/examples/seek/seek.c:
Use GST_DEBUG_CATEGORY_STATIC where possible (#342503).

18 years agoUse GST_DEBUG_CATEGORY_STATIC where possible (#342503) and fix one GObject boilerplat...
Tim-Philipp Müller [Fri, 23 Jun 2006 09:09:44 +0000 (09:09 +0000)]
Use GST_DEBUG_CATEGORY_STATIC where possible (#342503) and fix one GObject boilerplate macro.

Original commit message from CVS:
* ext/directfb/dfbvideosink.c:
* ext/gsm/gstgsmdec.c:
* ext/gsm/gstgsmenc.c:
* ext/libmms/gstmms.c:
* ext/neon/gstneonhttpsrc.c:
* ext/theora/theoradec.c:
* gst/freeze/gstfreeze.c:
* gst/gdp/gstgdpdepay.c:
* gst/gdp/gstgdppay.c:
* sys/glsink/glimagesink.c:
Use GST_DEBUG_CATEGORY_STATIC where possible (#342503)
and fix one GObject boilerplate macro.

18 years agogst-libs/gst/tag/tags.c: Second field in GEnumValue shouldn't be a description, but...
Tim-Philipp Müller [Thu, 22 Jun 2006 12:13:31 +0000 (12:13 +0000)]
gst-libs/gst/tag/tags.c: Second field in GEnumValue shouldn't be a description, but a stringified version of the enum...

Original commit message from CVS:
* gst-libs/gst/tag/tags.c: (register_tag_image_type_enum):
Second field in GEnumValue shouldn't be a description,
but a stringified version of the enum value.

18 years agosys/ximage/ximagesink.c: Avoid type checking in buffer casts.
Wim Taymans [Thu, 22 Jun 2006 12:03:14 +0000 (12:03 +0000)]
sys/ximage/ximagesink.c: Avoid type checking in buffer casts.

Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximage_buffer_finalize),
(gst_ximage_buffer_free), (gst_ximagesink_ximage_put),
(gst_ximagesink_setcaps), (gst_ximagesink_buffer_alloc):
Avoid type checking in buffer casts.
Avoid caps copy in buffer_alloc when we can.
Use pad_peer_accept.

18 years agogst-libs/gst/tag/tag.h: Oops, make that 'Since: 0.10.9'.
Tim-Philipp Müller [Thu, 22 Jun 2006 11:01:41 +0000 (11:01 +0000)]
gst-libs/gst/tag/tag.h: Oops, make that 'Since: 0.10.9'.

Original commit message from CVS:
* gst-libs/gst/tag/tag.h:
Oops, make that 'Since: 0.10.9'.

18 years agoAPI: add GstTagImageType enum to describe images contained in image tags (#345641).
Tim-Philipp Müller [Thu, 22 Jun 2006 10:55:05 +0000 (10:55 +0000)]
API: add GstTagImageType enum to describe images contained in image tags (#345641).

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/tag/tag.h:
* gst-libs/gst/tag/tags.c: (register_tag_image_type_enum),
(gst_tag_image_type_get_type):
API: add GstTagImageType enum to describe images contained
in image tags (#345641).

18 years agogst/tcp/gstmultifdsink.c: Fix warnings with gst-inspect: "buffers-min" property shoul...
Tim-Philipp Müller [Thu, 22 Jun 2006 10:31:22 +0000 (10:31 +0000)]
gst/tcp/gstmultifdsink.c: Fix warnings with gst-inspect: "buffers-min" property should be of G_TYPE_INT and not G_TYP...

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_class_init):
Fix warnings with gst-inspect: "buffers-min" property
should be of G_TYPE_INT and not G_TYPE_INT64. Also fix
typo in property description.

18 years agogst/: Avoid unnecessary class cast check in class_init functions (#337747).
Cody Russell [Thu, 22 Jun 2006 10:10:51 +0000 (10:10 +0000)]
gst/: Avoid unnecessary class cast check in class_init functions (#337747).

Original commit message from CVS:
Patch by: Cody Russell <bratsche at gnome org>
* gst/audioresample/gstaudioresample.c:
(gst_audioresample_class_init):
* gst/playback/gststreamselector.c:
(gst_stream_selector_class_init):
* gst/subparse/gstsubparse.c: (gst_sub_parse_class_init):
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_class_init):
* gst/tcp/gsttcpclientsink.c: (gst_tcp_client_sink_class_init):
* gst/tcp/gsttcpclientsrc.c: (gst_tcp_client_src_class_init):
* gst/tcp/gsttcpserversink.c: (gst_tcp_server_sink_class_init):
* gst/tcp/gsttcpserversrc.c: (gst_tcp_server_src_class_init):
* gst/videoscale/gstvideoscale.c: (gst_video_scale_class_init):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_video_test_src_class_init):
* gst/volume/gstvolume.c: (gst_volume_class_init):
Avoid unnecessary class cast check in class_init
functions (#337747).

18 years agoext/pango/gsttextoverlay.c: g_markup_escape_text() REALLY doesn't like non-UTF8 input...
Tim-Philipp Müller [Wed, 21 Jun 2006 18:39:07 +0000 (18:39 +0000)]
ext/pango/gsttextoverlay.c: g_markup_escape_text() REALLY doesn't like non-UTF8 input and doesn't validate its input ...

Original commit message from CVS:
* ext/pango/gsttextoverlay.c: (gst_text_overlay_make_utf8),
(gst_text_overlay_video_chain):
g_markup_escape_text() REALLY doesn't like non-UTF8 input
and doesn't validate its input either (and neither did
textoverlay it seems). Let's do that then and fix #345206.

18 years agogst/tcp/gstmultifdsink.*: Added shiny new burst-on-connect methods.
Wim Taymans [Mon, 19 Jun 2006 17:12:57 +0000 (17:12 +0000)]
gst/tcp/gstmultifdsink.*: Added shiny new burst-on-connect methods.

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_sync_method_get_type),
(gst_unit_type_get_type), (gst_multi_fd_sink_class_init),
(gst_multi_fd_sink_init), (gst_multi_fd_sink_add_full),
(gst_multi_fd_sink_add), (gst_multi_fd_sink_handle_client_read),
(find_syncframe), (find_limits), (assign_value),
(count_burst_unit), (gst_multi_fd_sink_new_client),
(gst_multi_fd_sink_handle_client_write),
(gst_multi_fd_sink_queue_buffer), (gst_multi_fd_sink_render),
(gst_multi_fd_sink_set_property), (gst_multi_fd_sink_get_property),
(gst_multi_fd_sink_change_state):
* gst/tcp/gstmultifdsink.h:
Added shiny new burst-on-connect methods.
Add properties to control the minimal amount of data queued.
Small cleanups.
API: bytes-min property
API: time-min property
API: buffers-min property
API: burst-unit property
API: burst-value property
API: add-full signal
* gst/tcp/gsttcp-marshal.list:
Added new marshaller code for the new signal.
* tests/check/elements/multifdsink.c: (GST_START_TEST),
(multifdsink_suite):
Added testcases for new burst methods.

18 years agoupdate for latest changes
Christian Schaller [Mon, 19 Jun 2006 11:35:47 +0000 (11:35 +0000)]
update for latest changes

Original commit message from CVS:
update for latest changes

18 years agoext/theora/theoradec.c: Implement clipping for accurate seeking.
Edward Hervey [Mon, 19 Jun 2006 09:57:50 +0000 (09:57 +0000)]
ext/theora/theoradec.c: Implement clipping for accurate seeking.

Original commit message from CVS:
* ext/theora/theoradec.c: (clip_buffer), (theora_dec_push):
Implement clipping for accurate seeking.
Closes #345225

18 years agogst/videoscale/gstvideoscale.c: Make videoscale support RGBA, ARGB, BGRA and ABGR...
Philip Jaegenstedt [Mon, 19 Jun 2006 09:08:05 +0000 (09:08 +0000)]
gst/videoscale/gstvideoscale.c: Make videoscale support RGBA, ARGB, BGRA and ABGR. Fixes #345131

Original commit message from CVS:
Patch by: Philip Jaegenstedt <philip at lysator dot liu dot se>
* gst/videoscale/gstvideoscale.c: (gst_video_scale_prepare_size),
(gst_video_scale_transform):
Make videoscale support RGBA, ARGB, BGRA and ABGR. Fixes #345131

18 years agoChangeLog surgery
Tim-Philipp Müller [Sat, 17 Jun 2006 14:18:41 +0000 (14:18 +0000)]
ChangeLog surgery

Original commit message from CVS:
ChangeLog surgery

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

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