platform/upstream/gst-plugins-base.git
17 years agoFix the docs according to what gtk-doc complained about.
Stefan Kost [Tue, 30 Oct 2007 20:32:14 +0000 (20:32 +0000)]
Fix the docs according to what gtk-doc complained about.

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/audio/gstaudiofilter.h:
* gst-libs/gst/interfaces/mixer.h:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
* gst-libs/gst/rtp/gstbasertpdepayload.h:
* gst-libs/gst/sdp/gstsdpmessage.c:
Fix the docs according to what gtk-doc complained about.

17 years agotests/icles/stress-playbin.c: Fix the build.
Stefan Kost [Tue, 30 Oct 2007 19:46:02 +0000 (19:46 +0000)]
tests/icles/stress-playbin.c: Fix the build.

Original commit message from CVS:
* tests/icles/stress-playbin.c:
Fix the build.

17 years agogst/playback/: Post nice/more useful error message if we don't have a decoder for...
Tim-Philipp Müller [Tue, 30 Oct 2007 15:54:46 +0000 (15:54 +0000)]
gst/playback/: Post nice/more useful error message if we don't have a decoder for the primary type.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (close_pad_link), (type_found):
* gst/playback/gstdecodebin2.c: (analyze_new_pad):
Post nice/more useful error message if we don't have a decoder for
the primary type.

17 years agogst/playback/gstdecodebin2.c: Be a bit more useful, unblock the pads after we fired...
Wim Taymans [Tue, 30 Oct 2007 15:07:58 +0000 (15:07 +0000)]
gst/playback/gstdecodebin2.c: Be a bit more useful, unblock the pads after we fired the no-more-pads signal so that w...

Original commit message from CVS:
* gst/playback/gstdecodebin2.c: (gst_decode_group_expose):
Be a bit more useful, unblock the pads after we fired the no-more-pads
signal so that we can use the signal to inspect and connect all pads
without having to keep extra state outside of decodebin.

17 years agogst/playback/gsturidecodebin.c: Implement default signal handler so that we return...
Wim Taymans [Tue, 30 Oct 2007 15:00:06 +0000 (15:00 +0000)]
gst/playback/gsturidecodebin.c: Implement default signal handler so that we return TRUE when nothing is connected.

Original commit message from CVS:
* gst/playback/gsturidecodebin.c:
(gst_uri_decode_bin_autoplug_continue),
(gst_uri_decode_bin_class_init), (no_more_pads_full):
Implement default signal handler so that we return TRUE when nothing is
connected.

17 years agogst-libs/gst/riff/riff-media.c: Use the ALSA channel layout as default for wav files...
Sebastian Dröge [Sun, 28 Oct 2007 11:53:36 +0000 (11:53 +0000)]
gst-libs/gst/riff/riff-media.c: Use the ALSA channel layout as default for wav files without channel layout informati...

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_wavext_add_channel_layout),
(gst_riff_wave_add_default_channel_layout),
(gst_riff_wavext_get_default_channel_mask),
(gst_riff_create_audio_caps):
Use the ALSA channel layout as default for wav files without channel
layout information. This fixes playback of chan-id.wav on 5.1 systems
for example. Also refactor the channel layout setting a bit and add
more default channel orders. Fixes #489010.

17 years agoUse the ALSA channel layout as default for wav files without channel layout informati...
Sebastian Dröge [Sun, 28 Oct 2007 11:46:48 +0000 (11:46 +0000)]
Use the ALSA channel layout as default for wav files without channel layout information. This fixes playback of chan-...

Original commit message from CVS:
(gst_riff_wavext_add_channel_layout),
(gst_riff_wave_add_default_channel_layout),
(gst_riff_wavext_get_default_channel_mask),
(gst_riff_create_audio_caps):
Use the ALSA channel layout as default for wav files without channel
layout information. This fixes playback of chan-id.wav on 5.1 systems
for example. Also refactor the channel layout setting a bit and add
more default channel orders. Fixes #489010.

17 years agotests/check/libs/tag.c: GST_TAG_MUSICBRAINZ_SORTNAME is deprecated and we compile...
Tim-Philipp Müller [Fri, 26 Oct 2007 18:57:33 +0000 (18:57 +0000)]
tests/check/libs/tag.c: GST_TAG_MUSICBRAINZ_SORTNAME is deprecated and we compile with

Original commit message from CVS:
* tests/check/libs/tag.c: (test_musicbrainz_tag_registration):
GST_TAG_MUSICBRAINZ_SORTNAME is deprecated and we compile with
-DGST_DISABLE_DEPRECATED, so use new GST_TAG_ARTIST_SORTNAME
instead.

17 years agoupdate spec file
Christian Schaller [Fri, 26 Oct 2007 12:07:14 +0000 (12:07 +0000)]
update spec file

Original commit message from CVS:
update spec file

17 years agogst/playback/gstdecodebin2.c: Move subtitle encoding property to decodebin2 so that...
Wim Taymans [Thu, 25 Oct 2007 17:36:49 +0000 (17:36 +0000)]
gst/playback/gstdecodebin2.c: Move subtitle encoding property to decodebin2 so that it can set the property value on ...

Original commit message from CVS:
* gst/playback/gstdecodebin2.c: (gst_decode_bin_class_init),
(gst_decode_bin_dispose), (gst_decode_bin_set_caps),
(gst_decode_bin_set_subs_encoding),
(gst_decode_bin_get_subs_encoding), (gst_decode_bin_set_property),
(gst_decode_bin_get_property), (analyze_new_pad):
Move subtitle encoding property to decodebin2 so that it can set the
property value on all elements that it autoplugs and that require it.
Make caps refcounting more consistent in get/set.
* gst/playback/gsturidecodebin.c: (_gst_boolean_accumulator),
(gst_uri_decode_bin_class_init), (gst_uri_decode_bin_init),
(gst_uri_decode_bin_finalize), (gst_uri_decode_bin_set_property),
(gst_uri_decode_bin_get_property), (proxy_unknown_type_signal),
(proxy_autoplug_continue_signal),
(proxy_autoplug_factories_signal), (proxy_autoplug_select_signal),
(make_decoder):
Proxy properties and relevant signals from the internal decodebin.
Make properties MT safe.

17 years agogst-libs/gst/tag/: Deprecate GST_TAG_MUSICBRAINZ_SORTNAME, replaced by the newly...
Tim-Philipp Müller [Thu, 25 Oct 2007 15:10:59 +0000 (15:10 +0000)]
gst-libs/gst/tag/: Deprecate GST_TAG_MUSICBRAINZ_SORTNAME, replaced by the newly-added

Original commit message from CVS:
* gst-libs/gst/tag/tag.h: (GST_TAG_MUSICBRAINZ_SORTNAME):
* gst-libs/gst/tag/tags.c:
Deprecate GST_TAG_MUSICBRAINZ_SORTNAME, replaced by the newly-added
GST_TAG_ARTIST_SORTNAME (in an API and ABI compatible way).
* gst-libs/gst/tag/gstid3tag.c: (tag_matches):
Map ID3v2 TSOP, TSOA and TSOT frames to new SORTNAME tags (#414539).
* gst-libs/gst/tag/gstvorbistag.c: (tag_matches),
(gst_tag_to_vorbis_comments):
Map new SORTNAME tags (these tags aren't even semi-official, so I'm
just mapping everything I found in the wild) (#414539).

17 years agogst/playback/: Remove the autoplug-sort signal and replace it with a binding friendly...
Wim Taymans [Wed, 24 Oct 2007 11:07:57 +0000 (11:07 +0000)]
gst/playback/: Remove the autoplug-sort signal and replace it with a binding friendly autoplug-select signal.

Original commit message from CVS:
Inspired by patch of: René Stadler <mail at renestadler dot de>
* gst/playback/gstdecodebin2.c: (gst_decode_bin_class_init),
(gst_decode_bin_autoplug_continue),
(gst_decode_bin_autoplug_factories),
(gst_decode_bin_autoplug_select), (analyze_new_pad), (connect_pad),
(find_compatibles):
* gst/playback/gstplay-marshal.list:
Remove the autoplug-sort signal and replace it with a binding friendly
autoplug-select signal.
Add an autoplug-factories signal that can be used to generate a list of
factories to try to autoplug.
Add the GstPad to the autoplugging signal args as it might be needed to
make a good factory selection.
Fix up the marshallers for this. Fixes #407282.

17 years agogst-libs/gst/tag/gsttagdemux.c: Don't abort with an assertion if we receive a seek...
Tim-Philipp Müller [Tue, 23 Oct 2007 14:23:14 +0000 (14:23 +0000)]
gst-libs/gst/tag/gsttagdemux.c: Don't abort with an assertion if we receive a seek event with a start type of NONE (s...

Original commit message from CVS:
* gst-libs/gst/tag/gsttagdemux.c:
Don't abort with an assertion if we receive a seek event with
a start type of NONE (see launchpad bug #155878).

17 years agosys/: Make sure that before we clean up the X resources, we shutdown and join the...
Wim Taymans [Mon, 22 Oct 2007 10:21:46 +0000 (10:21 +0000)]
sys/: Make sure that before we clean up the X resources, we shutdown and join the event thread.

Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_event_thread),
(gst_ximagesink_xcontext_get), (gst_ximagesink_xcontext_clear),
(gst_ximagesink_change_state), (gst_ximagesink_reset):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_event_thread),
(gst_xvimagesink_xcontext_get), (gst_xvimagesink_xcontext_clear),
(gst_xvimagesink_change_state), (gst_xvimagesink_reset):
Make sure that before we clean up the X resources, we shutdown and join
the event thread.
Also make sure the event thread does not shut down immediatly after
startup because the running variable is not yet correctly set.
Fixes #378770.

17 years agogst/playback/gstdecodebin.c: Make the window for a race in typefind and shutting...
Wim Taymans [Tue, 16 Oct 2007 16:48:38 +0000 (16:48 +0000)]
gst/playback/gstdecodebin.c: Make the window for a race in typefind and shutting down smaller until we figure out the...

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (new_pad), (type_found):
Make the window for a race in typefind and shutting down smaller until
we figure out the right locking here. Avoids #485753 usually.
* gst/playback/gstdecodebin2.c: (type_found), (pad_added_group_cb):
Remove unneeded lock causing a race in typefind and shutting down.
Fixes #485753.
* gst/playback/gstplaybin.c: (gst_play_bin_change_state):
Also remove sinks when going to NULL because we might not complete the
state change to PAUSED, causing the PAUSED->READY state change not to
happen.

17 years agogst-libs/gst/audio/gstbaseaudiosink.c: Also explicitly release the ringbuffer when...
Wim Taymans [Tue, 16 Oct 2007 15:33:31 +0000 (15:33 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Also explicitly release the ringbuffer when going to NULL because it is requir...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_drain), (gst_base_audio_sink_change_state):
Also explicitly release the ringbuffer when going to NULL because it
is required in the setcaps function, before the state change to PAUSED
completes.

17 years agotests/icles/: Does what it says on the tin.
Tim-Philipp Müller [Tue, 16 Oct 2007 14:58:53 +0000 (14:58 +0000)]
tests/icles/: Does what it says on the tin.

Original commit message from CVS:
* tests/icles/.cvsignore:
* tests/icles/Makefile.am:
* tests/icles/stress-playbin.c:
Does what it says on the tin.

17 years agogst/playback/gstqueue2.c: Fix queue negotiation. See #486758.
Wim Taymans [Mon, 15 Oct 2007 11:38:39 +0000 (11:38 +0000)]
gst/playback/gstqueue2.c: Fix queue negotiation. See #486758.

Original commit message from CVS:
* gst/playback/gstqueue2.c: (gst_queue_init), (gst_queue_push_one):
Fix queue negotiation. See #486758.

17 years agoActual code change to go along with:
Jan Schmidt [Fri, 12 Oct 2007 10:52:18 +0000 (10:52 +0000)]
Actual code change to go along with:

Original commit message from CVS:
Actual code change to go along with:

2007-10-12  Jan Schmidt  <Jan.Schmidt@sun.com>

* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_decorate),
(gst_xvimagesink_xwindow_new),
(gst_xvimagesink_update_colorbalance),
(gst_xvimagesink_handle_xevents), (gst_xvimagesink_xcontext_get):

Fix handling of some of the X atoms. If the last parameter is True,
XInternAtom won't create the atom if it doesn't exist, and therefore
might return None. This causes X errors on Xv implementations that
don't provide the colour balance attributes.

17 years agoRemove stray character from the changelog.
Jan Schmidt [Fri, 12 Oct 2007 10:37:09 +0000 (10:37 +0000)]
Remove stray character from the changelog.

Original commit message from CVS:
Remove stray character from the changelog.

17 years agoI'm too lazy to comment this
Jan Schmidt [Fri, 12 Oct 2007 10:33:27 +0000 (10:33 +0000)]
I'm too lazy to comment this

Original commit message from CVS:
*** empty log message ***

17 years agoExtract vorbis comment LICENSE tags correctly.
Tim-Philipp Müller [Thu, 11 Oct 2007 18:24:09 +0000 (18:24 +0000)]
Extract vorbis comment LICENSE tags correctly.

Original commit message from CVS:
* gst-libs/gst/tag/gstvorbistag.c:
* tests/check/libs/tag.c:
Extract vorbis comment LICENSE tags correctly.

17 years agoMap ID3v2 WCOP frame to GST_TAG_COPYRIGHT_URI (#447000).
Jason Kivlighn [Thu, 11 Oct 2007 16:12:21 +0000 (16:12 +0000)]
Map ID3v2 WCOP frame to GST_TAG_COPYRIGHT_URI (#447000).

Original commit message from CVS:
Patch by: Jason Kivlighn  <jkivlighn gmail com>
* gst-libs/gst/tag/gstid3tag.c:
* tests/check/libs/tag.c:
Map ID3v2 WCOP frame to GST_TAG_COPYRIGHT_URI (#447000).

17 years agogst-libs/gst/tag/gsttagdemux.c: Don't error out when a buggy downstream element doesn...
Tim-Philipp Müller [Wed, 10 Oct 2007 17:01:51 +0000 (17:01 +0000)]
gst-libs/gst/tag/gsttagdemux.c: Don't error out when a buggy downstream element doesn't handle the newsegment event w...

Original commit message from CVS:
* gst-libs/gst/tag/gsttagdemux.c:
Don't error out when a buggy downstream element doesn't
handle the newsegment event we send properly (especially
not without posting a meaningful error message on the
bus). See bug #471370 and launchpad bug #136264.

17 years agogst-libs/gst/audio/gstbaseaudiosink.c: Use new basesink method to make our EOS drain...
Wim Taymans [Wed, 10 Oct 2007 15:36:56 +0000 (15:36 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Use new basesink method to make our EOS drain interruptable.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_drain):
Use new basesink method to make our EOS drain interruptable.

17 years agogst-libs/gst/rtp/gstrtppayloads.c: Fix silly search-replace oversight.
Jan Schmidt [Wed, 10 Oct 2007 09:37:09 +0000 (09:37 +0000)]
gst-libs/gst/rtp/gstrtppayloads.c: Fix silly search-replace oversight.

Original commit message from CVS:
* gst-libs/gst/rtp/gstrtppayloads.c:
Fix silly search-replace oversight.

17 years agogst-libs/gst/rtp/gstbasertppayload.c: Fix caps memleak. Fixes #484989.
Laurent Glayal [Tue, 9 Oct 2007 09:57:17 +0000 (09:57 +0000)]
gst-libs/gst/rtp/gstbasertppayload.c: Fix caps memleak. Fixes #484989.

Original commit message from CVS:
Patch by: Laurent Glayal <spglegle at yahoo dot fr>
* gst-libs/gst/rtp/gstbasertppayload.c: (copy_fixed),
(gst_basertppayload_set_outcaps):
Fix caps memleak. Fixes #484989.

17 years agogst-libs/gst/rtp/gstbasertpdepayload.c: Fix debug output.
Wim Taymans [Mon, 8 Oct 2007 18:04:34 +0000 (18:04 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.c: Fix debug output.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_setcaps), (gst_base_rtp_depayload_chain):
Fix debug output.

17 years agogst-libs/gst/audio/gstbaseaudiosrc.c: Also handle the case where there is no clock...
Wim Taymans [Mon, 8 Oct 2007 18:02:53 +0000 (18:02 +0000)]
gst-libs/gst/audio/gstbaseaudiosrc.c: Also handle the case where there is no clock set on the audio source, like in t...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_create):
Also handle the case where there is no clock set on the audio source,
like in the unit tests.

17 years agogst-libs/gst/rtp/gstrtppayloads.c: Use unsigned G_MAXUINT8 instead of -1 to initialis...
Jan Schmidt [Mon, 8 Oct 2007 17:40:17 +0000 (17:40 +0000)]
gst-libs/gst/rtp/gstrtppayloads.c: Use unsigned G_MAXUINT8 instead of -1 to initialise a guint8 to avoid compiler war...

Original commit message from CVS:
* gst-libs/gst/rtp/gstrtppayloads.c:
Use unsigned G_MAXUINT8 instead of -1 to initialise a guint8
to avoid compiler warnings

17 years agogst/playback/: Don't disconnect the have_type signal because we never reconnect it...
Wim Taymans [Mon, 8 Oct 2007 17:12:32 +0000 (17:12 +0000)]
gst/playback/: Don't disconnect the have_type signal because we never reconnect it later on. Instead keep a variable ...

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (type_found),
(gst_decode_bin_change_state):
* gst/playback/gstdecodebin2.c: (type_found),
(gst_decode_bin_change_state):
Don't disconnect the have_type signal because we never reconnect it
later on. Instead keep a variable to see if we already detected a type.

17 years agogst/playback/: Unlink the signal handler when we found the type, we're not going...
Wim Taymans [Mon, 8 Oct 2007 10:47:26 +0000 (10:47 +0000)]
gst/playback/: Unlink the signal handler when we found the type, we're not going to do anything sensible with more ty...

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (add_fakesink), (type_found):
* gst/playback/gstdecodebin2.c: (gst_decode_bin_init),
(type_found):
Unlink the signal handler when we found the type, we're not going to do
anything sensible with more type_found signals anyway.

17 years agoext/gio/gstgio.c: Use GIO function to get a list of supported URI schemes instead...
Sebastian Dröge [Mon, 8 Oct 2007 06:07:22 +0000 (06:07 +0000)]
ext/gio/gstgio.c: Use GIO function to get a list of supported URI schemes instead of hard coding something.

Original commit message from CVS:
* ext/gio/gstgio.c: (gst_gio_get_supported_protocols):
Use GIO function to get a list of supported URI schemes instead of
hard coding something.

17 years agogst-libs/gst/tag/gsttagdemux.c: Don't leak caps.
Tim-Philipp Müller [Sat, 6 Oct 2007 16:49:55 +0000 (16:49 +0000)]
gst-libs/gst/tag/gsttagdemux.c: Don't leak caps.

Original commit message from CVS:
* gst-libs/gst/tag/gsttagdemux.c:
Don't leak caps.

17 years agogst-libs/gst/tag/: API: add GstTagDemux base class for simple tag demuxers.
Tim-Philipp Müller [Sat, 6 Oct 2007 15:04:53 +0000 (15:04 +0000)]
gst-libs/gst/tag/: API: add GstTagDemux base class for simple tag demuxers.

Original commit message from CVS:
* gst-libs/gst/tag/Makefile.am:
* gst-libs/gst/tag/gsttagdemux.c:
* gst-libs/gst/tag/gsttagdemux.h:
API: add GstTagDemux base class for simple tag demuxers.
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
Add GstTagDemux to docs.

17 years agogst-libs/gst/rtp/gstrtpbuffer.c: Fix bug introduced with last commit which inverted...
Sebastian Dröge [Fri, 5 Oct 2007 07:49:25 +0000 (07:49 +0000)]
gst-libs/gst/rtp/gstrtpbuffer.c: Fix bug introduced with last commit which inverted the logic and caused all buffers ...

Original commit message from CVS:
* gst-libs/gst/rtp/gstrtpbuffer.c:
(gst_rtp_buffer_get_payload_subbuffer):
Fix bug introduced with last commit which inverted the logic and
caused all buffers to be dropped. Fixes #483620.
Thanks to Laurent Glayal <spglegle at yahoo dot fr> for noticing.

17 years agogst-libs/gst/rtp/gstrtpbuffer.c: with regular return and warning.
Stefan Kost [Thu, 4 Oct 2007 06:50:53 +0000 (06:50 +0000)]
gst-libs/gst/rtp/gstrtpbuffer.c: with regular return and warning.

Original commit message from CVS:
* gst-libs/gst/rtp/gstrtpbuffer.c:
Replace g_return_if_val (as it could be disabled), with regular return
and warning.

17 years agotests/check/pipelines/simple-launch-lines.c: Print message name and not just number.
Stefan Kost [Wed, 3 Oct 2007 14:51:59 +0000 (14:51 +0000)]
tests/check/pipelines/simple-launch-lines.c: Print message name and not just number.

Original commit message from CVS:
* tests/check/pipelines/simple-launch-lines.c:
Print message name and not just number.

17 years agogst-libs/gst/audio/gstbaseaudiosink.c: When slaved to the clock, don't try to align...
Wim Taymans [Tue, 2 Oct 2007 11:11:13 +0000 (11:11 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: When slaved to the clock, don't try to align a sample with the previous one wh...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_async_play):
When slaved to the clock, don't try to align a sample with the previous
one when going to PLAYING again.

17 years agotests/examples/snapshot/snapshot.c: Fix the build.
Stefan Kost [Tue, 2 Oct 2007 09:04:03 +0000 (09:04 +0000)]
tests/examples/snapshot/snapshot.c: Fix the build.

Original commit message from CVS:
* tests/examples/snapshot/snapshot.c:
Fix the build.

17 years agoext/gio/gstgiosink.c: Update to API changes in GIO.
Sebastian Dröge [Tue, 2 Oct 2007 07:43:57 +0000 (07:43 +0000)]
ext/gio/gstgiosink.c: Update to API changes in GIO.

Original commit message from CVS:
* ext/gio/gstgiosink.c: (gst_gio_sink_start):
Update to API changes in GIO.

17 years agogst-libs/gst/sdp/gstsdpmessage.h: Add RFC 3556 bandwidth modifiers.
Wim Taymans [Mon, 1 Oct 2007 16:33:00 +0000 (16:33 +0000)]
gst-libs/gst/sdp/gstsdpmessage.h: Add RFC 3556 bandwidth modifiers.

Original commit message from CVS:
* gst-libs/gst/sdp/gstsdpmessage.h:
Add RFC 3556 bandwidth modifiers.

17 years agoUpdate documentation.
Wim Taymans [Mon, 1 Oct 2007 13:37:31 +0000 (13:37 +0000)]
Update documentation.

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/rtp/gstrtppayloads.c:
Update documentation.

17 years agogst-libs/gst/rtp/: Added new file and header to deal with payload info.
Wim Taymans [Mon, 1 Oct 2007 13:22:14 +0000 (13:22 +0000)]
gst-libs/gst/rtp/: Added new file and header to deal with payload info.

Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstrtppayloads.c: (gst_rtp_payload_info_for_pt),
(gst_rtp_payload_info_for_name):
* gst-libs/gst/rtp/gstrtppayloads.h:
Added new file and header to deal with payload info.
* gst-libs/gst/rtp/gstrtpbuffer.c: (gst_rtp_buffer_validate_data),
(gst_rtp_buffer_default_clock_rate):
* gst-libs/gst/rtp/gstrtpbuffer.h:
Payload specific stuff is move to new headers.
Implement _default_clock rate using the new payload function.
* gst-libs/gst/sdp/gstsdpmessage.c: (is_multicast_address),
(gst_sdp_parse_line):
* gst-libs/gst/sdp/gstsdpmessage.h:
Add some more comments.

17 years agogst/typefind/gsttypefindfunctions.c: Add typefind function for application/sdp.
Wim Taymans [Mon, 1 Oct 2007 10:22:46 +0000 (10:22 +0000)]
gst/typefind/gsttypefindfunctions.c: Add typefind function for application/sdp.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (utf8_type_find),
(sdp_check_header), (sdp_type_find), (plugin_init):
Add typefind function for application/sdp.
Remove some old dirac typefind code that was ifdeffed out.

17 years agowin32/common/libgstaudio.def: Add new exported functions.
Sébastien Moutte [Sat, 29 Sep 2007 12:04:02 +0000 (12:04 +0000)]
win32/common/libgstaudio.def: Add new exported functions.

Original commit message from CVS:
* win32/common/libgstaudio.def:
Add new exported functions.
* win32/vs6/grammar.dsp:
Add autogeneration and copy of some autegenerated files from win32/common
for rtsp library.
* win32/vs6/libgstaudioconvert.dsp:
Add gstaudioquantize.c to the build.
* win32/vs6/libgstinterfaces.dsp:
Add videoorientation.c to the build.
* win32/vs6/libgstriff.dsp:
Add libgsttag to the link libraries list.
* win32/vs6/libgstvolume.dsp:
Add liboil to the link.
* win32/vs6/gst_plugins_base.dsw:
* win32/vs6/libgstrtsp.dsp:
* win32/common/libgstrtsp.def:
Add files to build libgstrtsp library.

17 years agoext/gio/: Some minor cleanup and allow setting the location only when the element...
Sebastian Dröge [Sat, 29 Sep 2007 07:01:55 +0000 (07:01 +0000)]
ext/gio/: Some minor cleanup and allow setting the location only when the element is not playing or paused.

Original commit message from CVS:
* ext/gio/gstgiosink.c: (gst_gio_sink_base_init),
(gst_gio_sink_set_property), (gst_gio_sink_render):
* ext/gio/gstgiosrc.c: (gst_gio_src_base_init),
(gst_gio_src_set_property):
Some minor cleanup and allow setting the location only when the
element is not playing or paused.

17 years agotests/examples/snapshot/snapshot.c: Print error when pipeline failed to construct.
Wim Taymans [Wed, 26 Sep 2007 15:14:37 +0000 (15:14 +0000)]
tests/examples/snapshot/snapshot.c: Print error when pipeline failed to construct.

Original commit message from CVS:
* tests/examples/snapshot/snapshot.c: (main):
Print error when pipeline failed to construct.

17 years agoAdd mappings for the new GST_TAG_COMPOSER for vorbis comments and ID3v2 tags.
Tim-Philipp Müller [Tue, 25 Sep 2007 19:06:47 +0000 (19:06 +0000)]
Add mappings for the new GST_TAG_COMPOSER for vorbis comments and ID3v2 tags.

Original commit message from CVS:
* configure.ac:
* gst-libs/gst/tag/gstid3tag.c:
* gst-libs/gst/tag/gstvorbistag.c:
Add mappings for the new GST_TAG_COMPOSER for vorbis comments
and ID3v2 tags.

17 years agogst-libs/gst/floatcast/floatcast.h: Don't include config.h in an installed public...
Tim-Philipp Müller [Tue, 25 Sep 2007 11:54:09 +0000 (11:54 +0000)]
gst-libs/gst/floatcast/floatcast.h: Don't include config.h in an installed public header, this might break compilatio...

Original commit message from CVS:
* gst-libs/gst/floatcast/floatcast.h:
Don't include config.h in an installed public header, this
might break compilation of applications that don't have such
a header and doesn't necessarily do what it's supposed to do
anyway (ie. check for the lrint/lrintf defines) (#442065).
Add docs for the various macros and document how this header
has to be used (link against libm, etc.); add a few FIXMEs;
include math.h for non-c99 code path.  Based on patch by
Jan Schmidt.

17 years agoconfigure.ac: Use AG_GST_ARG_WITH_PLUGINS and AG_GST_ARG_ENABLE_EXTERNAL instead...
Sebastian Dröge [Tue, 25 Sep 2007 07:50:59 +0000 (07:50 +0000)]
configure.ac: Use AG_GST_ARG_WITH_PLUGINS and AG_GST_ARG_ENABLE_EXTERNAL instead of duplicating these macros in confi...

Original commit message from CVS:
* configure.ac:
Use AG_GST_ARG_WITH_PLUGINS and AG_GST_ARG_ENABLE_EXTERNAL instead
of duplicating these macros in configure.ac.

17 years agopo/: Updated translations to 0.10.14
Thomas Vander Stichele [Sat, 22 Sep 2007 17:58:22 +0000 (17:58 +0000)]
po/: Updated translations to 0.10.14

Original commit message from CVS:
* po/hu.po:
* po/sv.po:
* po/uk.po:
Updated translations to 0.10.14

17 years agoadd languages
Thomas Vander Stichele [Sat, 22 Sep 2007 17:57:08 +0000 (17:57 +0000)]
add languages

Original commit message from CVS:
add languages

17 years agopo/pl.po: Added Polish translation.
Thomas Vander Stichele [Sat, 22 Sep 2007 17:56:28 +0000 (17:56 +0000)]
po/pl.po: Added Polish translation.

Original commit message from CVS:
translated by: Jakub Bogusz <qboosh@pld-linux.org>
* po/pl.po:
Added Polish translation.

17 years agopo/fi.po: Added Finnish translation.
Thomas Vander Stichele [Sat, 22 Sep 2007 17:55:37 +0000 (17:55 +0000)]
po/fi.po: Added Finnish translation.

Original commit message from CVS:
translated by: Ilkka Tuohela <hile@iki.fi>
* po/fi.po:
Added Finnish translation.

17 years agopo/es.po: Added Spanish translation.
Thomas Vander Stichele [Sat, 22 Sep 2007 17:54:50 +0000 (17:54 +0000)]
po/es.po: Added Spanish translation.

Original commit message from CVS:
translated by: Jorge González González <aloriel@gmail.com>
* po/es.po:
Added Spanish translation.

17 years agopo/da.po: Added Danish translation.
Thomas Vander Stichele [Sat, 22 Sep 2007 17:53:59 +0000 (17:53 +0000)]
po/da.po: Added Danish translation.

Original commit message from CVS:
translated by: Mogens Jaeger <mogens@jaeger.tf>
* po/da.po:
Added Danish translation.

17 years agopo/zh_CN.po: Added Chinese (simplified) translation.
Thomas Vander Stichele [Sat, 22 Sep 2007 17:52:56 +0000 (17:52 +0000)]
po/zh_CN.po: Added Chinese (simplified) translation.

Original commit message from CVS:
translated by: Funda Wang <fundawang@linux.net.cn>
* po/zh_CN.po:
Added Chinese (simplified) translation.

17 years agopo/bg.po: Added Bulgarian translation.
Thomas Vander Stichele [Sat, 22 Sep 2007 17:51:45 +0000 (17:51 +0000)]
po/bg.po: Added Bulgarian translation.

Original commit message from CVS:
translated by: Alexander Shopov <ash@contact.bg>
* po/bg.po:
Added Bulgarian translation.

17 years agodocs/plugins/gst-plugins-bad-plugins.hierarchy: Update hierarchy.
Sebastian Dröge [Fri, 21 Sep 2007 18:00:24 +0000 (18:00 +0000)]
docs/plugins/gst-plugins-bad-plugins.hierarchy: Update hierarchy.

Original commit message from CVS:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
Update hierarchy.
* ext/gio/gstgiosink.h:
* ext/gio/gstgiosrc.h:
Mark private fields of the instance structs private.

17 years agodocs/plugins/: Add the GIO plugin to the docs and do a make update while doing that.
Sebastian Dröge [Fri, 21 Sep 2007 17:31:05 +0000 (17:31 +0000)]
docs/plugins/: Add the GIO plugin to the docs and do a make update while doing that.

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:
* docs/plugins/gst-plugins-bad-plugins.args:
* docs/plugins/gst-plugins-bad-plugins.signals:
* docs/plugins/inspect/plugin-bz2.xml:
* docs/plugins/inspect/plugin-cdxaparse.xml:
* docs/plugins/inspect/plugin-dfbvideosink.xml:
* docs/plugins/inspect/plugin-dtsdec.xml:
* docs/plugins/inspect/plugin-equalizer.xml:
* docs/plugins/inspect/plugin-faac.xml:
* docs/plugins/inspect/plugin-faad.xml:
* docs/plugins/inspect/plugin-filter.xml:
* docs/plugins/inspect/plugin-freeze.xml:
* docs/plugins/inspect/plugin-gio.xml:
* docs/plugins/inspect/plugin-gsm.xml:
* docs/plugins/inspect/plugin-gstrtpmanager.xml:
* docs/plugins/inspect/plugin-h264parse.xml:
* docs/plugins/inspect/plugin-modplug.xml:
* docs/plugins/inspect/plugin-mpeg2enc.xml:
* docs/plugins/inspect/plugin-musepack.xml:
* docs/plugins/inspect/plugin-musicbrainz.xml:
* docs/plugins/inspect/plugin-nsfdec.xml:
* docs/plugins/inspect/plugin-replaygain.xml:
* docs/plugins/inspect/plugin-soundtouch.xml:
* docs/plugins/inspect/plugin-spcdec.xml:
* docs/plugins/inspect/plugin-spectrum.xml:
* docs/plugins/inspect/plugin-speed.xml:
* docs/plugins/inspect/plugin-tta.xml:
* docs/plugins/inspect/plugin-videosignal.xml:
* docs/plugins/inspect/plugin-xingheader.xml:
* docs/plugins/inspect/plugin-xvid.xml:
Add the GIO plugin to the docs and do a make update
while doing that.
* ext/gio/gstgiosrc.c: (gst_gio_src_start):
Fix a small memleak.

17 years agoAdd a GIO/GVFS plugin with source and sink elements. This will only be enabled when...
René Stadler [Fri, 21 Sep 2007 17:07:56 +0000 (17:07 +0000)]
Add a GIO/GVFS plugin with source and sink elements. This will only be enabled when --enable-experimental is given to...

Original commit message from CVS:
Patch by: René Stadler <mail at renestadler dot de>
* configure.ac:
* ext/Makefile.am:
* ext/gio/Makefile.am:
* ext/gio/gstgio.c: (gst_gio_error), (gst_gio_seek),
(gst_gio_get_supported_protocols),
(gst_gio_uri_handler_get_type_sink),
(gst_gio_uri_handler_get_type_src),
(gst_gio_uri_handler_get_protocols), (gst_gio_uri_handler_get_uri),
(gst_gio_uri_handler_set_uri), (gst_gio_uri_handler_init),
(gst_gio_uri_handler_do_init), (plugin_init):
* ext/gio/gstgio.h:
* ext/gio/gstgiosink.c: (gst_gio_sink_base_init),
(gst_gio_sink_class_init), (gst_gio_sink_init),
(gst_gio_sink_finalize), (gst_gio_sink_set_property),
(gst_gio_sink_get_property), (gst_gio_sink_start),
(gst_gio_sink_stop), (gst_gio_sink_unlock),
(gst_gio_sink_unlock_stop), (gst_gio_sink_event),
(gst_gio_sink_render), (gst_gio_sink_query):
* ext/gio/gstgiosink.h:
* ext/gio/gstgiosrc.c: (gst_gio_src_base_init),
(gst_gio_src_class_init), (gst_gio_src_init),
(gst_gio_src_finalize), (gst_gio_src_set_property),
(gst_gio_src_get_property), (gst_gio_src_start),
(gst_gio_src_stop), (gst_gio_src_get_size),
(gst_gio_src_is_seekable), (gst_gio_src_unlock),
(gst_gio_src_unlock_stop), (gst_gio_src_check_get_range),
(gst_gio_src_create):
* ext/gio/gstgiosrc.h:
Add a GIO/GVFS plugin with source and sink elements. This will
only be enabled when --enable-experimental is given to configure
for now as the GIO API is not stable yet. Fixes #476916.

17 years agogst/playback/gstqueue2.c: Fix compilation wrt printf arguments.
Wim Taymans [Fri, 21 Sep 2007 14:37:26 +0000 (14:37 +0000)]
gst/playback/gstqueue2.c: Fix compilation wrt printf arguments.

Original commit message from CVS:
* gst/playback/gstqueue2.c: (gst_queue_push_one):
Fix compilation wrt printf arguments.

17 years agoexamples/app/appsrc_ex.c: Fix compilation after changing the name of a method.
Wim Taymans [Thu, 20 Sep 2007 17:38:10 +0000 (17:38 +0000)]
examples/app/appsrc_ex.c: Fix compilation after changing the name of a method.

Original commit message from CVS:
* examples/app/appsrc_ex.c: (main):
Fix compilation after changing the name of a method.

17 years agoAdd simple snapshot example program using appsink.
Wim Taymans [Thu, 20 Sep 2007 14:09:24 +0000 (14:09 +0000)]
Add simple snapshot example program using appsink.

Original commit message from CVS:
* configure.ac:
* tests/examples/Makefile.am:
* tests/examples/snapshot/.cvsignore:
* tests/examples/snapshot/Makefile.am:
* tests/examples/snapshot/snapshot.c: (main):
Add simple snapshot example program using appsink.

17 years agogst-libs/gst/app/gstappsink.*: Add properties, signals and actions to access the...
Wim Taymans [Thu, 20 Sep 2007 13:59:50 +0000 (13:59 +0000)]
gst-libs/gst/app/gstappsink.*: Add properties, signals and actions to access the element even without linking to the ...

Original commit message from CVS:
* gst-libs/gst/app/gstappsink.c: (gst_app_marshal_OBJECT__VOID),
(gst_app_sink_class_init), (gst_app_sink_init),
(gst_app_sink_dispose), (gst_app_sink_finalize),
(gst_app_sink_set_property), (gst_app_sink_get_property),
(gst_app_sink_flush_unlocked), (gst_app_sink_start),
(gst_app_sink_event), (gst_app_sink_getcaps),
(gst_app_sink_set_caps), (gst_app_sink_get_caps),
(gst_app_sink_is_eos), (gst_app_sink_pull_preroll),
(gst_app_sink_pull_buffer):
* gst-libs/gst/app/gstappsink.h:
Add properties, signals and actions to access the element even without
linking to the library.
Fix some method names and signatures.

17 years agotests/check/generic/states.c: Improved state change unit test.
Stefan Kost [Thu, 20 Sep 2007 10:37:02 +0000 (10:37 +0000)]
tests/check/generic/states.c: Improved state change unit test.

Original commit message from CVS:
* tests/check/generic/states.c:
Improved state change unit test.

17 years agoIgnore registries in any format.
Stefan Kost [Wed, 19 Sep 2007 18:16:58 +0000 (18:16 +0000)]
Ignore registries in any format.

Original commit message from CVS:
* docs/plugins/.cvsignore:
* tests/check/.cvsignore:
Ignore registries in any format.

17 years agogst-libs/gst/rtp/gstbasertpdepayload.c: Only copy timestamp on outgoing packets if...
Wim Taymans [Wed, 19 Sep 2007 16:09:57 +0000 (16:09 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.c: Only copy timestamp on outgoing packets if the depayloader did not set one.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_chain),
(gst_base_rtp_depayload_set_gst_timestamp):
Only copy timestamp on outgoing packets if the depayloader did not set
one.
Also copy duration on outgoing packets.

17 years agogst-libs/gst/rtp/gstbasertppayload.c: Fix compilation because of missing %d in printf.
Wim Taymans [Wed, 19 Sep 2007 15:55:08 +0000 (15:55 +0000)]
gst-libs/gst/rtp/gstbasertppayload.c: Fix compilation because of missing %d in printf.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertppayload.c: (copy_fixed),
(gst_basertppayload_set_outcaps):
Fix compilation because of missing %d in printf.
When fixating caps, fixate what we can and throw away all remaining
unfixed caps, subclasses should do something smart if they need to.

17 years agoext/gnomevfs/gstgnomevfssrc.c: Improve debug logs a bit and be more verbose if things...
Stefan Kost [Wed, 19 Sep 2007 12:04:21 +0000 (12:04 +0000)]
ext/gnomevfs/gstgnomevfssrc.c: Improve debug logs a bit and be more verbose if things go wrong.

Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c:
Improve debug logs a bit and be more verbose if things go wrong.

17 years agoFix a bunch of compile warnings shown with Forte.
Jan Schmidt [Mon, 17 Sep 2007 17:24:55 +0000 (17:24 +0000)]
Fix a bunch of compile warnings shown with Forte.

Original commit message from CVS:
* ext/pango/gsttextoverlay.c: (gst_text_overlay_init),
(gst_text_overlay_set_property):
* ext/vorbis/vorbisdec.c: (vorbis_handle_data_packet):
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
* gst-libs/gst/rtp/gstrtcpbuffer.c: (gst_rtcp_ntp_to_unix),
(gst_rtcp_unix_to_ntp):
* gst-libs/gst/rtsp/gstrtspmessage.c: (gst_rtsp_message_get_type):
* gst/playback/gstqueue2.c:
* tests/examples/seek/seek.c: (set_scale):
Fix a bunch of compile warnings shown with Forte.
* gst/audiorate/gstaudiorate.c:
Always pull in config.h before including any system headers.

17 years agogst/playback/gstqueue2.c: Also fix #476514 for queue2.
Wim Taymans [Mon, 17 Sep 2007 16:22:17 +0000 (16:22 +0000)]
gst/playback/gstqueue2.c: Also fix #476514 for queue2.

Original commit message from CVS:
* gst/playback/gstqueue2.c: (update_buffering),
(gst_queue_locked_flush), (gst_queue_locked_enqueue),
(gst_queue_handle_sink_event), (gst_queue_chain),
(gst_queue_push_one), (gst_queue_sink_activate_push),
(gst_queue_src_activate_push), (gst_queue_src_activate_pull):
Also fix #476514 for queue2.

17 years agogst-libs/gst/rtp/gstbasertpdepayload.c: Remove code to deal with RTP to GST time...
Wim Taymans [Sun, 16 Sep 2007 19:31:06 +0000 (19:31 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.c: Remove code to deal with RTP to GST time conversion, we now just copy the GST...

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_init), (gst_base_rtp_depayload_setcaps),
(gst_base_rtp_depayload_chain),
(gst_base_rtp_depayload_handle_sink_event),
(gst_base_rtp_depayload_push_full),
(gst_base_rtp_depayload_set_gst_timestamp),
(gst_base_rtp_depayload_change_state):
Remove code to deal with RTP to GST time conversion, we now just copy
the GST timestamp we receive to the outgoing buffers.
Handle segment and flushes correctly.
* gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_push):
When we have no valid input timestamp, use the previous rtp timestamp on
the outgoing RTP packet instead of the RTP base time.

17 years agoext/alsa/: Change alsa alloca's to malloc to fix warnings on gcc-4.2.
David Schleef [Sun, 16 Sep 2007 01:56:21 +0000 (01:56 +0000)]
ext/alsa/: Change alsa alloca's to malloc to fix warnings on gcc-4.2.

Original commit message from CVS:
* ext/alsa/gstalsa.c:
* ext/alsa/gstalsadeviceprobe.c:
* ext/alsa/gstalsamixer.c:
* ext/alsa/gstalsasink.c:
* ext/alsa/gstalsasrc.c:
Change alsa alloca's to malloc to fix warnings on gcc-4.2.

17 years agogst-libs/gst/rtp/gstbasertppayload.c: Add some debug info when negotiating caps.
Wim Taymans [Sat, 15 Sep 2007 18:41:27 +0000 (18:41 +0000)]
gst-libs/gst/rtp/gstbasertppayload.c: Add some debug info when negotiating caps.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_set_outcaps), (gst_basertppayload_push):
Add some debug info when negotiating caps.

17 years agogst-libs/gst/rtp/gstrtpbuffer.c: A buffer with an empty payload is also a valid buffer.
Wim Taymans [Sat, 15 Sep 2007 00:29:11 +0000 (00:29 +0000)]
gst-libs/gst/rtp/gstrtpbuffer.c: A buffer with an empty payload is also a valid buffer.

Original commit message from CVS:
* gst-libs/gst/rtp/gstrtpbuffer.c: (gst_rtp_buffer_validate_data):
A buffer with an empty payload is also a valid buffer.

17 years agogst-libs/gst/rtp/gstbasertppayload.c: Make sure we start our RTP timestamp from the...
Wim Taymans [Fri, 14 Sep 2007 20:52:00 +0000 (20:52 +0000)]
gst-libs/gst/rtp/gstbasertppayload.c: Make sure we start our RTP timestamp from the random base RTP timestamp even if...

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_event),
(gst_basertppayload_set_outcaps), (gst_basertppayload_push),
(gst_basertppayload_change_state):
Make sure we start our RTP timestamp from the random base RTP
timestamp even if the buffer timestamp starts from some random value.

17 years agoAdd simple exmple app to demonstrate starting and pausing live and non-live bins...
Wim Taymans [Fri, 14 Sep 2007 16:56:16 +0000 (16:56 +0000)]
Add simple exmple app to demonstrate starting and pausing live and non-live bins in a PLAYING pipeline.

Original commit message from CVS:
* configure.ac:
* tests/examples/Makefile.am:
* tests/examples/dynamic/.cvsignore:
* tests/examples/dynamic/Makefile.am:
* tests/examples/dynamic/addstream.c: (create_stream),
(pause_play_stream), (message_received), (eos_message_received),
(perform_step), (main):
Add simple exmple app to demonstrate starting and pausing live and
non-live bins in a PLAYING pipeline.

17 years agogst/typefind/gsttypefindfunctions.c: Add some typefind for QCP files (RFC #3625)
Julien Moutte [Fri, 14 Sep 2007 10:42:00 +0000 (10:42 +0000)]
gst/typefind/gsttypefindfunctions.c: Add some typefind for QCP files (RFC #3625)

Original commit message from CVS:
2007-09-14  Julien MOUTTE  <julien@moutte.net>

* gst/typefind/gsttypefindfunctions.c: (plugin_init): Add some
typefind for QCP files (RFC #3625)

17 years agogst-libs/gst/audio/gstbaseaudiosink.c: Disable pull mode scheduling, we're not ready...
Wim Taymans [Thu, 13 Sep 2007 22:52:09 +0000 (22:52 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Disable pull mode scheduling, we're not ready for it yet and it subtly breaks ...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_init):
Disable pull mode scheduling, we're not ready for it yet and it subtly
breaks a lot of things.

17 years agotests/check/elements/libvisual.c: Test all libvisual plugins, not just the first...
Tim-Philipp Müller [Wed, 12 Sep 2007 17:35:52 +0000 (17:35 +0000)]
tests/check/elements/libvisual.c: Test all libvisual plugins, not just the first one; this reproduces bug #450336 qui...

Original commit message from CVS:
* tests/check/elements/libvisual.c:
Test all libvisual plugins, not just the first one; this reproduces
bug #450336 quite easily.  Looks like a problem with the 'jess'
visualisation.

17 years agotests/check/: Add basic libvisual test case in an attempt to reproduce bug #450336.
Tim-Philipp Müller [Wed, 12 Sep 2007 17:15:12 +0000 (17:15 +0000)]
tests/check/: Add basic libvisual test case in an attempt to reproduce bug #450336.

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/libvisual.c:
Add basic libvisual test case in an attempt to reproduce bug #450336.
Doesn't reproduce that bug, but some other crasher instead (invalid
free), at least with make elements/libvisual.forever and the bumscope
plugin on x86-64/gutsy. Leaving test disabled for now.

17 years agogst/: Printf format fixes (#476128).
Peter Kjellerstedt [Wed, 12 Sep 2007 08:38:21 +0000 (08:38 +0000)]
gst/: Printf format fixes (#476128).

Original commit message from CVS:
Patch by: Peter Kjellerstedt  <pkj at axis com>
* gst-libs/gst/app/gstappsink.c:
* gst/flv/gstflvdemux.c:
* gst/flv/gstflvparse.c:
* gst/interleave/deinterleave.c:
* gst/switch/gstswitch.c:
Printf format fixes (#476128).

17 years agogst-libs/gst/rtsp/gstrtspconnection.c: Make sure we can not cancel in the middle...
Tommi Myöhänen [Tue, 11 Sep 2007 19:07:57 +0000 (19:07 +0000)]
gst-libs/gst/rtsp/gstrtspconnection.c: Make sure we can not cancel in the middle of receiving a message.

Original commit message from CVS:
Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
* gst-libs/gst/rtsp/gstrtspconnection.c:
(gst_rtsp_connection_read_internal), (gst_rtsp_connection_read),
(read_body), (gst_rtsp_connection_receive):
Make sure we can not cancel in the middle of receiving a message.
Fixes #475731.

17 years agogst/playback/gstplaybasebin.c: Increase upper limit for audio queue a bit; fixes...
Josep Torra Valles [Tue, 11 Sep 2007 11:29:12 +0000 (11:29 +0000)]
gst/playback/gstplaybasebin.c: Increase upper limit for audio queue a bit; fixes preroll problem with playbin and dec...

Original commit message from CVS:
Patch by: Josep Torra Valles <josep@fluendo.com>
* gst/playback/gstplaybasebin.c:
Increase upper limit for audio queue a bit; fixes preroll problem
with playbin and decodebin2 when playing a quicktime trailer with
multichannel audio via http (#464666).

17 years agogst-libs/gst/audio/gstbaseaudiosrc.*: Allow othe clocks than the internal clock to...
Wim Taymans [Mon, 10 Sep 2007 22:10:54 +0000 (22:10 +0000)]
gst-libs/gst/audio/gstbaseaudiosrc.*: Allow othe clocks than the internal clock to be used for the pipeline.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_class_init), (gst_base_audio_src_init),
(gst_base_audio_src_provide_clock),
(gst_base_audio_src_set_property),
(gst_base_audio_src_get_property), (gst_base_audio_src_create):
* gst-libs/gst/audio/gstbaseaudiosrc.h:
Allow othe clocks than the internal clock to be used for the pipeline.
Add property to disable clock provide.
API: GstBaseAudioSrc::provide-clock

17 years agogst/playback/gstdecodebin2.c: Don't leak request pads. Fixes #475395.
Stefan Kost [Mon, 10 Sep 2007 12:05:34 +0000 (12:05 +0000)]
gst/playback/gstdecodebin2.c: Don't leak request pads. Fixes #475395.

Original commit message from CVS:
* gst/playback/gstdecodebin2.c:
Don't leak request pads. Fixes #475395.

17 years agosys/: Correctly chain up finalize with the parent class to prevent memory leaks....
René Stadler [Sun, 9 Sep 2007 10:25:43 +0000 (10:25 +0000)]
sys/: Correctly chain up finalize with the parent class to prevent memory leaks. Fixes #474880.

Original commit message from CVS:
Patch by: René Stadler <mail at renestadler dot de>
* sys/ximage/ximagesink.c: (gst_ximage_buffer_finalize),
(gst_ximage_buffer_class_init):
* sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_destroy),
(gst_xvimage_buffer_class_init):
Correctly chain up finalize with the parent class to prevent
memory leaks. Fixes #474880.

17 years agoRevert the latest change: floating point samples are allowed to have any value, not...
Sebastian Dröge [Sun, 9 Sep 2007 04:08:48 +0000 (04:08 +0000)]
Revert the latest change: floating point samples are allowed to have any value, not only values in the range [-1,1]. ...

Original commit message from CVS:
* gst/volume/gstvolume.c: (volume_choose_func):
* tests/check/elements/volume.c: (GST_START_TEST):
Revert the latest change: floating point samples are allowed to
have any value, not only values in the range [-1,1]. Thanks to Andy
Wingo for noticing.
Also fix processing of int32 samples with volumes > 4 by making the
unity value smaller which prevents overflows.

17 years agoFix gst_rtp_buffer_set_csrc() and enable csrc-related unit test checks.
Tim-Philipp Müller [Fri, 7 Sep 2007 17:37:03 +0000 (17:37 +0000)]
Fix gst_rtp_buffer_set_csrc() and enable csrc-related unit test checks.

Original commit message from CVS:
* gst-libs/gst/rtp/gstrtpbuffer.c:
* tests/check/libs/rtp.c:
Fix gst_rtp_buffer_set_csrc() and enable csrc-related unit test checks.

17 years agogst-libs/gst/rtp/gstrtpbuffer.c: Fix up GstRTPHeader helper struct so that compilers...
Haakon Sporsheim [Fri, 7 Sep 2007 16:46:05 +0000 (16:46 +0000)]
gst-libs/gst/rtp/gstrtpbuffer.c: Fix up GstRTPHeader helper struct so that compilers will not under any circumstances...

Original commit message from CVS:
Based on patch by: Haakon Sporsheim  <haakon.sporsheim at tandberg com>
* gst-libs/gst/rtp/gstrtpbuffer.c:
Fix up GstRTPHeader helper struct so that compilers will not under
any circumstances add padding in between our fields, as currently
happens with MSVC on win32, because that would lead to us sending
out RTP payloads with broken RTP headers (#471194).
Fix assertion guards for gst_rtp_buffer_get_csrc() and _set_csrc().
* tests/check/Makefile.am:
* tests/check/libs/.cvsignore:
* tests/check/libs/rtp.c:
Add some simple unit tests for GstRTPBuffer. Some are disabled
because the code tested still needs fixing (set_csrc() does not work).

17 years agoupdate spec file to include latest RTSP libraries and headers and more
Christian Schaller [Fri, 7 Sep 2007 15:05:24 +0000 (15:05 +0000)]
update spec file to include latest RTSP libraries and headers and more

Original commit message from CVS:
update spec file to include latest RTSP libraries and headers and more

17 years agowin32/: Add rtsp enumtypes (#474384) and update others.
Tim-Philipp Müller [Fri, 7 Sep 2007 12:41:01 +0000 (12:41 +0000)]
win32/: Add rtsp enumtypes (#474384) and update others.

Original commit message from CVS:
* win32/MANIFEST:
* win32/common/gstrtsp-enumtypes.c:
* win32/common/gstrtsp-enumtypes.h:
* win32/common/interfaces-enumtypes.c:
* win32/common/interfaces-enumtypes.h:
* win32/common/multichannel-enumtypes.c:
Add rtsp enumtypes (#474384) and update others.

17 years agoconfigure.ac: Fix configure check for HAVE_LIBXML_HTML.
Stefan Kost [Thu, 6 Sep 2007 20:31:50 +0000 (20:31 +0000)]
configure.ac: Fix configure check for HAVE_LIBXML_HTML.

Original commit message from CVS:
* configure.ac:
Fix configure check for HAVE_LIBXML_HTML.

17 years agotests/check/libs/.cvsignore: Ignore more, in case the build bots work again one day.
Tim-Philipp Müller [Thu, 6 Sep 2007 12:14:25 +0000 (12:14 +0000)]
tests/check/libs/.cvsignore: Ignore more, in case the build bots work again one day.

Original commit message from CVS:
* tests/check/libs/.cvsignore:
Ignore more, in case the build bots work again one day.

17 years agoAdd libgstfft, a FFT library based on Kiss FFT which is
Sebastian Dröge [Thu, 6 Sep 2007 07:00:36 +0000 (07:00 +0000)]
Add libgstfft, a FFT library based on Kiss FFT which is

Original commit message from CVS:
Reviewed by:  Stefan Kost  <ensonic@users.sf.net>
* configure.ac:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/fft/Makefile.am:
* gst-libs/gst/fft/_kiss_fft_guts_f32.h:
* gst-libs/gst/fft/_kiss_fft_guts_f64.h:
* gst-libs/gst/fft/_kiss_fft_guts_s16.h:
* gst-libs/gst/fft/_kiss_fft_guts_s32.h:
* gst-libs/gst/fft/gstfft.c: (gst_fft_next_fast_length):
* gst-libs/gst/fft/gstfft.h:
* gst-libs/gst/fft/gstfftf32.c: (gst_fft_f32_new),
(gst_fft_f32_fft), (gst_fft_f32_inverse_fft), (gst_fft_f32_free),
(gst_fft_f32_window), (gst_fft_f32_magnitude), (gst_fft_f32_phase):
* gst-libs/gst/fft/gstfftf32.h:
* gst-libs/gst/fft/gstfftf64.c: (gst_fft_f64_new),
(gst_fft_f64_fft), (gst_fft_f64_inverse_fft), (gst_fft_f64_free),
(gst_fft_f64_window), (gst_fft_f64_magnitude), (gst_fft_f64_phase):
* gst-libs/gst/fft/gstfftf64.h:
* gst-libs/gst/fft/gstffts16.c: (gst_fft_s16_new),
(gst_fft_s16_fft), (gst_fft_s16_inverse_fft), (gst_fft_s16_free),
(gst_fft_s16_window), (gst_fft_s16_magnitude), (gst_fft_s16_phase):
* gst-libs/gst/fft/gstffts16.h:
* gst-libs/gst/fft/gstffts32.c: (gst_fft_s32_new),
(gst_fft_s32_fft), (gst_fft_s32_inverse_fft), (gst_fft_s32_free),
(gst_fft_s32_window), (gst_fft_s32_magnitude), (gst_fft_s32_phase):
* gst-libs/gst/fft/gstffts32.h:
* gst-libs/gst/fft/kiss_fft_f32.c: (kf_bfly2), (kf_bfly4),
(kf_bfly3), (kf_bfly5), (kf_bfly_generic), (kf_work), (kf_factor),
(kiss_fft_f32_alloc), (kiss_fft_f32_stride), (kiss_fft_f32),
(kiss_fft_f32_cleanup), (kiss_fft_f32_next_fast_size):
* gst-libs/gst/fft/kiss_fft_f32.h:
* gst-libs/gst/fft/kiss_fft_f64.c: (kf_bfly2), (kf_bfly4),
(kf_bfly3), (kf_bfly5), (kf_bfly_generic), (kf_work), (kf_factor),
(kiss_fft_f64_alloc), (kiss_fft_f64_stride), (kiss_fft_f64),
(kiss_fft_f64_cleanup), (kiss_fft_f64_next_fast_size):
* gst-libs/gst/fft/kiss_fft_f64.h:
* gst-libs/gst/fft/kiss_fft_s16.c: (kf_bfly2), (kf_bfly4),
(kf_bfly3), (kf_bfly5), (kf_bfly_generic), (kf_work), (kf_factor),
(kiss_fft_s16_alloc), (kiss_fft_s16_stride), (kiss_fft_s16),
(kiss_fft_s16_cleanup), (kiss_fft_s16_next_fast_size):
* gst-libs/gst/fft/kiss_fft_s16.h:
* gst-libs/gst/fft/kiss_fft_s32.c: (kf_bfly2), (kf_bfly4),
(kf_bfly3), (kf_bfly5), (kf_bfly_generic), (kf_work), (kf_factor),
(kiss_fft_s32_alloc), (kiss_fft_s32_stride), (kiss_fft_s32),
(kiss_fft_s32_cleanup), (kiss_fft_s32_next_fast_size):
* gst-libs/gst/fft/kiss_fft_s32.h:
* gst-libs/gst/fft/kiss_fftr_f32.c: (kiss_fftr_f32_alloc),
(kiss_fftr_f32), (kiss_fftri_f32):
* gst-libs/gst/fft/kiss_fftr_f32.h:
* gst-libs/gst/fft/kiss_fftr_f64.c: (kiss_fftr_f64_alloc),
(kiss_fftr_f64), (kiss_fftri_f64):
* gst-libs/gst/fft/kiss_fftr_f64.h:
* gst-libs/gst/fft/kiss_fftr_s16.c: (kiss_fftr_s16_alloc),
(kiss_fftr_s16), (kiss_fftri_s16):
* gst-libs/gst/fft/kiss_fftr_s16.h:
* gst-libs/gst/fft/kiss_fftr_s32.c: (kiss_fftr_s32_alloc),
(kiss_fftr_s32), (kiss_fftri_s32):
* gst-libs/gst/fft/kiss_fftr_s32.h:
* gst-libs/gst/fft/kiss_version:
* pkgconfig/gstreamer-plugins-base-uninstalled.pc.in:
* pkgconfig/gstreamer-plugins-base.pc.in:
Add libgstfft, a FFT library based on Kiss FFT which is
BSD licensed. Supported sample formats are int16, int32,
float and double. For those formats a real FFT and IFFT
can be done, different windowing functions can be applied
and functions for extracting the magnitude and phase exist.
Fixes #468619.
* docs/libs/Makefile.am:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
Integrate libgstfft into the docs.
* tests/check/Makefile.am:
* tests/check/libs/fft.c: (GST_START_TEST), (fft_suite), (main):
Add unit tests for libgstfft, currently only testing the FFT.
Unit tests for IFFT will follow soon.

17 years agogst-libs/gst/sdp/gstsdpmessage.*: Separate INIT_ARRAY() and related macros into two...
Peter Kjellerstedt [Wed, 5 Sep 2007 23:07:40 +0000 (23:07 +0000)]
gst-libs/gst/sdp/gstsdpmessage.*: Separate INIT_ARRAY() and related macros into two versions, one for structures and ...

Original commit message from CVS:
Patch by: Peter Kjellerstedt  <pkj at axis com>
* gst-libs/gst/sdp/gstsdpmessage.c: (gst_sdp_time_init),
(gst_sdp_message_init), (gst_sdp_message_uninit),
(is_multicast_address), (gst_sdp_message_as_text),
(gst_sdp_message_get_origin), (gst_sdp_message_set_connection),
(gst_sdp_message_get_connection), (gst_sdp_message_add_bandwidth),
(gst_sdp_message_add_time), (gst_sdp_message_add_zone),
(gst_sdp_message_get_key), (gst_sdp_message_get_attribute_val_n),
(gst_sdp_message_get_attribute_val), (gst_sdp_message_add_media),
(gst_sdp_media_init), (gst_sdp_media_uninit),
(gst_sdp_media_as_text), (gst_sdp_media_set_port_info),
(gst_sdp_media_connections_len), (gst_sdp_media_add_connection),
(gst_sdp_media_bandwidths_len), (gst_sdp_media_get_bandwidth),
(gst_sdp_media_add_bandwidth), (gst_sdp_media_attributes_len),
(gst_sdp_parse_line), (print_media), (gst_sdp_message_dump):
* gst-libs/gst/sdp/gstsdpmessage.h:
Separate INIT_ARRAY() and related macros into two versions, one for
structures and one for pointers (e.g., INIT_ARRAY() and
INIT_PTR_ARRAY()). This fixes a segmentation error on freeing the
lists of emails and phone numbers.
Add missing const as appropriate.
Change all gint to guint since they all actually represent unsigned
values.
Do not use time as a variable name as it shadows the global time().
Add gst_sdp_message_as_text() and gst_sdp_media_as_text().
Actually implement gst_sdp_message_add_time().
Make gst_sdp_message_add_time() take repeat times as an argument.
Store repeat times in GstSDPTime as a GArray rather than as gchar**.
Corrected the definition of gst_sdp_media_get_bandwidth() (was
misspelled as badwidth).
gst-indented and a little clean up. Fixes #471067.

17 years agogst/volume/gstvolume.c: Correctly clamp float/double samples in the [-1.0,1.0] range...
Sebastian Dröge [Wed, 5 Sep 2007 21:20:12 +0000 (21:20 +0000)]
gst/volume/gstvolume.c: Correctly clamp float/double samples in the [-1.0,1.0] range to prevent weird effects.

Original commit message from CVS:
* gst/volume/gstvolume.c: (volume_choose_func),
(volume_process_double), (volume_process_double_clamp),
(volume_process_float_clamp):
Correctly clamp float/double samples in the [-1.0,1.0] range to
prevent weird effects.
* tests/check/elements/volume.c: (GST_START_TEST), (volume_suite):
Add unit tests for all samples types that had none before.

17 years agogst-libs/gst/rtp/gstrtpbuffer.c: Need to include stdlib.h for abs() here too.
Tim-Philipp Müller [Wed, 5 Sep 2007 14:09:15 +0000 (14:09 +0000)]
gst-libs/gst/rtp/gstrtpbuffer.c: Need to include stdlib.h for abs() here too.

Original commit message from CVS:
* gst-libs/gst/rtp/gstrtpbuffer.c:
Need to include stdlib.h for abs() here too.