platform/upstream/gst-plugins-base.git
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.

17 years agodocs/libs/gst-plugins-base-libs-sections.txt: Small docs fixes/updates.
Tim-Philipp Müller [Fri, 15 Dec 2006 10:52:23 +0000 (10:52 +0000)]
docs/libs/gst-plugins-base-libs-sections.txt: Small docs fixes/updates.

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-sections.txt:
Small docs fixes/updates.
* gst-libs/gst/video/gstvideosink.h:
Remove nonfunctional GST_VIDEO_SINK_CLOCK macro which is a leftover
from the 0.9 days (GST_BASE_SINK_CLOCK, which it points to, was
removed from the base sink API between 0.9.6 and 0.9.7).
API: add GST_VIDEO_SINK_CAST and use it for the height/width
accessor macros, so we don't do a runtime GObject type check every
time we use them.

17 years agoadd doap file
Thomas Vander Stichele [Fri, 15 Dec 2006 00:20:37 +0000 (00:20 +0000)]
add doap file

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

17 years agoDeclare variables at the beginning of a block. Fixes #383195.
Jens Granseuer [Sat, 9 Dec 2006 15:12:38 +0000 (15:12 +0000)]
Declare variables at the beginning of a block. Fixes #383195.

Original commit message from CVS:
Patch by: Jens Granseuer <jensgr at gmx net>
* gst-libs/gst/cdda/gstcddabasesrc.c: (gst_cdda_base_src_create):
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
(gst_base_rtp_audio_payload_handle_frame_based_buffer),
(gst_base_rtp_audio_payload_handle_sample_based_buffer):
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_fixate):
Declare variables at the beginning of a block. Fixes #383195.

17 years agoconfigure.ac: Bump version nano - back to CVS.
Jan Schmidt [Thu, 7 Dec 2006 02:38:41 +0000 (02:38 +0000)]
configure.ac: Bump version nano - back to CVS.

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

17 years agoconfigure.ac: releasing 0.10.11, "Dumb things" RELEASE-0_10_11
Jan Schmidt [Thu, 7 Dec 2006 02:30:38 +0000 (02:30 +0000)]
configure.ac: releasing 0.10.11, "Dumb things"

Original commit message from CVS:
=== release 0.10.11 ===

2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>

* configure.ac:
releasing 0.10.11, "Dumb things"

17 years agogst/playback/gstdecodebin.c: Handle the case where an element has multiple pads with...
Jan Schmidt [Tue, 5 Dec 2006 12:44:00 +0000 (12:44 +0000)]
gst/playback/gstdecodebin.c: Handle the case where an element has multiple pads with unfixed caps as well as still po...

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (find_dynamic), (dynamic_add),
(close_pad_link), (elem_is_dynamic), (unlinked), (close_link):
Handle the case where an element has multiple pads with
unfixed caps as well as still possibly producing more dynamic
pads by storing each case as a distinct entry in the dynamic list.
Fixes #38223 again.

17 years agogst/playback/gstdecodebin.c: Fix #382223, add more dynamic caps handling.
Wim Taymans [Mon, 4 Dec 2006 13:02:37 +0000 (13:02 +0000)]
gst/playback/gstdecodebin.c: Fix #382223, add more dynamic caps handling.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (close_pad_link):
Fix #382223, add more dynamic caps handling.

17 years agoIgnore all pot files
Zaheer Abbas Merali [Fri, 1 Dec 2006 11:35:57 +0000 (11:35 +0000)]
Ignore all pot files

Original commit message from CVS:
Ignore all pot files

17 years agogst/audiorate/gstaudiorate.c: Delete bad debug code.
Michael Smith [Fri, 1 Dec 2006 10:36:50 +0000 (10:36 +0000)]
gst/audiorate/gstaudiorate.c: Delete bad debug code.

Original commit message from CVS:
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_chain):
Delete bad debug code.
Fixes #381219

17 years agoFix compilation on win32 under VS8
Sergey Scobich [Fri, 1 Dec 2006 10:27:54 +0000 (10:27 +0000)]
Fix compilation on win32 under VS8

Original commit message from CVS:
* gst/videoscale/vs_4tap.c:
* win32/MANIFEST:
* win32/common/config.h:
* win32/vs8/libgstvideoscale.vcproj:
Fix compilation on win32 under VS8
Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
Partially fixes #381175

17 years agoUpdate .po files
Jan Schmidt [Thu, 30 Nov 2006 23:46:27 +0000 (23:46 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

17 years agotests/check/pipelines/theoraenc.c: It would be very bad if, after a discont buffer...
Michael Smith [Thu, 30 Nov 2006 12:50:42 +0000 (12:50 +0000)]
tests/check/pipelines/theoraenc.c: It would be very bad if, after a discont buffer, we thought every single following...

Original commit message from CVS:
* tests/check/pipelines/theoraenc.c: (check_buffer_granulepos),
(GST_START_TEST):
It would be very bad if, after a discont buffer, we thought every
single following buffer was also discont. So, add to the test to
ensure that this isn't the case.

* ext/theora/theoraenc.c: (theora_enc_is_discontinuous):
... it was the case. So fix it.

17 years agogst/playback/gstplaybasebin.c: Improve debug.
Wim Taymans [Tue, 28 Nov 2006 16:43:18 +0000 (16:43 +0000)]
gst/playback/gstplaybasebin.c: Improve debug.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (check_queue_event):
Improve debug.
* gst/videoscale/gstvideoscale.c: (gst_video_scale_transform_caps):
Fix width and height range from 16 - 4096 to 1 - MAXINT, just like the
padtemplate caps. Refixes #357577.

17 years agogst/playback/gstplaybasebin.c: Add event probe to see when EOS is in a queue and...
Wim Taymans [Tue, 28 Nov 2006 16:21:27 +0000 (16:21 +0000)]
gst/playback/gstplaybasebin.c: Add event probe to see when EOS is in a queue and we can disable the underrun signals....

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (check_queue_event),
(queue_threshold_reached), (queue_out_of_data),
(gen_preroll_element):
Add event probe to see when EOS is in a queue and we can disable the
underrun signals. Fixes #357577.

17 years agogst/playback/: New decodebin2 element.
Edward Hervey [Tue, 28 Nov 2006 14:40:39 +0000 (14:40 +0000)]
gst/playback/: New decodebin2 element.

Original commit message from CVS:
* gst/playback/Makefile.am:
* gst/playback/gstdecodebin2.c: (gst_decode_bin_get_type),
(_gst_boolean_accumulator), (gst_decode_bin_class_init),
(gst_decode_bin_factory_filter), (compare_ranks), (print_feature),
(gst_decode_bin_init), (gst_decode_bin_dispose),
(gst_decode_bin_finalize), (gst_decode_bin_set_property),
(gst_decode_bin_get_property), (gst_decode_bin_set_caps),
(gst_decode_bin_get_caps), (gst_decode_bin_autoplug_continue),
(gst_decode_bin_autoplug_sort), (analyze_new_pad), (connect_pad),
(connect_element), (expose_pad), (type_found),
(pad_added_group_cb), (pad_removed_group_cb),
(no_more_pads_group_cb), (pad_added_cb), (pad_removed_cb),
(no_more_pads_cb), (find_compatibles), (is_demuxer_element),
(are_raw_caps), (multi_queue_overrun_cb),
(multi_queue_underrun_cb), (gst_decode_group_new),
(get_current_group), (group_demuxer_event_probe),
(gst_decode_group_control_demuxer_pad),
(gst_decode_group_control_source_pad),
(gst_decode_group_check_if_blocked),
(gst_decode_group_check_if_drained), (gst_decode_group_expose),
(gst_decode_group_hide), (gst_decode_group_free),
(gst_decode_group_set_complete), (source_pad_blocked_cb),
(source_pad_event_probe), (gst_decode_pad_new), (add_fakesink),
(remove_fakesink), (find_sink_pad), (gst_decode_bin_change_state),
(plugin_init):
New decodebin2 element.
Closes #370092
* gst/playback/gstplay-marshal.list:
Added marshallers for new signals in decodebin2
* gst/playback/gstplaybasebin.c: (setup_subtitle), (make_decoder):
Use decodebin2 if *and only if* the USE_DECODEBIN2 environment variable
is set.

17 years agogst/playback/gstplaybasebin.c: Disable rtsp:// uris for the release, it's not good...
Wim Taymans [Tue, 28 Nov 2006 10:45:40 +0000 (10:45 +0000)]
gst/playback/gstplaybasebin.c: Disable rtsp:// uris for the release, it's not good enough yet.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (setup_source),
(gst_play_base_bin_change_state):
Disable rtsp:// uris for the release, it's not good enough yet.
Remove unused var.

17 years agoext/theora/theoradec.c: Implement reverse playback.
Wim Taymans [Sun, 26 Nov 2006 16:39:41 +0000 (16:39 +0000)]
ext/theora/theoradec.c: Implement reverse playback.

Original commit message from CVS:
* ext/theora/theoradec.c: (gst_theora_dec_reset),
(theora_dec_push_forward), (theora_dec_push_reverse),
(theora_handle_data_packet), (theora_dec_decode_buffer),
(theora_dec_flush_decode), (theora_dec_chain_reverse),
(theora_dec_chain_forward), (theora_dec_chain):
Implement reverse playback.
* ext/vorbis/vorbisdec.c: (gst_vorbis_dec_reset),
(vorbis_dec_decode_buffer), (vorbis_dec_flush_decode),
(vorbis_dec_chain_forward):
Clear buffers used for reverse playback in _reset.
No need to set the eos flag, we clip samples using the segment.

17 years agoext/ogg/gstoggdemux.c: Some cleanups.
Wim Taymans [Fri, 24 Nov 2006 15:40:58 +0000 (15:40 +0000)]
ext/ogg/gstoggdemux.c: Some cleanups.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_page_copy), (gst_ogg_page_free),
(gst_ogg_pad_init), (gst_ogg_pad_dispose), (gst_ogg_pad_reset),
(gst_ogg_pad_stream_out), (gst_ogg_pad_submit_page),
(gst_ogg_chain_reset), (gst_ogg_demux_perform_seek):
Some cleanups.
Handle continued pages in reverse mode.

17 years agoext/vorbis/vorbisdec.c: Small cleanups.
Wim Taymans [Fri, 24 Nov 2006 15:39:03 +0000 (15:39 +0000)]
ext/vorbis/vorbisdec.c: Small cleanups.

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_push_forward),
(vorbis_handle_data_packet), (vorbis_dec_decode_buffer),
(vorbis_dec_flush_decode):
Small cleanups.
Don't try to add invalid timestamps.
Clipping will unref the buffer.

17 years agogst/: remove obsolete _factory_init protos
Stefan Kost [Fri, 24 Nov 2006 08:56:10 +0000 (08:56 +0000)]
gst/: remove obsolete _factory_init protos

Original commit message from CVS:
* gst/adder/gstadder.h:
* gst/audiotestsrc/gstaudiotestsrc.h:
remove obsolete _factory_init protos

17 years agosys/xvimage/xvimagesink.c: Fix spacing in debug message.
Stefan Kost [Fri, 24 Nov 2006 08:35:23 +0000 (08:35 +0000)]
sys/xvimage/xvimagesink.c: Fix spacing in debug message.

Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_buffer_alloc):
Fix spacing in debug message.

17 years agoext/ogg/gstoggdemux.c: Don't just ignore return values from _pad_push().
Wim Taymans [Thu, 23 Nov 2006 11:07:23 +0000 (11:07 +0000)]
ext/ogg/gstoggdemux.c: Don't just ignore return values from _pad_push().

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_page),
(gst_ogg_demux_chain):
Don't just ignore return values from _pad_push().
Small debug improvements.

17 years agoext/ogg/gstoggmux.c: If our incoming buffer is marked as DISCONT, then increment...
Michael Smith [Thu, 23 Nov 2006 11:02:11 +0000 (11:02 +0000)]
ext/ogg/gstoggmux.c: If our incoming buffer is marked as DISCONT, then increment the page number (so that the discont...

Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_process_best_pad):
If our incoming buffer is marked as DISCONT, then increment the page
number (so that the discontinuity is marked in the final ogg
bitstream) and flush the previous page.

17 years agoext/theora/: Mark discontinuities of > 3/4 of a frame, reinit encoder.
Michael Smith [Wed, 22 Nov 2006 14:34:03 +0000 (14:34 +0000)]
ext/theora/: Mark discontinuities of > 3/4 of a frame, reinit encoder.

Original commit message from CVS:
* ext/theora/gsttheoraenc.h:
* ext/theora/theoraenc.c: (gst_theora_enc_init),
(theora_enc_reset), (theora_enc_clear), (theora_enc_sink_setcaps),
(theora_buffer_from_packet), (theora_enc_is_discontinuous),
(theora_enc_chain), (theora_enc_change_state):
Mark discontinuities of > 3/4 of a frame, reinit encoder.

* tests/check/pipelines/theoraenc.c: (check_buffer_granulepos),
(GST_START_TEST), (theoraenc_suite):
Enable discontinuity test, fix it.

17 years agoext/pango/gsttextoverlay.*: Some textoverlay fixes: for one, in the video chain funct...
Tim-Philipp Müller [Tue, 21 Nov 2006 18:39:34 +0000 (18:39 +0000)]
ext/pango/gsttextoverlay.*: Some textoverlay fixes: for one, in the video chain function, actually wait for a text bu...

Original commit message from CVS:
* ext/pango/gsttextoverlay.c: (gst_text_overlay_init),
(gst_text_overlay_text_pad_unlink), (gst_text_overlay_text_event),
(gst_text_overlay_video_event), (gst_text_overlay_pop_text),
(gst_text_overlay_text_chain), (gst_text_overlay_video_chain),
(gst_text_overlay_change_state):
* ext/pango/gsttextoverlay.h:
Some textoverlay fixes: for one, in the video chain function,
actually wait for a text buffer to come in if there is none at the
moment and there should be one; also, deal more gracefully with
incoming buffers that do not have a timestamp or duration; discard
text buffer when not needed any longer. Fixes #341681.
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/textoverlay.c:
(notgst_check_setup_src_pad2), (notgst_check_teardown_src_pad2),
(setup_textoverlay), (buffer_is_all_black), (create_black_buffer),
(create_text_buffer), (cleanup_textoverlay), (GST_START_TEST),
(test_video_waits_for_text_send_text_newsegment_thread),
(test_video_waits_for_text_shutdown_element),
(test_render_continuity_push_video_buffers_thread),
(textoverlay_suite):
Add some unit tests for textoverlay.

17 years agogst/typefind/gsttypefindfunctions.c: Avoid integer underflow when the found probabili...
Tim-Philipp Müller [Tue, 21 Nov 2006 09:29:56 +0000 (09:29 +0000)]
gst/typefind/gsttypefindfunctions.c: Avoid integer underflow when the found probability for mp3 is smaller than the '...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset):
Avoid integer underflow when the found probability for mp3 is
smaller than the 'penalty' we subtract if there's not a clean
mp3 header sync at offset 0.

17 years agodocs/libs/gst-plugins-base-libs-sections.txt: Add some new symbols to the docs
Stefan Kost [Tue, 21 Nov 2006 08:17:16 +0000 (08:17 +0000)]
docs/libs/gst-plugins-base-libs-sections.txt: Add some new symbols to the docs

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-sections.txt:
Add some new symbols to the docs

17 years agotests/check/: Enable ffmpegcolorspace test now that the RGBA32 issue is fixed (for...
Tim-Philipp Müller [Mon, 20 Nov 2006 16:44:28 +0000 (16:44 +0000)]
tests/check/: Enable ffmpegcolorspace test now that the RGBA32 issue is fixed (for now not for valgrinding though, si...

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/ffmpegcolorspace.c:
(ffmpegcolorspace_suite):
Enable ffmpegcolorspace test now that the RGBA32 issue is fixed
(for now not for valgrinding though, since it takes too long).

17 years agogst/ffmpegcolorspace/gstffmpegcodecmap.c: Fix RGBA32 caps. Fixes #357038.
Wim Taymans [Mon, 20 Nov 2006 15:01:09 +0000 (15:01 +0000)]
gst/ffmpegcolorspace/gstffmpegcodecmap.c: Fix RGBA32 caps. Fixes #357038.

Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_pixfmt_to_caps):
Fix RGBA32 caps. Fixes #357038.

17 years agogst-libs/gst/interfaces/mixertrack.h: Add FIXME so we can add some padding here in...
Tim-Philipp Müller [Mon, 20 Nov 2006 12:20:39 +0000 (12:20 +0000)]
gst-libs/gst/interfaces/mixertrack.h: Add FIXME so we can add some padding here in 0.11

Original commit message from CVS:
* gst-libs/gst/interfaces/mixertrack.h:
Add FIXME so we can add some padding here in 0.11

17 years agogst-libs/gst/rtp/gstbasertpaudiopayload.h: Fix GstBaseRTPAudioPayload structure so...
Tim-Philipp Müller [Sun, 19 Nov 2006 17:07:34 +0000 (17:07 +0000)]
gst-libs/gst/rtp/gstbasertpaudiopayload.h: Fix GstBaseRTPAudioPayload structure so the whole GObject inheritance busi...

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpaudiopayload.h:
Fix GstBaseRTPAudioPayload structure so the whole GObject
inheritance business actually works (parent class instance structure
must always come first in the derived class instance structure).

17 years agoMake sure our checks and the videotestsrc plugin link against the local uninstalled...
Tim-Philipp Müller [Thu, 16 Nov 2006 14:35:30 +0000 (14:35 +0000)]
Make sure our checks and the videotestsrc plugin link against the local uninstalled gst libs and not any installed gs...

Original commit message from CVS:
* gst/videotestsrc/Makefile.am:
* tests/check/Makefile.am:
Make sure our checks and the videotestsrc plugin link against the
local uninstalled gst libs and not any installed gst libs that
might happen to exist as well.
* tests/check/elements/adder.c: (message_received),
(test_event_message_received), (test_play_twice_message_received):
* tests/check/elements/ffmpegcolorspace.c: (GST_START_TEST):
Fix compiler warnings when compiling against core with disabled
debugging system.

17 years agogst/audiorate/gstaudiorate.c: Fix audiorate, so that it accurately sets offsets and...
Michael Smith [Thu, 16 Nov 2006 12:55:08 +0000 (12:55 +0000)]
gst/audiorate/gstaudiorate.c: Fix audiorate, so that it accurately sets offsets and timestamps.

Original commit message from CVS:
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_reset),
(gst_audio_rate_sink_event), (gst_audio_rate_chain):
Fix audiorate, so that it accurately sets offsets and timestamps.
Doesn't change the fundamental algorithmic decisions; so should be
safe.

* tests/check/Makefile.am:
Enable audiorate test now that it passes.

17 years agosys/xvimage/xvimagesink.c: clear xv when going to NULL, remove // commented non-exist...
Stefan Kost [Wed, 15 Nov 2006 10:05:33 +0000 (10:05 +0000)]
sys/xvimage/xvimagesink.c: clear xv when going to NULL, remove // commented non-existant proto

Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_change_state):
clear xv when going to NULL, remove // commented non-existant proto
* tests/examples/seek/seek.c: (main):
add missing tooltip description for scrub and play_scrub

17 years agoconfigure.ac: Bump liboil requirement to 0.3.8.
David Schleef [Tue, 14 Nov 2006 23:34:19 +0000 (23:34 +0000)]
configure.ac: Bump liboil requirement to 0.3.8.

Original commit message from CVS:
* configure.ac:
Bump liboil requirement to 0.3.8.
* gst-libs/gst/riff/riff-media.c:
Add Dirac fourcc.
* gst/videoscale/vs_image.h:
* gst/videoscale/vs_scanline.h:
Use liboil's stdint.h.
* gst/videotestsrc/videotestsrc.c:
Remove liboil related ifdef's, since they aren't needed now, and
won't work with future versions.

17 years agogst/videoscale/: Add a 4-tap image scaler. Theoretically looks much prettier.
David Schleef [Tue, 14 Nov 2006 23:08:38 +0000 (23:08 +0000)]
gst/videoscale/: Add a 4-tap image scaler.  Theoretically looks much prettier.

Original commit message from CVS:
* gst/videoscale/Makefile.am:
* gst/videoscale/gstvideoscale.c:
* gst/videoscale/gstvideoscale.h:
* gst/videoscale/vs_4tap.c:
* gst/videoscale/vs_4tap.h:
* gst/videoscale/vs_image.c:
* gst/videoscale/vs_image.h:
* gst/videoscale/vs_scanline.c:
* gst/videoscale/vs_scanline.h:
Add a 4-tap image scaler.  Theoretically looks much prettier.
The tap calculation could use some improvement.

17 years agoVarious gsize and gssize printf fixes. Fixes #372507.
Jan David Mol [Tue, 14 Nov 2006 11:54:14 +0000 (11:54 +0000)]
Various gsize and gssize printf fixes. Fixes #372507.

Original commit message from CVS:
Patch by: Jan David Mol <j dot j dot d dot mol at tudelft dot nl>
* gst-libs/gst/riff/riff-read.c: (gst_riff_parse_strf_auds),
(gst_riff_parse_strf_iavs):
* gst/subparse/gstsubparse.c: (convert_encoding):
* gst/tcp/gstmultifdsink.c:
(gst_multi_fd_sink_handle_client_write):
* gst/tcp/gsttcp.c: (gst_tcp_socket_write), (gst_tcp_socket_read),
(gst_tcp_read_buffer), (gst_tcp_gdp_read_caps),
(gst_tcp_gdp_write_buffer), (gst_tcp_gdp_write_caps):
* gst/tcp/gsttcpclientsink.c: (gst_tcp_client_sink_render):
* sys/ximage/ximagesink.c: (gst_ximagesink_check_xshm_calls),
(gst_ximagesink_ximage_new):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new):
Various gsize and gssize printf fixes. Fixes #372507.

17 years agoext/vorbis/vorbisdec.*: First stab at vorbis reverse playback.
Wim Taymans [Mon, 13 Nov 2006 18:14:48 +0000 (18:14 +0000)]
ext/vorbis/vorbisdec.*: First stab at vorbis reverse playback.

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_sink_event),
(vorbis_dec_push_forward), (vorbis_dec_push_reverse),
(vorbis_handle_data_packet), (vorbis_dec_decode_buffer),
(vorbis_dec_flush_decode), (vorbis_dec_chain_reverse),
(vorbis_dec_chain_forward), (vorbis_dec_chain):
* ext/vorbis/vorbisdec.h:
First stab at vorbis reverse playback.

17 years agogst-libs/gst/audio/gstbaseaudiosink.*: Make the clock sync code more accurate wrt...
Wim Taymans [Mon, 13 Nov 2006 17:30:17 +0000 (17:30 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.*: Make the clock sync code more accurate wrt resampling and playback at differen...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_event), (gst_base_audio_sink_render):
* gst-libs/gst/audio/gstbaseaudiosink.h:
Make the clock sync code more accurate wrt resampling and playback
at different rates.
* gst-libs/gst/audio/gstringbuffer.c:
(gst_ring_buffer_commit_full), (gst_ring_buffer_commit):
* gst-libs/gst/audio/gstringbuffer.h:
Use better algorithm to interpolate sample rates.

17 years agoext/ogg/gstoggdemux.c: Improve a debug line slightly.
Michael Smith [Mon, 13 Nov 2006 15:31:01 +0000 (15:31 +0000)]
ext/ogg/gstoggdemux.c: Improve a debug line slightly.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_page):
Improve a debug line slightly.

* ext/ogg/gstogmparse.c: (gst_ogm_parse_plugin_init):
Call gst_riff_init() in plugin_init, to avoid getting errors from
the debug system (unrelated changes to another plugin made this turn
up; not sure why).

17 years agowin32/common/libgsttag.def: Add missing symbol (#366492).
Sergey Scobich [Fri, 10 Nov 2006 19:20:21 +0000 (19:20 +0000)]
win32/common/libgsttag.def: Add missing symbol (#366492).

Original commit message from CVS:
Patch by: Sergey Scobich  <sergery.scobich at gmail com>
* win32/common/libgsttag.def:
Add missing symbol (#366492).

17 years agogst/playback/gststreamselector.c: Don't unref a NULL pad.
Tim-Philipp Müller [Fri, 10 Nov 2006 00:52:55 +0000 (00:52 +0000)]
gst/playback/gststreamselector.c: Don't unref a NULL pad.

Original commit message from CVS:
* gst/playback/gststreamselector.c: (gst_stream_selector_dispose):
Don't unref a NULL pad.

17 years agoext/ogg/gstoggdemux.c: Implement first stab at reverse playback.
Christian Schaller [Thu, 9 Nov 2006 00:50:00 +0000 (00:50 +0000)]
ext/ogg/gstoggdemux.c: Implement first stab at reverse playback.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_page),
(gst_ogg_demux_get_prev_page), (gst_ogg_demux_perform_seek),
(gst_ogg_demux_handle_page), (gst_ogg_demux_chain),
(gst_ogg_demux_loop_forward), (gst_ogg_demux_loop_reverse),
(gst_ogg_demux_loop):
Implement first stab at reverse playback.

17 years agogst-libs/gst/riff/riff-media.c: add h263/h264 variants to the caps, Fixes #363118
Stefan Kost [Tue, 7 Nov 2006 07:22:32 +0000 (07:22 +0000)]
gst-libs/gst/riff/riff-media.c: add h263/h264 variants to the caps, Fixes #363118

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
(gst_riff_create_video_template_caps):
add h263/h264 variants to the caps, Fixes #363118

18 years agogst-libs/gst/audio/: Use g_strerror instead of strerror so we get UTF-8.
Tim-Philipp Müller [Mon, 6 Nov 2006 18:24:59 +0000 (18:24 +0000)]
gst-libs/gst/audio/: Use g_strerror instead of strerror so we get UTF-8.

Original commit message from CVS:
* gst-libs/gst/audio/gstaudiosink.c: (audioringbuffer_thread_func):
* gst-libs/gst/audio/gstaudiosrc.c: (audioringbuffer_thread_func):
Use g_strerror instead of strerror so we get UTF-8.

18 years agoext/ogg/: Add/remove KW-DIRAC header here, since it is ogg-specific.
David Schleef [Sat, 4 Nov 2006 07:25:58 +0000 (07:25 +0000)]
ext/ogg/: Add/remove KW-DIRAC header here, since it is ogg-specific.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c:
* ext/ogg/gstoggmux.c:
Add/remove KW-DIRAC header here, since it is ogg-specific.

18 years agogst/typefind/gsttypefindfunctions.c: Recognise more mpeg4 elementary video streams.
Michael Smith [Fri, 3 Nov 2006 15:44:31 +0000 (15:44 +0000)]
gst/typefind/gsttypefindfunctions.c: Recognise more mpeg4 elementary video streams.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mpeg4_video_type_find):
Recognise more mpeg4 elementary video streams.

18 years agogst/typefind/gsttypefindfunctions.c: Lower the probability of mp3 typefinding functio...
Edward Hervey [Thu, 2 Nov 2006 17:26:03 +0000 (17:26 +0000)]
gst/typefind/gsttypefindfunctions.c: Lower the probability of mp3 typefinding functions if we don't find a valid mp3 ...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset):
Lower the probability of mp3 typefinding functions if we don't find a
valid mp3 header at the start of the file.
Closes #369482

18 years agoext/theora/: Document and partially implement an algorithm for doing reverse playback...
Wim Taymans [Thu, 2 Nov 2006 15:06:36 +0000 (15:06 +0000)]
ext/theora/: Document and partially implement an algorithm for doing reverse playback of theora video.

Original commit message from CVS:
* ext/theora/gsttheoradec.h:
* ext/theora/theoradec.c: (gst_theora_dec_init),
(theora_dec_sink_event), (theora_dec_chain_forward),
(theora_dec_flush_decode), (theora_dec_chain_reverse),
(theora_dec_chain):
Document and partially implement an algorithm for doing reverse playback
of theora video.

18 years agowin32/: Misc. VS8 build fixes: fix syntax in config.h, add missing entries to libgstt...
Sergey Scobich [Thu, 2 Nov 2006 14:18:45 +0000 (14:18 +0000)]
win32/: Misc. VS8 build fixes: fix syntax in config.h, add missing entries to libgsttag.def; add missing dependencies...

Original commit message from CVS:
Patch by: Sergey Scobich  <sergey.scobich at gmail com>
* win32/common/config.h:
* win32/common/interfaces-enumtypes.c:
* win32/common/libgsttag.def:
* win32/vs8/gst-plugins-base.sln:
* win32/vs8/libgstaudioresample.vcproj:
* win32/vs8/libgstinterfaces.vcproj:
* win32/vs8/libgstogg.vcproj:
* win32/vs8/libgstriff.vcproj:
* win32/vs8/libgsttag.vcproj:
* win32/vs8/libgsttheora.vcproj:
* win32/vs8/libgstvideoscale.vcproj:
* win32/vs8/libgstvorbis.vcproj:
Misc. VS8 build fixes: fix syntax in config.h, add missing entries
to libgsttag.def; add missing dependencies for some vs8 projects;
re-arrange placement of .def files in vs8 projects (#366334).

18 years agoext/ogg/gstogg.c: Remove unused variable.
Tim-Philipp Müller [Wed, 1 Nov 2006 14:08:31 +0000 (14:08 +0000)]
ext/ogg/gstogg.c: Remove unused variable.

Original commit message from CVS:
* ext/ogg/gstogg.c:
Remove unused variable.
* ext/ogg/gstoggdemux.c:
Fix Wim's surname in plugin description.

18 years agogst-plugins-base.spec.in: spec new .h file. Fixes #368310.
Wim Taymans [Tue, 31 Oct 2006 15:05:33 +0000 (15:05 +0000)]
gst-plugins-base.spec.in: spec new .h file. Fixes #368310.

Original commit message from CVS:
* gst-plugins-base.spec.in:
spec new .h file. Fixes #368310.

18 years agogst/tcp/gstmultifdsink.*: Make using the remove or clear signals threadsafe.
Michael Smith [Tue, 31 Oct 2006 14:19:07 +0000 (14:19 +0000)]
gst/tcp/gstmultifdsink.*: Make using the remove or clear signals threadsafe.

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_add_full),
(gst_multi_fd_sink_remove), (gst_multi_fd_sink_clear),
(gst_multi_fd_sink_get_stats),
(gst_multi_fd_sink_remove_client_link),
(gst_multi_fd_sink_queue_buffer),
(gst_multi_fd_sink_handle_clients):
* gst/tcp/gstmultifdsink.h:
Make using the remove or clear signals threadsafe.
Make calling get-stats with an invalid fd not segfault.
Fixes 368273.

18 years agogst-libs/gst/rtp/: Fix and activate base audio payloader.
Wim Taymans [Tue, 31 Oct 2006 10:49:19 +0000 (10:49 +0000)]
gst-libs/gst/rtp/: Fix and activate base audio payloader.

Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
(gst_base_rtp_audio_payload_init):
Fix and activate base audio payloader.