platform/upstream/gstreamer.git
17 years agogst/subparse/gstsubparse.c: For SubRip (.srt) subtitles, ignore all markup tags we...
Tim-Philipp Müller [Sat, 10 Feb 2007 18:19:37 +0000 (18:19 +0000)]
gst/subparse/gstsubparse.c: For SubRip (.srt) subtitles, ignore all markup tags we don't handle (like font tags, for ...

Original commit message from CVS:
* gst/subparse/gstsubparse.c: (subrip_remove_unhandled_tag),
(subrip_remove_unhandled_tags), (parse_subrip):
For SubRip (.srt) subtitles, ignore all markup tags we don't
handle (like font tags, for example).
* tests/check/elements/subparse.c:
Add test for this.

17 years agoChangeLog surgery
Tim-Philipp Müller [Fri, 9 Feb 2007 13:28:01 +0000 (13:28 +0000)]
ChangeLog surgery

Original commit message from CVS:
ChangeLog surgery

17 years agogst/playback/: Don't error out if there is no fakesink in the READY to NULL state...
Tim-Philipp Müller [Fri, 9 Feb 2007 13:16:27 +0000 (13:16 +0000)]
gst/playback/: Don't error out if there is no fakesink in the READY to NULL state change, since when decodebin is re-...

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (add_fakesink),
(gst_decode_bin_change_state):
* gst/playback/gstdecodebin2.c: (add_fakesink),
(gst_decode_bin_change_state):
Don't error out if there is no fakesink in the READY to NULL state
change, since when decodebin is re-used, we're only adding the
fakesink element in READY to PAUSED.
* tests/check/elements/decodebin.c:
(new_decoded_pad_plug_fakesink_cb), (GST_START_TEST),
(decodebin_suite):
Minimal unit test to make sure we can use the same decodebin
instance twice (at least with audiotestsrc input).

17 years agoext/alsa/gstalsa.c: Try to get devic-name from device string first, and from handle...
Tim-Philipp Müller [Fri, 9 Feb 2007 09:58:28 +0000 (09:58 +0000)]
ext/alsa/gstalsa.c: Try to get devic-name from device string first, and from handle only as fallback (seems to yield ...

Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_find_device_name):
Try to get devic-name from device string first, and from handle only
as fallback (seems to yield better results and is more robust
against buggy probing code on the application side).

17 years agoext/alsa/: Improve device-name detection a bit, especially in the case where the...
Julien Puydt [Thu, 8 Feb 2007 15:43:26 +0000 (15:43 +0000)]
ext/alsa/: Improve device-name detection a bit, especially in the case where the device is not actually open (#405020...

Original commit message from CVS:
Based on patch by: Julien Puydt <julien.puydt at laposte net>
* ext/alsa/gstalsa.c: (gst_alsa_find_device_name_no_handle),
(gst_alsa_find_device_name):
* ext/alsa/gstalsa.h:
* ext/alsa/gstalsasink.c: (gst_alsasink_get_property):
* ext/alsa/gstalsasrc.c: (gst_alsasrc_get_property):
Improve device-name detection a bit, especially in the case where
the device is not actually open (#405020, #405024). Move common code
into gstalsa.c instead of duplicating it.

17 years agogst/audioconvert/gstaudioconvert.c: Fix up docs chunk so that gtk-doc doesn't complai...
Tim-Philipp Müller [Wed, 7 Feb 2007 13:05:01 +0000 (13:05 +0000)]
gst/audioconvert/gstaudioconvert.c: Fix up docs chunk so that gtk-doc doesn't complain, and fix typo.

Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c:
Fix up docs chunk so that gtk-doc doesn't complain, and fix typo.

17 years agosys/xvimage/xvimagesink.*: Implement PropertyProbe Interface for XVAdaptors so that...
Julien Moutte [Tue, 6 Feb 2007 17:47:32 +0000 (17:47 +0000)]
sys/xvimage/xvimagesink.*: Implement PropertyProbe Interface for XVAdaptors so that one can choose the adaptor to use...

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

* sys/xvimage/xvimagesink.c: (gst_xvimagesink_handle_xevents),
(gst_xvimagesink_get_xv_support),
(gst_xvimagesink_xcontext_clear),
(gst_xvimagesink_interface_supported),
(gst_xvimagesink_probe_get_properties),
(gst_xvimagesink_probe_probe_property),
(gst_xvimagesink_probe_needs_probe),
(gst_xvimagesink_probe_get_values),
(gst_xvimagesink_property_probe_interface_init),
(gst_xvimagesink_set_property), (gst_xvimagesink_get_property),
(gst_xvimagesink_init), (gst_xvimagesink_class_init),
(gst_xvimagesink_get_type):
* sys/xvimage/xvimagesink.h: Implement PropertyProbe Interface
for XVAdaptors so that one can choose the adaptor to use with
gstreamer-properties.

17 years agogst/audioconvert/gstaudioconvert.c: Also mention that a conversion from double to...
Stefan Kost [Tue, 6 Feb 2007 14:00:31 +0000 (14:00 +0000)]
gst/audioconvert/gstaudioconvert.c: Also mention that a conversion from double to float is suboptimal still.

Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c:
Also mention that a conversion from double to float is suboptimal still.

17 years agogst-libs/gst/audio/gstaudiofilter.c: Clear our formats structure and free the caps...
Tim-Philipp Müller [Tue, 6 Feb 2007 09:42:05 +0000 (09:42 +0000)]
gst-libs/gst/audio/gstaudiofilter.c: Clear our formats structure and free the caps contained in it when shutting down.

Original commit message from CVS:
* gst-libs/gst/audio/gstaudiofilter.c:
(gst_audio_filter_class_init), (gst_audio_filter_change_state):
Clear our formats structure and free the caps contained in it when
shutting down.

17 years agogst-libs/gst/audio/gstbaseaudiosink.c
Andy Wingo [Mon, 5 Feb 2007 18:39:51 +0000 (18:39 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c

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

* gst-libs/gst/audio/gstbaseaudiosink.c
(gst_base_audio_sink_callback): Update basesink->offset so that we
pull monotonically increasing offsets instead of, um, seeking back
to 0 each time. Fixes alsasrc ! alsasink!

17 years agogst/videoscale/gstvideoscale.c: A width and height of 1 makes us crash, so increase...
Tim-Philipp Müller [Mon, 5 Feb 2007 11:44:52 +0000 (11:44 +0000)]
gst/videoscale/gstvideoscale.c: A width and height of 1 makes us crash, so increase minimum size to 2x2 pixels until ...

Original commit message from CVS:
* gst/videoscale/gstvideoscale.c:
A width and height of 1 makes us crash, so increase minimum size to
2x2 pixels until someone feels like fixing this (#404512).

17 years agotests/check/pipelines/oggmux.c: Add small test to make sure request pads are cleaned...
Tim-Philipp Müller [Sun, 4 Feb 2007 16:23:37 +0000 (16:23 +0000)]
tests/check/pipelines/oggmux.c: Add small test to make sure request pads are cleaned up properly even if oggmux never...

Original commit message from CVS:
* tests/check/pipelines/oggmux.c: (GST_START_TEST), (oggmux_suite):
Add small test to make sure request pads are cleaned up properly
even if oggmux never changes state out of NULL.

17 years agotests/check/libs/utils.c: Fix unit test. Turns out things work much better when you
Tim-Philipp Müller [Sun, 4 Feb 2007 14:11:51 +0000 (14:11 +0000)]
tests/check/libs/utils.c: Fix unit test. Turns out things work much better when you

Original commit message from CVS:
* tests/check/libs/utils.c: (GST_START_TEST):
Fix unit test. Turns out things work much better when you
NULL-terminate string arrays. Should make p5 build bot happy again.

17 years agogst-libs/gst/audio/: Oops, forgot to commit fixed-up example.
Tim-Philipp Müller [Sat, 3 Feb 2007 23:28:45 +0000 (23:28 +0000)]
gst-libs/gst/audio/: Oops, forgot to commit fixed-up example.

Original commit message from CVS:
* gst-libs/gst/audio/Makefile.am:
* gst-libs/gst/audio/gstaudiofiltertemplate.c:
(gst_audio_filter_template_base_init),
(gst_audio_filter_template_class_init),
(gst_audio_filter_template_init),
(gst_audio_filter_template_set_property),
(gst_audio_filter_template_get_property),
(gst_audio_filter_template_setup),
(gst_audio_filter_template_filter),
(gst_audio_filter_template_filter_inplace), (plugin_init):
Oops, forgot to commit fixed-up example.

17 years agoPort GstAudioFilter to 0.10. This change technically breaks but seems justifiable...
Tim-Philipp Müller [Sat, 3 Feb 2007 20:19:35 +0000 (20:19 +0000)]
Port GstAudioFilter to 0.10. This change technically breaks but seems justifiable on the grounds that the base class ...

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/audio/gstaudiofilter.c: (gst_audio_filter_get_type),
(gst_audio_filter_class_init), (gst_audio_filter_init),
(gst_audio_filter_set_caps),
(gst_audio_filter_class_add_pad_templates):
* gst-libs/gst/audio/gstaudiofilter.h:
Port GstAudioFilter to 0.10. This change technically breaks
API and ABI (and thus also every library developer's heart),
but seems justifiable on the grounds that the base class was
completely unusable before (ie. would crash immediately when
actually used). Fixes #403963 (and eventually also #403572).
Also document all of this a bit.

17 years agoLowering log level to see why things fail on the p5 build bot; fix some typos in...
Tim-Philipp Müller [Sat, 3 Feb 2007 14:26:54 +0000 (14:26 +0000)]
Lowering log level to see why things fail on the p5 build bot; fix some typos in unit test messages.

Original commit message from CVS:
* gst-libs/gst/utils/install-plugins.c:
(gst_install_plugins_spawn_child):
* tests/check/libs/utils.c:
(test_base_utils_install_plugins_do_callout):
Lowering log level to see why things fail on the p5 build bot;
fix some typos in unit test messages.

17 years agotests/check/libs/utils.c: Don't hard-code temp directory for test helper; use GLib...
Tim-Philipp Müller [Sat, 3 Feb 2007 13:59:27 +0000 (13:59 +0000)]
tests/check/libs/utils.c: Don't hard-code temp directory for test helper; use GLib functions to write out file and do...

Original commit message from CVS:
* tests/check/libs/utils.c:
(test_base_utils_install_plugins_do_callout):
Don't hard-code temp directory for test helper; use GLib functions
to write out file and do error checking etc.

17 years agogst-libs/gst/utils/: API: add API for applications to initiate installation of missin...
Tim-Philipp Müller [Fri, 2 Feb 2007 20:42:08 +0000 (20:42 +0000)]
gst-libs/gst/utils/: API: add API for applications to initiate installation of missing plugins, ie. gst_install_plugi...

Original commit message from CVS:
* gst-libs/gst/utils/Makefile.am:
* gst-libs/gst/utils/base-utils.h:
* gst-libs/gst/utils/install-plugins.c:
(gst_install_plugins_context_set_xid),
(gst_install_plugins_context_new),
(gst_install_plugins_context_free),
(gst_install_plugins_get_helper),
(gst_install_plugins_spawn_child),
(gst_install_plugins_return_from_status),
(gst_install_plugins_installer_exited),
(gst_install_plugins_async), (gst_install_plugins_sync),
(gst_install_plugins_return_get_name),
(gst_install_plugins_installation_in_progress):
* gst-libs/gst/utils/install-plugins.h:
API: add API for applications to initiate installation of missing
plugins, ie. gst_install_plugins_async() primarily.
Based on libgimme-codec by Ryan Lortie.
* configure.ac:
Add --with-install-plugins-helper configure option so distros can specify
the path of the helper script or program to call when plugin installation
is requested (distros: please do any argument munging in this helper
script instead of patching GStreamer to pass arguments differently
to another program directly).
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
Build and document new API.
* tests/check/libs/utils.c: (result_cb),
(test_base_utils_install_plugins_do_callout), (GST_START_TEST),
(libgstbaseutils_suite):
Some simple checks for the new API.

17 years agotests/check/elements/audioconvert.c: Add small test for 32bit float <=> 64bit float...
Tim-Philipp Müller [Fri, 2 Feb 2007 14:44:29 +0000 (14:44 +0000)]
tests/check/elements/audioconvert.c: Add small test for 32bit float <=> 64bit float conversion (works only one way so...

Original commit message from CVS:
* tests/check/elements/audioconvert.c: (test_float_conversion):
Add small test for 32bit float <=> 64bit float conversion (works
only one way so far, 32=>64 produces structured noise).

17 years agogst/audioconvert/gstaudioconvert.c: We don't support floats with a width of 40, 48...
Tim-Philipp Müller [Fri, 2 Feb 2007 11:21:48 +0000 (11:21 +0000)]
gst/audioconvert/gstaudioconvert.c: We don't support floats with a width of 40, 48 or 56 bits.

Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c:
(set_structure_widths_32_and_64), (make_lossless_changes):
We don't support floats with a width of 40, 48 or 56 bits.

17 years agogst/audioconvert/: Support for 64-bit float audio in audioconvert (#339837)
Stefan Kost [Fri, 2 Feb 2007 09:48:53 +0000 (09:48 +0000)]
gst/audioconvert/: Support for 64-bit float audio in audioconvert (#339837)

Original commit message from CVS:
* gst/audioconvert/audioconvert.c: (float), (double),
(audio_convert_get_func_index):
* gst/audioconvert/gstaudioconvert.c: (set_structure_widths),
(make_lossless_changes):
Support for 64-bit float audio in audioconvert (#339837)

17 years agopo/: Add German translation (#352069).
Holger Wansing [Thu, 1 Feb 2007 18:50:08 +0000 (18:50 +0000)]
po/: Add German translation (#352069).

Original commit message from CVS:
Patch by: Holger Wansing  <linux wansing-online de>
* po/LINGUAS:
* po/de.po:
Add German translation (#352069).

17 years agoext/ogg/gstoggmux.c: Use newly added GstCollectPads API to free the allocated resourc...
Sebastian Dröge [Thu, 1 Feb 2007 17:52:39 +0000 (17:52 +0000)]
ext/ogg/gstoggmux.c: Use newly added GstCollectPads API to free the allocated resources in the GstOggPad structures (...

Original commit message from CVS:
reviewed by: Wim Taymans <wim@fluendo.com>
* ext/ogg/gstoggmux.c: (gst_ogg_mux_ogg_pad_destroy_notify),
(gst_ogg_mux_request_new_pad), (gst_ogg_mux_release_pad):
Use newly added GstCollectPads API to free the allocated resources in
the GstOggPad structures (#402393).

17 years agogst/playback/gstplaybin.c: Add audioresample+audioconvert in front of the visualisati...
Jan Schmidt [Wed, 31 Jan 2007 15:58:53 +0000 (15:58 +0000)]
gst/playback/gstplaybin.c: Add audioresample+audioconvert in front of the visualisation element, so that elements lik...

Original commit message from CVS:
* gst/playback/gstplaybin.c: (gen_vis_element):
Add audioresample+audioconvert in front of the visualisation
element, so that elements like libvisual 0.4 that don't support all
samplerates can work.
Fixes: #402505

17 years agogst/playback/gstplaybasebin.c: Take some locks and make a copy of the streaminfo...
Tim-Philipp Müller [Tue, 30 Jan 2007 19:19:37 +0000 (19:19 +0000)]
gst/playback/gstplaybasebin.c: Take some locks and make a copy of the streaminfo value array we maintain while holdin...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_get_property),
(gst_play_base_bin_get_streaminfo_value_array):
Take some locks and make a copy of the streaminfo value array we
maintain while holding the lock, so that the application can
retrieve the stream-info as a value array in a thread-safe way.

17 years agogst/audioconvert/gstaudioconvert.c: Don't fail on 0 sized buffers. Fixes #396835.
Wim Taymans [Tue, 30 Jan 2007 11:29:17 +0000 (11:29 +0000)]
gst/audioconvert/gstaudioconvert.c: Don't fail on 0 sized buffers. Fixes #396835.

Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c:
Don't fail on 0 sized buffers. Fixes #396835.

17 years agogst/typefind/gsttypefindfunctions.c: Detect BBCD as video/x-dirac, so we can play...
David Schleef [Mon, 29 Jan 2007 21:13:07 +0000 (21:13 +0000)]
gst/typefind/gsttypefindfunctions.c: Detect BBCD as video/x-dirac, so we can play raw dirac streams.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c:
Detect BBCD as video/x-dirac, so we can play raw dirac
streams.

17 years agoext/theora/theoraenc.c: Check return value of theora_encode_header(), or we might...
Tim-Philipp Müller [Mon, 29 Jan 2007 18:14:25 +0000 (18:14 +0000)]
ext/theora/theoraenc.c: Check return value of theora_encode_header(), or we might try to allocate a random number of ...

Original commit message from CVS:
* ext/theora/theoraenc.c: (theora_enc_chain):
Check return value of theora_encode_header(), or we might try to
allocate a random number of bytes. theora_encode_header() can fail
if libtheora has been compiled with encoding support disabled.
Fixes #398110.

17 years agotests/check/gst/.cvsignore: Do as buildbot says.
Wim Taymans [Mon, 29 Jan 2007 10:53:06 +0000 (10:53 +0000)]
tests/check/gst/.cvsignore: Do as buildbot says.

Original commit message from CVS:
* tests/check/gst/.cvsignore:
Do as buildbot says.

17 years agoext/libvisual/visual.c: Fix strides in libvisual. Gst uses X strides.
Wim Taymans [Mon, 29 Jan 2007 10:25:11 +0000 (10:25 +0000)]
ext/libvisual/visual.c: Fix strides in libvisual. Gst uses X strides.

Original commit message from CVS:
* ext/libvisual/visual.c: (gst_visual_src_setcaps):
Fix strides in libvisual. Gst uses X strides.
Inspired by: <ed at catmur dot co dot uk> and
<tim at centricular dot net>
Fixes #401118.

17 years agoext/ogg/gstoggdemux.*: Properly propagate streaming errors when we are scanning the...
Wim Taymans [Sat, 27 Jan 2007 13:32:24 +0000 (13:32 +0000)]
ext/ogg/gstoggdemux.*: Properly propagate streaming errors when we are scanning the file for chains so that we don't ...

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_submit_buffer),
(gst_ogg_demux_get_data), (gst_ogg_demux_get_next_page),
(gst_ogg_demux_get_prev_page), (gst_ogg_demux_do_seek),
(gst_ogg_demux_perform_seek),
(gst_ogg_demux_bisect_forward_serialno),
(gst_ogg_demux_read_chain), (gst_ogg_demux_read_end_chain),
(gst_ogg_demux_find_chains), (gst_ogg_demux_handle_page),
(gst_ogg_demux_chain), (gst_ogg_demux_combine_flows),
(gst_ogg_demux_loop_reverse), (gst_ogg_demux_loop):
* ext/ogg/gstoggdemux.h:
Properly propagate streaming errors when we are scanning the file for
chains so that we don't crash when shut down. Might fix some crashers
when quickly switching oggs in RB such as #332503 and #378436.

17 years agoext/gnomevfs/gstgnomevfssrc.c: Map a gnome-vfs HOST_NOT_FOUND error into a GStreamer...
Tim-Philipp Müller [Fri, 26 Jan 2007 12:44:46 +0000 (12:44 +0000)]
ext/gnomevfs/gstgnomevfssrc.c: Map a gnome-vfs HOST_NOT_FOUND error into a GStreamer NOT_FOUND error code as well.

Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_start):
Map a gnome-vfs HOST_NOT_FOUND error into a GStreamer NOT_FOUND
error code as well.

17 years agogst/playback/gstplaybasebin.c: Don't try to disconnect a signal from a finalized...
Wim Taymans [Thu, 25 Jan 2007 16:02:41 +0000 (16:02 +0000)]
gst/playback/gstplaybasebin.c: Don't try to disconnect a signal from a finalized object.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (remove_source):
Don't try to disconnect a signal from a finalized object.

17 years agogst/playback/gstdecodebin2.c: Cast lock macro parameters to make sure we're actually...
Tim-Philipp Müller [Thu, 25 Jan 2007 14:29:21 +0000 (14:29 +0000)]
gst/playback/gstdecodebin2.c: Cast lock macro parameters to make sure we're actually accessing the lock member at the...

Original commit message from CVS:
* gst/playback/gstdecodebin2.c: (gst_decode_bin_dispose):
Cast lock macro parameters to make sure we're actually accessing the
lock member at the right class level. Free list itself in _dispose()
as well and NULL it in case dispose gets called multiple times.

17 years agogst/playback/gstdecodebin2.c: Free GstDecodeGroups no longer used.
Edward Hervey [Thu, 25 Jan 2007 14:02:37 +0000 (14:02 +0000)]
gst/playback/gstdecodebin2.c: Free GstDecodeGroups no longer used.

Original commit message from CVS:
* gst/playback/gstdecodebin2.c:
(gst_decode_bin_dispose),(gst_decode_bin_finalize):
Free GstDecodeGroups no longer used.
(gst_decode_group_expose):
Don't unlock too many times !
(deactivate_free_recursive):
Free iterator once we're done with it.
Fix for recursively deactivating elements (stop at ghostpads).

17 years agogst/playback/gstplaybin.c: Fix up caps on the frame buffer before we save it and...
Tim-Philipp Müller [Thu, 25 Jan 2007 12:24:18 +0000 (12:24 +0000)]
gst/playback/gstplaybin.c: Fix up caps on the frame buffer before we save it and potentially make it accessible to ot...

Original commit message from CVS:
* gst/playback/gstplaybin.c: (handoff):
Fix up caps on the frame buffer before we save it and potentially
make it accessible to other threads via g_object_get; also use
gst_buffer_replace() instead of gst_mini_object_replace().

17 years agogst/playback/gstplaybin.c: Make getting the current frame thread-safe.
Tim-Philipp Müller [Thu, 25 Jan 2007 12:06:59 +0000 (12:06 +0000)]
gst/playback/gstplaybin.c: Make getting the current frame thread-safe.

Original commit message from CVS:
* gst/playback/gstplaybin.c: (gst_play_bin_get_property):
Make getting the current frame thread-safe.

17 years agogst/playback/gstdecodebin2.c: Set queues to bigger sizes to cope with HD contents.
Edward Hervey [Thu, 25 Jan 2007 11:48:10 +0000 (11:48 +0000)]
gst/playback/gstdecodebin2.c: Set queues to bigger sizes to cope with HD contents.

Original commit message from CVS:
* gst/playback/gstdecodebin2.c: (gst_decode_bin_finalize),
(gst_decode_group_new), (gst_decode_group_free):
Set queues to bigger sizes to cope with HD contents.
Fix some mutex freeing and add comment about MT safe methods.

17 years agoext/pango/gsttextoverlay.c: Don't unnecessarily ref (and then leak) upstream events...
Tim-Philipp Müller [Wed, 24 Jan 2007 12:51:20 +0000 (12:51 +0000)]
ext/pango/gsttextoverlay.c: Don't unnecessarily ref (and then leak) upstream events if the text pad is not linked. Fi...

Original commit message from CVS:
* ext/pango/gsttextoverlay.c: (gst_text_overlay_src_event),
(gst_text_overlay_text_event):
Don't unnecessarily ref (and then leak) upstream events if the text
pad is not linked. Fixes #399948.
* tests/check/gst-plugins-base.supp:
Add suppression for pango on edgy/x86 for textoverlay test.

17 years agogst-libs/gst/rtp/gstrtpbuffer.h: Add some more fixed payloads.
Wim Taymans [Wed, 24 Jan 2007 12:10:56 +0000 (12:10 +0000)]
gst-libs/gst/rtp/gstrtpbuffer.h: Add some more fixed payloads.

Original commit message from CVS:
* gst-libs/gst/rtp/gstrtpbuffer.h:
Add some more fixed payloads.

17 years agoext/ogg/gstoggdemux.c: Error out properly if we get an error from libogg while readin...
Tim-Philipp Müller [Tue, 23 Jan 2007 18:39:45 +0000 (18:39 +0000)]
ext/ogg/gstoggdemux.c: Error out properly if we get an error from libogg while reading the

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_read_chain):
Error out properly if we get an error from libogg while reading the
BOS page(s). Fixes crash parsing 'fuzzed' ogg file (#399340).

17 years agogst/playback/gstdecodebin2.c: Don't leak mutex.
Tim-Philipp Müller [Tue, 23 Jan 2007 17:49:29 +0000 (17:49 +0000)]
gst/playback/gstdecodebin2.c: Don't leak mutex.

Original commit message from CVS:
* gst/playback/gstdecodebin2.c: (gst_decode_bin_finalize):
Don't leak mutex.
* tests/check/elements/playbin.c:
(test_sink_usage_video_only_stream),
(test_suburi_error_unknowntype), (test_suburi_error_invalidfile),
(test_suburi_error_wrongproto), (test_missing_urisource_handler),
(test_missing_suburisource_handler),
(test_missing_primary_decoder), (playbin_suite):
Run all tests once with decodebin and once with decodebin2.
One test does not pass yet with decodebin2.

17 years agoext/ogg/gstoggmux.c: Fix the cases where oggmux doesn't properly figure out that...
Edward Hervey [Tue, 23 Jan 2007 14:30:28 +0000 (14:30 +0000)]
ext/ogg/gstoggmux.c: Fix the cases where oggmux doesn't properly figure out that all sinkpads have gone EOS, and ther...

Original commit message from CVS:
* ext/ogg/gstoggmux.c: (all_pads_eos), (gst_ogg_mux_collected):
Fix the cases where oggmux doesn't properly figure out that all
sinkpads have gone EOS, and therefore doesn't push out the remaining
buffers and the final EOS event.
Fixes #363379

17 years agosys/: Don't lock on navigation event push, just on keysym to string.
Julien Moutte [Tue, 23 Jan 2007 13:19:19 +0000 (13:19 +0000)]
sys/: Don't lock on navigation event push, just on keysym to string.

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

* sys/ximage/ximagesink.c: (gst_ximagesink_handle_xevents):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_handle_xevents):
Don't lock on navigation event push, just on keysym to string.
Fixes #397673 again.

17 years agogst/playback/gstdecodebin2.c: Cleanups.
Edward Hervey [Mon, 22 Jan 2007 17:37:38 +0000 (17:37 +0000)]
gst/playback/gstdecodebin2.c: Cleanups.

Original commit message from CVS:
* gst/playback/gstdecodebin2.c: (gst_decode_group_new),
(get_current_group), (group_demuxer_event_probe),
(gst_decode_group_expose), (deactivate_free_recursive),
(gst_decode_group_free):
Cleanups.
Don't forget to emit 'no-more-pads' once a group is exposed.
Cleanup elements from a DecodeGroup once we remove it.
Protect call to gst_decode_group_expose() with the decodebin lock.

17 years agosys/: Looking at Xorg code i can't figure out if that XKeysymToString function is...
Julien Moutte [Mon, 22 Jan 2007 13:16:42 +0000 (13:16 +0000)]
sys/: Looking at Xorg code i can't figure out if that XKeysymToString function is thread sensible or not. Lock it jus...

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

* sys/ximage/ximagesink.c: (gst_ximagesink_handle_xevents):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_handle_xevents):
Looking at Xorg code i can't figure out if that XKeysymToString
function is thread sensible or not. Lock it just in case as
recommended by Radek Doulik <rodo at ximian dot com>.

17 years agosys/: Lock that X Call as well. Fixes #397673.
Julien Moutte [Mon, 22 Jan 2007 13:10:13 +0000 (13:10 +0000)]
sys/: Lock that X Call as well. Fixes #397673.

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

* sys/ximage/ximagesink.c: (gst_ximagesink_handle_xevents):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_handle_xevents):
Lock that X Call as well. Fixes #397673.

17 years agogst/typefind/gsttypefindfunctions.c: Don't go into an endless loop if the file starts...
Tim-Philipp Müller [Mon, 22 Jan 2007 12:03:27 +0000 (12:03 +0000)]
gst/typefind/gsttypefindfunctions.c: Don't go into an endless loop if the file starts with 00 00 01 2X, like quicktim...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mpeg4_video_type_find):
Don't go into an endless loop if the file starts with 00 00 01 2X,
like quicktime redirect files might. Fixes #396042.
* tests/check/Makefile.am:
* tests/check/gst/.cvsignore:
* tests/check/gst/typefindfunctions.c: (GST_START_TEST),
(typefindfunctions_suite):
Add unit test for the above.

17 years agogst-libs/gst/riff/riff-media.c: On second thought, use "depth" field rather than...
Tim-Philipp Müller [Mon, 22 Jan 2007 10:27:26 +0000 (10:27 +0000)]
gst-libs/gst/riff/riff-media.c: On second thought, use "depth" field rather than "bpp" field.

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
On second thought, use "depth" field rather than "bpp" field.

17 years agogst-libs/gst/riff/riff-media.c: Camtasia caps apparently need a bpp field (#398875).
Tim-Philipp Müller [Mon, 22 Jan 2007 09:23:01 +0000 (09:23 +0000)]
gst-libs/gst/riff/riff-media.c: Camtasia caps apparently need a bpp field (#398875).

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
Camtasia caps apparently need a bpp field (#398875).

17 years agogst/playback/gstplaybasebin.c: Attempt at a better error message in case we don't...
Tim-Philipp Müller [Fri, 19 Jan 2007 19:09:05 +0000 (19:09 +0000)]
gst/playback/gstplaybasebin.c: Attempt at a better error message in case we don't have the required

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (setup_subtitle),
(gen_source_element), (gst_play_base_bin_change_state):
Attempt at a better error message in case we don't have the required
URI handler installed; post missing-plugin message also when we're
missing an URI handler for the subtitle URI; clean up properly also
when an error occurs and we never made it to PAUSED state.
* tests/check/elements/playbin.c: (GST_START_TEST),
(playbin_suite):
Check that we're also getting a missing-plugin messsage for a
missing subtitle URI handler (and clean up properly).

17 years agogst/playback/gstplaybasebin.c: Plug a few reference leaks.
Tim-Philipp Müller [Fri, 19 Jan 2007 18:47:30 +0000 (18:47 +0000)]
gst/playback/gstplaybasebin.c: Plug a few reference leaks.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (analyse_source), (setup_source):
Plug a few reference leaks.

17 years agogst/typefind/gsttypefindfunctions.c: Lower probability a bit if the marker isn't...
Tim-Philipp Müller [Fri, 19 Jan 2007 12:23:06 +0000 (12:23 +0000)]
gst/typefind/gsttypefindfunctions.c: Lower probability a bit if the marker isn't right at the start, to decrease the ...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mpeg2_sys_type_find):
Lower probability a bit if the marker isn't right at the start,
to decrease the chance of false positives.

17 years agogst/typefind/gsttypefindfunctions.c: Small mpeg2 system stream typefinding improvemen...
Tim-Philipp Müller [Fri, 19 Jan 2007 11:31:50 +0000 (11:31 +0000)]
gst/typefind/gsttypefindfunctions.c: Small mpeg2 system stream typefinding improvement: make typefinder probe a bit i...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mpeg2_sys_type_find):
Small mpeg2 system stream typefinding improvement: make typefinder
probe a bit into the stream instead of just looking for a marker
at the beginning. Fixes #397810.

17 years agogst/audioconvert/gstchannelmix.c: Remove compatibility cruft for prehistoric GLib...
Tim-Philipp Müller [Thu, 18 Jan 2007 16:23:35 +0000 (16:23 +0000)]
gst/audioconvert/gstchannelmix.c: Remove compatibility cruft for prehistoric GLib versions.

Original commit message from CVS:
* gst/audioconvert/gstchannelmix.c:
Remove compatibility cruft for prehistoric GLib versions.

17 years agogst/playback/: Let decodebin be the element to post missing-plugin messages for missi...
Tim-Philipp Müller [Wed, 17 Jan 2007 16:11:14 +0000 (16:11 +0000)]
gst/playback/: Let decodebin be the element to post missing-plugin messages for missing decoders (rather than playbin...

Original commit message from CVS:
* gst/playback/Makefile.am:
* gst/playback/gstdecodebin.c: (close_pad_link):
* gst/playback/gstdecodebin2.c: (analyze_new_pad):
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
(gst_play_base_bin_handle_message_func), (unknown_type):
Let decodebin be the element to post missing-plugin messages for
missing decoders (rather than playbin); make playbin implement
GstBin::handle_message so we can suppress missing-plugin messages
for types we're not handling on purpose (don't want to bring up an
installer in those cases).

17 years agogst/: Fix potentially unaligned access (#397207).
Tim-Philipp Müller [Tue, 16 Jan 2007 19:37:55 +0000 (19:37 +0000)]
gst/: Fix potentially unaligned access (#397207).

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
* gst-libs/gst/tag/gstvorbistag.c:
(gst_tag_list_to_vorbiscomment_buffer):
* gst/typefind/gsttypefindfunctions.c: (vorbis_type_find):
Fix potentially unaligned access (#397207).

17 years agotests/examples/seek/seek.c: Allow to toggle looping while it plays. Fix callback...
Stefan Kost [Tue, 16 Jan 2007 12:17:06 +0000 (12:17 +0000)]
tests/examples/seek/seek.c: Allow to toggle looping while it plays. Fix callback prototype. Clean up code a bit more....

Original commit message from CVS:
* tests/examples/seek/seek.c: (set_scale), (update_scale),
(do_seek), (stop_seek), (pause_cb), (stop_cb), (loop_toggle_cb),
(rate_spinbutton_changed_cb), (msg_eos), (msg_segment_done),
(main):
Allow to toggle looping while it plays. Fix callback prototype. Clean
up code a bit more. Add copyright header.

17 years agosys/xvimage/xvimagesink.c: Red and blue mask was swapped (spotted by Dan Williams).
Stefan Kost [Tue, 16 Jan 2007 11:41:58 +0000 (11:41 +0000)]
sys/xvimage/xvimagesink.c: Red and blue mask was swapped (spotted by Dan Williams).

Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support):
Red and blue mask was swapped (spotted by Dan Williams).

17 years agogst-libs/gst/tag/: Use new beats-per-minute tag from core.
Stefan Kost [Mon, 15 Jan 2007 13:58:58 +0000 (13:58 +0000)]
gst-libs/gst/tag/: Use new beats-per-minute tag from core.

Original commit message from CVS:
* gst-libs/gst/tag/gstid3tag.c:
* gst-libs/gst/tag/gstvorbistag.c:
Use new beats-per-minute tag from core.

17 years agopo/POTFILES.in: Add new files with translatable strings, so they actually make it...
Tim-Philipp Müller [Mon, 15 Jan 2007 11:30:53 +0000 (11:30 +0000)]
po/POTFILES.in: Add new files with translatable strings, so they actually make it into the template file one day.

Original commit message from CVS:
* po/POTFILES.in:
Add new files with translatable strings, so they actually make it
into the template file one day.

17 years agogst-libs/gst/audio/gstbaseaudiosink.c
Andy Wingo [Fri, 12 Jan 2007 21:19:35 +0000 (21:19 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c

Original commit message from CVS:
2007-01-12  Andy Wingo  <wingo@pobox.com>

* gst-libs/gst/audio/gstbaseaudiosink.c
(gst_base_audio_sink_fixate): Implement, stolen from baseaudiosrc.
(gst_base_audio_sink_activate_pull): Remove the handwavey nego
stuff, as the base class handles this now. Actually tell the ring
buffer to start.
(gst_base_audio_sink_callback): Cast the ring buffer correctly.
How did this work before? Maybe I'm not as awesome a programmer as
I think.

* gst-libs/gst/audio/gstbaseaudiosrc.c
(gst_base_audio_src_fixate): Rework as a basesrc vmethod instead
of a pad function.

17 years agogst-libs/gst/utils/missing-plugins.c: Remove more fields so that the application...
Tim-Philipp Müller [Fri, 12 Jan 2007 18:08:23 +0000 (18:08 +0000)]
gst-libs/gst/utils/missing-plugins.c: Remove more fields so that the application can better blacklist formats that ha...

Original commit message from CVS:
* gst-libs/gst/utils/missing-plugins.c: (copy_and_clean_caps):
Remove more fields so that the application can better blacklist
formats that have been tried before.

17 years agoadd latest files
Christian Schaller [Fri, 12 Jan 2007 17:43:40 +0000 (17:43 +0000)]
add latest files

Original commit message from CVS:
add latest files

17 years agogst-libs/gst/audio/mixerutils.h: Add G_BEGIN_DECLS and G_END_DECLS guards so these...
Tim-Philipp Müller [Fri, 12 Jan 2007 12:47:29 +0000 (12:47 +0000)]
gst-libs/gst/audio/mixerutils.h: Add G_BEGIN_DECLS and G_END_DECLS guards so these helpers can be used when compiling...

Original commit message from CVS:
* gst-libs/gst/audio/mixerutils.h:
Add G_BEGIN_DECLS and G_END_DECLS guards so these helpers can be
used when compiling with c++ compilers as well.

17 years agogst/typefind/gsttypefindfunctions.c: Fix comment.
Tim-Philipp Müller [Fri, 12 Jan 2007 09:45:23 +0000 (09:45 +0000)]
gst/typefind/gsttypefindfunctions.c: Fix comment.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c:
Fix comment.

17 years agogst/playback/gstplaybin.c: Post missing-plugin messages also when we error out becaus...
Tim-Philipp Müller [Thu, 11 Jan 2007 13:12:17 +0000 (13:12 +0000)]
gst/playback/gstplaybin.c: Post missing-plugin messages also when we error out because converters, textoverlay or aut...

Original commit message from CVS:
* gst/playback/gstplaybin.c: (post_missing_element_message),
(gen_video_element), (gen_text_element), (gen_audio_element),
(gen_vis_element):
Post missing-plugin messages also when we error out because
converters, textoverlay or auto*sinks are missing (#161922).

17 years agogst/playback/: Fix the case where we try to ref a NULL element when we delay a link...
Wim Taymans [Wed, 10 Jan 2007 16:08:18 +0000 (16:08 +0000)]
gst/playback/: Fix the case where we try to ref a NULL element when we delay a link because of unfixed caps.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (dynamic_add), (close_pad_link),
(is_demuxer_element), (new_caps):
* gst/playback/gstplaybasebin.c: (source_new_pad):
Fix the case where we try to ref a NULL element when we delay a link
because of unfixed caps.
Set the state of autoplugged decodebins to PAUSED.
RTSP now works in playbin, we can remove it from the blacklist.

17 years agogst/playback/: Post missing-plugin messages on the bus for missing sources and missin...
Tim-Philipp Müller [Tue, 9 Jan 2007 14:33:24 +0000 (14:33 +0000)]
gst/playback/: Post missing-plugin messages on the bus for missing sources and missing decoders/demuxers/depayloaders...

Original commit message from CVS:
* gst/playback/Makefile.am:
* gst/playback/gstplaybasebin.c: (string_arr_has_str),
(unknown_type), (setup_subtitle), (gen_source_element):
* gst/playback/gstplaybin.c: (plugin_init):
Post missing-plugin messages on the bus for missing sources and
missing decoders/demuxers/depayloaders; fix error code used when
we're missing an URI handler source; for media types that we are not
handling on purpose at the moment, don't print "don't know how to
handle xyz" messages to the terminal or post missing-plugin
messages on the bus.
* tests/check/elements/playbin.c: (create_playbin),
(GST_START_TEST), (gst_codec_src_uri_get_type),
(gst_codec_src_uri_get_protocols), (gst_codec_src_uri_get_uri),
(gst_codec_src_uri_set_uri), (gst_codec_src_uri_handler_init),
(gst_codec_src_init_type), (gst_codec_src_base_init),
(gst_codec_src_create), (gst_codec_src_class_init),
(gst_codec_src_init), (plugin_init), (playbin_suite):
Add some tests for the missing-plugin stuff.

17 years agoAPI: add new libgstbaseutils library with functions
Tim-Philipp Müller [Tue, 9 Jan 2007 14:20:08 +0000 (14:20 +0000)]
API: add new libgstbaseutils library with functions

Original commit message from CVS:
* configure.ac:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/utils/Makefile.am:
* gst-libs/gst/utils/base-utils.c: (gst_base_utils_init):
* gst-libs/gst/utils/base-utils.h:
* gst-libs/gst/utils/descriptions.c: (format_info_get_desc),
(find_format_info), (caps_are_rtp_caps),
(gst_base_utils_get_source_description),
(gst_base_utils_get_sink_description),
(gst_base_utils_get_decoder_description),
(gst_base_utils_get_encoder_description),
(gst_base_utils_get_element_description),
(gst_base_utils_add_codec_description_to_tag_list),
(gst_base_utils_get_codec_description), (gst_base_utils_list_all):
* gst-libs/gst/utils/descriptions.h:
* gst-libs/gst/utils/missing-plugins.c:
(missing_structure_get_type), (copy_and_clean_caps),
(gst_missing_uri_source_message_new),
(gst_missing_uri_sink_message_new),
(gst_missing_element_message_new),
(gst_missing_decoder_message_new),
(gst_missing_encoder_message_new),
(missing_structure_get_string_detail),
(missing_structure_get_caps_detail),
(gst_missing_plugin_message_get_installer_detail),
(gst_missing_plugin_message_get_description),
(gst_is_missing_plugin_message):
* gst-libs/gst/utils/missing-plugins.h:
API: add new libgstbaseutils library with functions
- to create and parse missing-plugins messages
- that provide (translated) descriptions for caps/decoders/sources/etc.
Closes #392393.
* pkgconfig/gstreamer-plugins-base-uninstalled.pc.in:
* pkgconfig/gstreamer-plugins-base.pc.in:
Add new lib.
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
Generate docs for new lib and API.
* tests/check/Makefile.am:
* tests/check/libs/.cvsignore:
* tests/check/libs/utils.c: (missing_msg_check_getters),
(GST_START_TEST), (libgstbaseutils_suite):
Add some basic unit tests.

17 years agoext/ogg/Makefile.am: Dist gstoggdemux.h to fix 'make distcheck'.
Tim-Philipp Müller [Tue, 9 Jan 2007 13:35:08 +0000 (13:35 +0000)]
ext/ogg/Makefile.am: Dist gstoggdemux.h to fix 'make distcheck'.

Original commit message from CVS:
* ext/ogg/Makefile.am:
Dist gstoggdemux.h to fix 'make distcheck'.
* sys/v4l/Makefile.am:
Fix 'make distcheck' even more.

17 years agoAdded docs.
Wim Taymans [Tue, 9 Jan 2007 12:30:46 +0000 (12:30 +0000)]
Added docs.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* ext/ogg/gstoggdemux.c: (gst_ogg_page_copy), (gst_ogg_page_free),
(gst_ogg_pad_query_types), (gst_ogg_pad_submit_page),
(gst_ogg_chain_reset), (gst_ogg_chain_new_stream),
(gst_ogg_demux_perform_seek):
* ext/ogg/gstoggdemux.h:
Added docs.
Add some more comments.
Small cleanups.

17 years agoSmall documentation updates/fixes
Wim Taymans [Tue, 9 Jan 2007 11:15:57 +0000 (11:15 +0000)]
Small documentation updates/fixes

Original commit message from CVS:
* ext/theora/theoradec.c:
* ext/vorbis/vorbisdec.c:
* gst-libs/gst/audio/gstringbuffer.c:
(gst_ring_buffer_commit_full):
* gst-libs/gst/audio/gstringbuffer.h:
* gst-libs/gst/rtp/gstrtpbuffer.c:
* gst-libs/gst/tag/gstvorbistag.c:
Small documentation updates/fixes

17 years agoconfigure.ac: Require core CVS HEAD for Andy's basesrc/sink API additions.
Tim-Philipp Müller [Tue, 9 Jan 2007 10:37:01 +0000 (10:37 +0000)]
configure.ac: Require core CVS HEAD for Andy's basesrc/sink API additions.

Original commit message from CVS:
* configure.ac:
Require core CVS HEAD for Andy's basesrc/sink API additions.

17 years agogst/typefind/gsttypefindfunctions.c: Add typefinder for flac-in-ogg in conformance...
Günter Thelen [Mon, 8 Jan 2007 14:01:23 +0000 (14:01 +0000)]
gst/typefind/gsttypefindfunctions.c: Add typefinder for flac-in-ogg in conformance with the ogg-mapping on flac.sf.ne...

Original commit message from CVS:
Patch by: Günter Thelen  <daedalus dot inc at gmx net>
* gst/typefind/gsttypefindfunctions.c: (flac_type_find),
(plugin_init):
Add typefinder for flac-in-ogg in conformance with the ogg-mapping
on flac.sf.net (there appear to be other versions of the first
ogg page in the wild) (#391365).

17 years agoconfigure.ac: Check if localtime_r() is available.
Tim-Philipp Müller [Mon, 8 Jan 2007 13:32:32 +0000 (13:32 +0000)]
configure.ac: Check if localtime_r() is available.

Original commit message from CVS:
* configure.ac:
Check if localtime_r() is available.
* ext/pango/gstclockoverlay.c: (gst_clock_overlay_render_time):
If localtime_r() is not available, fall back to localtime(). Should
fix build on MingW (#393310).

17 years agogst/subparse/gstsubparse.*: Remove spurious 1000 subtrahend when calculating the...
Tim-Philipp Müller [Mon, 8 Jan 2007 12:30:03 +0000 (12:30 +0000)]
gst/subparse/gstsubparse.*: Remove spurious 1000 subtrahend when calculating the timestamp from the frame number and ...

Original commit message from CVS:
* gst/subparse/gstsubparse.c: (parse_mdvdsub):
* gst/subparse/gstsubparse.h:
Remove spurious 1000 subtrahend when calculating the timestamp from
the frame number and the frame rate . Also, use the frames/second
value specified in the first line of the file, if one is specified
there. Should fix #357503.
* tests/check/elements/subparse.c: (do_test),
(test_tmplayer_do_test), (test_microdvd_do_test), (GST_START_TEST),
(subparse_suite):
Add some basic unit tests for the microdvd subtitle format.

17 years agosys/xvimage/xvimagesink.c: Fixes : #390076.
Young-Ho Cha [Sun, 7 Jan 2007 21:53:38 +0000 (21:53 +0000)]
sys/xvimage/xvimagesink.c: Fixes : #390076.

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

* sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_destroy),
(gst_xvimage_buffer_finalize), (gst_xvimagesink_xvimage_new),
(gst_xvimagesink_xvimage_put),
(gst_lookup_xv_port_from_adaptor),
(gst_xvimagesink_get_xv_support), (gst_xvimagesink_setcaps),
(gst_xvimagesink_set_xwindow_id),
(gst_xvimagesink_set_event_handling),
(gst_xvimagesink_set_property), (gst_xvimagesink_get_property),
(gst_xvimagesink_init), (gst_xvimagesink_class_init):
Patch by : Young-Ho Cha <ganadist at chollian dot net>
Fixes : #390076.
Add an adaptor property to select a specific XV adaptor.
* sys/xvimage/xvimagesink.h:

17 years agosys/: Use flow_lock much more to protect every access to xwindow.
Julien Moutte [Sun, 7 Jan 2007 18:50:13 +0000 (18:50 +0000)]
sys/: Use flow_lock much more to protect every access to xwindow.

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

* sys/ximage/ximagesink.c: (gst_ximage_buffer_finalize),
(gst_ximagesink_handle_xerror), (gst_ximagesink_ximage_new),
(gst_ximagesink_ximage_destroy), (gst_ximagesink_ximage_put),
(gst_ximagesink_handle_xevents), (gst_ximagesink_setcaps),
(gst_ximagesink_change_state), (gst_ximagesink_set_xwindow_id),
(gst_ximagesink_expose), (gst_ximagesink_set_event_handling):
* sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_destroy),
(gst_xvimage_buffer_finalize), (gst_xvimagesink_handle_xerror),
(gst_xvimagesink_xvimage_new), (gst_xvimagesink_xvimage_put),
(gst_xvimagesink_handle_xevents), (gst_xvimagesink_setcaps),
(gst_xvimagesink_change_state),
(gst_xvimagesink_set_xwindow_id),
(gst_xvimagesink_expose), (gst_xvimagesink_set_event_handling):
Use flow_lock much more to protect every access to xwindow.
Try to catch erros while creating images in case some drivers
are
just generating an XError when the requested image is too big.
Should fix : #354698, #384008, #384060.
* tests/icles/stress-xoverlay.c: (cycle_window),
(create_window):
Implement some stress testing of setting window xid.

17 years agowin32/common/libgsaudio.def: Add new exported function.
Sébastien Moutte [Sun, 7 Jan 2007 10:33:55 +0000 (10:33 +0000)]
win32/common/libgsaudio.def: Add new exported function.

Original commit message from CVS:
* win32/common/libgsaudio.def:
Add new exported function.
* win32/common/libgstogg.dsp:
Add gstoggaviparse.c to the build.
* win32/common/libgstvideoscale.dsp:
Add vs_4tap.c to the build.
* win32/common/libgstvorbis.dsp:
Add vorbistag.c to the build.

17 years agogst-libs/gst/audio/gstbaseaudiosink.c (gst_base_audio_sink_class_init)
Andy Wingo [Sat, 6 Jan 2007 17:28:40 +0000 (17:28 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c (gst_base_audio_sink_class_init)

Original commit message from CVS:
2007-01-06  Andy Wingo  <wingo@pobox.com>

* gst-libs/gst/audio/gstbaseaudiosink.c
(gst_base_audio_sink_class_init)
(gst_base_audio_sink_init):
(gst_base_audio_sink_activate_pull): Add an activate_pull function
to baseaudiosink, and tell basesink that we can work in pull mode.
This way the ring buffer thread drives the pipeline directly, if
pull mode is possible. There is some lingering nastiness regarding
capsnego, however.
(gst_base_audio_sink_callback): Implement the callback to pull
data. This interface is a bit light, though -- it should get a
GstFlowReturn return value at least.

17 years agoPrintf format and missing argument fixes.
Tim-Philipp Müller [Fri, 5 Jan 2007 19:43:55 +0000 (19:43 +0000)]
Printf format and missing argument fixes.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_stream_out):
* ext/vorbis/vorbisdec.c: (vorbis_handle_data_packet):
* gst/playback/gstdecodebin2.c:
(gst_decode_group_check_if_blocked):
Printf format and missing argument fixes.

17 years agoext/ogg/gstogmparse.c: Activate pads before adding them to the element.
Jan Schmidt [Fri, 5 Jan 2007 18:57:53 +0000 (18:57 +0000)]
ext/ogg/gstogmparse.c: Activate pads before adding them to the element.

Original commit message from CVS:
* ext/ogg/gstogmparse.c: (gst_ogm_parse_stream_header),
(gst_ogm_parse_change_state):
Activate pads before adding them to the element.

17 years agotests/examples/seek/: Call g_thread_init() first thing in main() (see #391278).
Tim-Philipp Müller [Fri, 5 Jan 2007 16:02:50 +0000 (16:02 +0000)]
tests/examples/seek/: Call g_thread_init() first thing in main() (see #391278).

Original commit message from CVS:
* tests/examples/seek/scrubby.c: (main):
* tests/examples/seek/seek.c: (main):
Call g_thread_init() first thing in main() (see #391278).

17 years agotests/check/: Add test for GstNetBuffer + gst_buffer_copy(). Disabled for the time...
Tim-Philipp Müller [Fri, 5 Jan 2007 12:19:34 +0000 (12:19 +0000)]
tests/check/: Add test for GstNetBuffer + gst_buffer_copy(). Disabled for the time being, since it's broken, see #393...

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/libs/.cvsignore:
* tests/check/libs/netbuffer.c: (GST_START_TEST),
(netbuffer_suite):
Add test for GstNetBuffer + gst_buffer_copy(). Disabled
for the time being, since it's broken, see #393099.

17 years agotests/check/Makefile.am: Update to use GST_PLUGINS_BASE_CFLAGS as well.
Tim-Philipp Müller [Fri, 5 Jan 2007 12:13:24 +0000 (12:13 +0000)]
tests/check/Makefile.am: Update to use GST_PLUGINS_BASE_CFLAGS as well.

Original commit message from CVS:
* tests/check/Makefile.am:
Update to use GST_PLUGINS_BASE_CFLAGS as well.

17 years agoconfigure.ac: split out GST_CFLAGS into GST_PLUGINS_BASE_CFLAGS and GST_CFLAGS so...
Thomas Vander Stichele [Thu, 4 Jan 2007 12:49:48 +0000 (12:49 +0000)]
configure.ac: split out GST_CFLAGS into GST_PLUGINS_BASE_CFLAGS and GST_CFLAGS so that GST_BASE_CFLAGS can go inbetwe...

Original commit message from CVS:
* configure.ac:
split out GST_CFLAGS into GST_PLUGINS_BASE_CFLAGS and GST_CFLAGS
so that GST_BASE_CFLAGS can go inbetween them, making sure
we use uninstalled gst-libs headers
* docs/libs/Makefile.am:
* ext/alsa/Makefile.am:
* ext/cdparanoia/Makefile.am:
* ext/gnomevfs/Makefile.am:
* ext/libvisual/Makefile.am:
* ext/ogg/Makefile.am:
* ext/theora/Makefile.am:
* ext/vorbis/Makefile.am:
* gst-libs/gst/audio/Makefile.am:
* gst-libs/gst/cdda/Makefile.am:
* gst-libs/gst/interfaces/Makefile.am:
* gst-libs/gst/riff/Makefile.am:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/tag/Makefile.am:
* gst/adder/Makefile.am:
* gst/audioconvert/Makefile.am:
* gst/audiorate/Makefile.am:
* gst/audioresample/Makefile.am:
* gst/playback/Makefile.am:
* gst/tcp/Makefile.am:
* gst/videoscale/Makefile.am:
* gst/volume/Makefile.am:
* sys/ximage/Makefile.am:
* sys/xvimage/Makefile.am:
* tests/icles/Makefile.am:
adapt

17 years agoAdd a method to the XOverlay interface to allow disabling of event handling in x...
Julien Moutte [Thu, 4 Jan 2007 11:30:53 +0000 (11:30 +0000)]
Add a method to the XOverlay interface to allow disabling of event handling in x[v]imagesink elements. This will let ...

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

* gst-libs/gst/interfaces/xoverlay.c:
(gst_x_overlay_handle_events):
* gst-libs/gst/interfaces/xoverlay.h:
* sys/ximage/ximagesink.c: (gst_ximagesink_xwindow_new),
(gst_ximagesink_set_xwindow_id),
(gst_ximagesink_set_event_handling),
(gst_ximagesink_xoverlay_init), (gst_ximagesink_set_property),
(gst_ximagesink_get_property), (gst_ximagesink_init),
(gst_ximagesink_class_init):
* sys/ximage/ximagesink.h:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_new),
(gst_xvimagesink_set_xwindow_id),
(gst_xvimagesink_set_event_handling),
(gst_xvimagesink_xoverlay_init), (gst_xvimagesink_set_property),
(gst_xvimagesink_get_property), (gst_xvimagesink_init),
(gst_xvimagesink_class_init):
* sys/xvimage/xvimagesink.h:
* tests/icles/stress-xoverlay.c: (toggle_events),
(create_window):
Add a method to the XOverlay interface to allow disabling of
event handling in x[v]imagesink elements. This will let X events
propagate to parent windows which can be usefull in some cases.
Be carefull that the application is then responsible of pushing
navigation events and expose events to the video sink.
Fixes: #387138.

17 years agoAdd vorbistag <=> GStreamer tag mapping for GST_TAG_LOCATION (fixes #392070).
Tim-Philipp Müller [Wed, 3 Jan 2007 15:45:06 +0000 (15:45 +0000)]
Add vorbistag <=> GStreamer tag mapping for GST_TAG_LOCATION (fixes #392070).

Original commit message from CVS:
* gst-libs/gst/tag/gstvorbistag.c:
* tests/check/libs/tag.c: (GST_START_TEST):
Add vorbistag <=> GStreamer tag mapping for GST_TAG_LOCATION
(fixes #392070).

17 years agoDist design docs.
Tim-Philipp Müller [Mon, 1 Jan 2007 18:59:49 +0000 (18:59 +0000)]
Dist design docs.

Original commit message from CVS:
* configure.ac:
* docs/Makefile.am:
* docs/design/Makefile.am:
Dist design docs.

17 years agodocs/libs/gst-plugins-base-libs-sections.txt: Fix a documentation typo. Fixes: #390063.
Julien Moutte [Wed, 27 Dec 2006 17:15:35 +0000 (17:15 +0000)]
docs/libs/gst-plugins-base-libs-sections.txt: Fix a documentation typo. Fixes: #390063.

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

* docs/libs/gst-plugins-base-libs-sections.txt: Fix a
documentation
typo. Fixes: #390063.

17 years agosys/: Plug a caps leak.
Julien Moutte [Wed, 27 Dec 2006 12:08:13 +0000 (12:08 +0000)]
sys/: Plug a caps leak.

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

* sys/ximage/ximagesink.c: (gst_ximagesink_setcaps):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_setcaps): Plug a
caps leak.
* win32/common/config.h: Updated.

17 years agotests/check/elements/: Fix the dp tests, but activating the pads for the streamheader...
Stefan Kost [Fri, 22 Dec 2006 12:10:18 +0000 (12:10 +0000)]
tests/check/elements/: Fix the dp tests, but activating the pads for the streamheader tests too and cleaning up condi...

Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (cleanup_gdpdepay),
(setup_gdpdepay_streamheader):
* tests/check/elements/gdppay.c: (cleanup_gdppay),
(setup_gdppay_streamheader):
Fix the dp tests, but activating the pads for the streamheader tests
too and cleaning up conditionaly

17 years agogst/ffmpegcolorspace/: Add 2 new caps arrangements, for 24-bit RGB and BGR in 32...
Jan Schmidt [Fri, 22 Dec 2006 11:09:34 +0000 (11:09 +0000)]
gst/ffmpegcolorspace/: Add 2 new caps arrangements, for 24-bit RGB and BGR in 32-bits, but at the other end of the wo...

Original commit message from CVS:
* gst/ffmpegcolorspace/avcodec.h:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_pixfmt),
(gst_ffmpegcsp_avpicture_fill):
* gst/ffmpegcolorspace/imgconvert.c: (img_convert),
(img_get_alpha_info):
Add 2 new caps arrangements, for 24-bit RGB and BGR in 32-bits, but at the
other end of the word. Fixes: #387073.
Add some inconsequential branch hints in a couple of places.

17 years agogst/ffmpegcolorspace/gstffmpegcodecmap.c: The "signed" field in raw audio caps is...
Tim-Philipp Müller [Thu, 21 Dec 2006 12:30:11 +0000 (12:30 +0000)]
gst/ffmpegcolorspace/gstffmpegcodecmap.c: The "signed" field in raw audio caps is of boolean type, trying to extract ...

Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_caps_to_smpfmt):
The "signed" field in raw audio caps is of boolean type, trying to
extract the value with _get_int() will fail (fix to keep in sync with
the copy in gst-ffmpeg)

17 years agotests/check/elements/: consistent pad (de)activation
Stefan Kost [Thu, 21 Dec 2006 08:12:26 +0000 (08:12 +0000)]
tests/check/elements/: consistent pad (de)activation

Original commit message from CVS:
* tests/check/elements/audioresample.c: (cleanup_audioresample):
* tests/check/elements/audiotestsrc.c: (cleanup_audiotestsrc):
* tests/check/elements/gdpdepay.c: (setup_gdpdepay),
(cleanup_gdpdepay):
* tests/check/elements/gdppay.c: (setup_gdppay), (cleanup_gdppay):
* tests/check/elements/subparse.c: (teardown_subparse):
* tests/check/elements/textoverlay.c: (cleanup_textoverlay):
* tests/check/elements/videorate.c: (cleanup_videorate):
* tests/check/elements/videotestsrc.c: (cleanup_videotestsrc):
* tests/check/elements/volume.c: (cleanup_volume):
* tests/check/elements/vorbisdec.c: (setup_vorbisdec),
(cleanup_vorbisdec):
* tests/check/elements/vorbistag.c: (setup_vorbistag),
(cleanup_vorbistag):
consistent pad (de)activation

17 years agogst/typefind/gsttypefindfunctions.c: Forgot to register the extensions.
Tim-Philipp Müller [Wed, 20 Dec 2006 10:29:58 +0000 (10:29 +0000)]
gst/typefind/gsttypefindfunctions.c: Forgot to register the extensions.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
Forgot to register the extensions.

17 years agogst/typefind/gsttypefindfunctions.c: Add typefinder for VIVO files (my christmas...
Tim-Philipp Müller [Wed, 20 Dec 2006 09:25:55 +0000 (09:25 +0000)]
gst/typefind/gsttypefindfunctions.c: Add typefinder for VIVO files (my christmas present to the 90s).

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (vivo_type_find),
(plugin_init):
Add typefinder for VIVO files (my christmas present to the 90s).

17 years agogst/playback/gstdecodebin.c: Special-case the text/plain media type: we only want...
Tim-Philipp Müller [Sat, 16 Dec 2006 13:59:09 +0000 (13:59 +0000)]
gst/playback/gstdecodebin.c: Special-case the text/plain media type: we only want to recognise it as a 'raw' decoded ...

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (type_found):
Special-case the text/plain media type: we only want to recognise it
as a 'raw' decoded media type if it comes from a demuxer or subtitle
parser, but not if the entire stream is of text/plain type. If the
entire stream is text/plain, we should just error out.
This fixes playback of audio files with lyrics in totem. Totem can't
distinguish between text files and subtitle files and passes any
.txt file with the same basename as the main file to playbin as
suburi, and playbin will then throw a 'subtitle found, but no video
stream' error, which isn't entirely helpful. See #380342.
Also, with this change we'll show a slightly more correct error
message in case totem passes a playlist file to us (although a
custom error message wording instead of the default text would
probably not be a bad idea either).
Same problem also needs to be fixed for playbin+decodebin2.
* tests/check/Makefile.am:
* tests/check/elements/decodebin.c: (src_handoff_cb),
(decodebin_new_decoded_pad_cb), (GST_START_TEST),
(decodebin_suite):
Add simple unit test for decodebin for the above.

17 years agogst/playback/: Refuse to change state to READY when we failed to create any of the...
Tim-Philipp Müller [Sat, 16 Dec 2006 12:22:57 +0000 (12:22 +0000)]
gst/playback/: Refuse to change state to READY when we failed to create any of the required elements in our instance ...

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_change_state):
* gst/playback/gstdecodebin2.c: (gst_decode_bin_change_state):
Refuse to change state to READY when we failed to create any of the
required elements in our instance init function.