platform/upstream/gstreamer.git
17 years agotypo
Thomas Vander Stichele [Thu, 1 Mar 2007 10:20:59 +0000 (10:20 +0000)]
typo

Original commit message from CVS:
typo

17 years agoconfigure.ac: Convert to new AG_GST style.
Thomas Vander Stichele [Wed, 28 Feb 2007 19:27:28 +0000 (19:27 +0000)]
configure.ac: Convert to new AG_GST style.

Original commit message from CVS:
* configure.ac:
Convert to new AG_GST style.

17 years agogst/playback/gstplaybin.c: Fix race condition when rapidly switching visualisations...
Ed Catmur [Wed, 28 Feb 2007 15:17:20 +0000 (15:17 +0000)]
gst/playback/gstplaybin.c: Fix race condition when rapidly switching visualisations in playbin.

Original commit message from CVS:
Patch by: Ed Catmur <ed at catmur dot co dot uk>
* gst/playback/gstplaybin.c: (gst_play_bin_vis_unblocked),
(gst_play_bin_vis_blocked), (gst_play_bin_set_property):
Fix race condition when rapidly switching visualisations in playbin.
Fixes #401029.

17 years agotests/check/Makefile.am: Include local stuff before system installed things in LDFLAG...
Jan Schmidt [Wed, 28 Feb 2007 15:11:59 +0000 (15:11 +0000)]
tests/check/Makefile.am: Include local stuff before system installed things in LDFLAGS and

Original commit message from CVS:
* tests/check/Makefile.am:
Include local stuff before system installed things in LDFLAGS and
CFLAGS.

17 years agoext/ogg/gstoggdemux.c: Improve debugging.
Wim Taymans [Wed, 28 Feb 2007 15:10:06 +0000 (15:10 +0000)]
ext/ogg/gstoggdemux.c: Improve debugging.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_sink_activate):
Improve debugging.

17 years agosys/v4l/: Fix duration and timestamping, taking latency into account.
Wim Taymans [Wed, 28 Feb 2007 15:05:03 +0000 (15:05 +0000)]
sys/v4l/: Fix duration and timestamping, taking latency into account.

Original commit message from CVS:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_class_init), (gst_v4lsrc_init),
(gst_v4lsrc_fixate), (gst_v4lsrc_query):
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_buffer_new):
Fix duration and timestamping, taking latency into account.
Implement latency query.

17 years agogst-libs/gst/audio/gstaudioclock.c: Fix clock name.
Wim Taymans [Wed, 28 Feb 2007 15:02:25 +0000 (15:02 +0000)]
gst-libs/gst/audio/gstaudioclock.c: Fix clock name.

Original commit message from CVS:
* gst-libs/gst/audio/gstaudioclock.c: (gst_audio_clock_init),
(gst_audio_clock_new):
Fix clock name.
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_init), (gst_base_audio_sink_query):
* gst-libs/gst/audio/gstbaseaudiosrc.c: (gst_base_audio_src_init),
(gst_base_audio_src_query), (gst_base_audio_src_get_offset),
(gst_base_audio_src_create):
Improve latency query code.
Use proper clock names.

17 years agoplug test leak
Thomas Vander Stichele [Wed, 28 Feb 2007 12:57:46 +0000 (12:57 +0000)]
plug test leak

Original commit message from CVS:
plug test leak

17 years agotests/check/generic/states.c: Copy the states.c test from core again
Thomas Vander Stichele [Wed, 28 Feb 2007 12:44:53 +0000 (12:44 +0000)]
tests/check/generic/states.c: Copy the states.c test from core again

Original commit message from CVS:
* tests/check/generic/states.c: (GST_START_TEST):
Copy the states.c test from core again
* tests/check/Makefile.am:
ignore cdio and cdparanoiasrc

17 years agogst/audioconvert/audioconvert.c: Also make valgrind happy and avoid copying data...
Stefan Kost [Wed, 28 Feb 2007 12:08:27 +0000 (12:08 +0000)]
gst/audioconvert/audioconvert.c: Also make valgrind happy and avoid copying data in some cases.

Original commit message from CVS:
* gst/audioconvert/audioconvert.c: (float), (double), (float_hq),
(double_hq), (audio_convert_get_func_index), (check_default),
(audio_convert_prepare_context), (audio_convert_convert):
Also make valgrind happy and avoid copying data in some cases.

17 years agouse a macro
Thomas Vander Stichele [Wed, 28 Feb 2007 11:58:16 +0000 (11:58 +0000)]
use a macro

Original commit message from CVS:
use a macro

17 years agoDon't run inplace if that overwrites source data as we go. Add more tests. Fixes...
Stefan Kost [Wed, 28 Feb 2007 11:47:45 +0000 (11:47 +0000)]
Don't run inplace if that overwrites source data as we go. Add more tests. Fixes #339837 even more.

Original commit message from CVS:
* gst/audioconvert/audioconvert.c: (float), (double), (float_hq),
(double_hq), (audio_convert_get_func_index),
(audio_convert_prepare_context), (audio_convert_convert):
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_class_init), (gst_audio_convert_get_unit_size),
(gst_audio_convert_transform_caps):
* tests/check/elements/audioconvert.c: (GST_START_TEST),
(audioconvert_suite):
Don't run inplace if that overwrites source data as we go. Add more
tests. Fixes #339837 even more.

17 years agotests/examples/seek/seek.c: Fix various seeking bugs (Slider was not updating when...
Julien Moutte [Tue, 27 Feb 2007 18:45:37 +0000 (18:45 +0000)]
tests/examples/seek/seek.c: Fix various seeking bugs (Slider was not updating when doing a non flushing seek, Reverse...

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

* tests/examples/seek/seek.c: (do_seek), (set_update_scale),
(msg_segment_done): Fix various seeking bugs (Slider was not
updating when doing a non flushing seek, Reverse playback
on segment seek was wrong).

17 years agoAdd a new plugin/library to make it easy for apps to shove data into a pipeline.
David Schleef [Mon, 26 Feb 2007 21:01:03 +0000 (21:01 +0000)]
Add a new plugin/library to make it easy for apps to shove data into a pipeline.

Original commit message from CVS:
* configure.ac:
* gst/app/Makefile.am:
* gst/app/gstapp.c:
* gst/app/gstappsrc.c:
* gst/app/gstappsrc.h:
Add a new plugin/library to make it easy for apps to shove
data into a pipeline.

17 years agotests/examples/seek/seek.c: When we stop scrubbing, don't leave the pipeline PLAYING...
Wim Taymans [Mon, 26 Feb 2007 11:48:49 +0000 (11:48 +0000)]
tests/examples/seek/seek.c: When we stop scrubbing, don't leave the pipeline PLAYING when we requested a PAUSED state.

Original commit message from CVS:
* tests/examples/seek/seek.c: (stop_seek):
When we stop scrubbing, don't leave the pipeline PLAYING when we
requested a PAUSED state.

17 years agogst-libs/gst/tag/gstvorbistag.c: Parse date strings in vorbis comments that have...
René Stadler [Sun, 25 Feb 2007 23:51:03 +0000 (23:51 +0000)]
gst-libs/gst/tag/gstvorbistag.c: Parse date strings in vorbis comments that have an invalid (zero) month or day (#410...

Original commit message from CVS:
Patch by: René Stadler <mail at renestadler de>
* gst-libs/gst/tag/gstvorbistag.c: (gst_vorbis_tag_add):
Parse date strings in vorbis comments that have an invalid (zero)
month or day (#410396).
* tests/check/libs/tag.c: (GST_START_TEST):
Test case for the above.

17 years agoFix compilation with LDFLAGS='-Wl,-z,defs' (#410963).
Loïc Minier [Sat, 24 Feb 2007 20:12:49 +0000 (20:12 +0000)]
Fix compilation with LDFLAGS='-Wl,-z,defs' (#410963).

Original commit message from CVS:
Patch by: Loïc Minier <lool+gnome at via ecp fr>
* configure.ac:
* ext/alsa/Makefile.am:
* gst/audiotestsrc/Makefile.am:
Fix compilation with LDFLAGS='-Wl,-z,defs' (#410963).

17 years agogst/playback/gstplaybin.c: Improve docs: point out that the application needs to...
Tim-Philipp Müller [Fri, 23 Feb 2007 18:49:29 +0000 (18:49 +0000)]
gst/playback/gstplaybin.c: Improve docs: point out that the application needs to assist playbin with buffering.

Original commit message from CVS:
* gst/playback/gstplaybin.c:
Improve docs: point out that the application needs to assist playbin
with buffering.

17 years agoChange GStreamer marker prefix in detail string from 'gstreamer.net' to just 'gstream...
Tim-Philipp Müller [Fri, 23 Feb 2007 13:10:50 +0000 (13:10 +0000)]
Change GStreamer marker prefix in detail string from 'gstreamer.net' to just 'gstreamer'. Document the caps string co...

Original commit message from CVS:
* gst-libs/gst/utils/install-plugins.c:
* gst-libs/gst/utils/missing-plugins.c:
* tests/check/libs/utils.c: (missing_msg_check_getters):
Change GStreamer marker prefix in detail string from 'gstreamer.net'
to just 'gstreamer'. Document the caps string component of the
decoder/encoder detail a bit better, since not everyone will be
familiar with the GStreamer media type/caps system (but they better
enjoy nested itemized lists).

17 years agogst-libs/gst/netbuffer/gstnetbuffer.c: Fix copying of GstNetBuffer (would crash befor...
Tim-Philipp Müller [Thu, 22 Feb 2007 12:57:47 +0000 (12:57 +0000)]
gst-libs/gst/netbuffer/gstnetbuffer.c: Fix copying of GstNetBuffer (would crash before, or at least lead to invalid m...

Original commit message from CVS:
* gst-libs/gst/netbuffer/gstnetbuffer.c:
(notgst_buffer_copy_fields_in_place), (gst_netbuffer_copy):
Fix copying of GstNetBuffer (would crash before, or at least lead to
invalid memory access, #410772), for now by copying the GstBuffer copy
code from the core over here so we can copy the GstBuffer fields on a
provided buffer instance (of type GstNetBuffer in this case). Would be
better to fix this with some support by the core though (and in the long
run change the broken GstBuffer/GstMiniObject copy semantics, #393099).
* tests/check/Makefile.am:
Enable unit test for GstNetBuffer.

17 years agogst-libs/gst/audio/gstbaseaudiosink.c
Andy Wingo [Thu, 22 Feb 2007 11:04:10 +0000 (11:04 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c

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

* gst-libs/gst/audio/gstbaseaudiosink.c
(gst_base_audio_sink_init): Disable pull-mode activation until we
figure out how to make audio sinks go to PLAYING.

17 years agoAdd float as an intermediate format, as well as float mixing. Enable test that was...
Stefan Kost [Thu, 22 Feb 2007 09:04:37 +0000 (09:04 +0000)]
Add float as an intermediate format, as well as float mixing. Enable test that was failing before. Fixes #339837

Original commit message from CVS:
* gst/audioconvert/audioconvert.c: (float), (double), (float_hq),
(double_hq), (audio_convert_get_func_index),
(audio_convert_prepare_context), (audio_convert_convert):
* gst/audioconvert/audioconvert.h:
* gst/audioconvert/gstchannelmix.c: (gst_channel_mix_setup_matrix),
(gst_channel_mix_mix_int), (gst_channel_mix_mix_float):
* gst/audioconvert/gstchannelmix.h:
* tests/check/elements/audioconvert.c: (GST_START_TEST):
Add float as an intermediate format, as well as float mixing. Enable
test that was failing before. Fixes #339837

17 years agotests/examples/seek/seek.c: Undo the previous commit: -1 as a stop time implies that...
Jan Schmidt [Wed, 21 Feb 2007 16:12:15 +0000 (16:12 +0000)]
tests/examples/seek/seek.c: Undo the previous commit: -1 as a stop time implies that the stop time is the end of file...

Original commit message from CVS:
* tests/examples/seek/seek.c: (do_seek):
Undo the previous commit: -1 as a stop time implies that the stop
time is the end of file, clearing any previously configured segment.

17 years agotests/examples/seek/seek.c: Don't SEEK_SET with a stop time of -1, use SEEK_NONE...
Jan Schmidt [Wed, 21 Feb 2007 15:36:26 +0000 (15:36 +0000)]
tests/examples/seek/seek.c: Don't SEEK_SET with a stop time of -1, use SEEK_NONE instead.

Original commit message from CVS:
* tests/examples/seek/seek.c: (do_seek):
Don't SEEK_SET with a stop time of -1, use SEEK_NONE instead.

17 years agogst/volume/gstvolume.c: Unbreak volume, value remains gint.
Stefan Kost [Wed, 21 Feb 2007 13:55:54 +0000 (13:55 +0000)]
gst/volume/gstvolume.c: Unbreak volume, value remains gint.

Original commit message from CVS:
* gst/volume/gstvolume.c: (volume_process_int16),
(volume_process_int16_clamp), (volume_set_caps):
Unbreak volume, value remains gint.

17 years agogst/volume/gstvolume.*: Extend float audio support (double) and some int->uint cleanups.
Stefan Kost [Wed, 21 Feb 2007 13:08:51 +0000 (13:08 +0000)]
gst/volume/gstvolume.*: Extend float audio support (double) and some int->uint cleanups.

Original commit message from CVS:
* gst/volume/gstvolume.c: (volume_choose_func),
(volume_update_real_volume), (gst_volume_set_volume),
(gst_volume_init), (volume_process_double), (volume_process_float),
(volume_process_int16), (volume_process_int16_clamp),
(volume_set_caps), (volume_transform_ip), (volume_update_volume):
* gst/volume/gstvolume.h:
Extend float audio support (double) and some int->uint cleanups.

17 years agogst/playback/gstdecodebin2.c: Don't free groups from the streaming threads. Just...
Edward Hervey [Tue, 20 Feb 2007 15:44:32 +0000 (15:44 +0000)]
gst/playback/gstdecodebin2.c: Don't free groups from the streaming threads. Just put them aside and free them in disp...

Original commit message from CVS:
* gst/playback/gstdecodebin2.c: (gst_decode_bin_dispose),
(multi_queue_underrun_cb), (gst_decode_group_check_if_drained),
(sort_end_pads), (gst_decode_group_expose),
(gst_decode_group_hide):
Don't free groups from the streaming threads. Just put them aside and
free them in dispose.

17 years agogst/playback/gstdecodebin2.c: Handle dynamic pads within groups.
Edward Hervey [Tue, 20 Feb 2007 11:20:52 +0000 (11:20 +0000)]
gst/playback/gstdecodebin2.c: Handle dynamic pads within groups.

Original commit message from CVS:
* gst/playback/gstdecodebin2.c: (connect_element),
(pad_added_group_cb), (gst_decode_group_check_if_blocked),
(sort_end_pads), (gst_decode_group_expose):
Handle dynamic pads within groups.
Sort pads before exposing them in order to make playbin happy.
There still is a race with the multiqueue filling up. This should be
solved separately.
Fixes #398721

17 years agogst-libs/gst/utils/: Some more docs (and descriptions for two subtitle formats).
Tim-Philipp Müller [Sun, 18 Feb 2007 21:02:36 +0000 (21:02 +0000)]
gst-libs/gst/utils/: Some more docs (and descriptions for two subtitle formats).

Original commit message from CVS:
* gst-libs/gst/utils/base-utils.c:
* gst-libs/gst/utils/descriptions.c:
* gst-libs/gst/utils/install-plugins.c:
* gst-libs/gst/utils/missing-plugins.c:
Some more docs (and descriptions for two subtitle formats).

17 years agogst-libs/gst/audio/audio.c: Fix documentation.
Tim-Philipp Müller [Fri, 16 Feb 2007 10:19:45 +0000 (10:19 +0000)]
gst-libs/gst/audio/audio.c: Fix documentation.

Original commit message from CVS:
* gst-libs/gst/audio/audio.c:
Fix documentation.

17 years agogst/videorate/gstvideorate.c: Don't leak caps. Fixes #408278.
Yves Lefebvre [Fri, 16 Feb 2007 10:15:46 +0000 (10:15 +0000)]
gst/videorate/gstvideorate.c: Don't leak caps. Fixes #408278.

Original commit message from CVS:
Patch by: Yves Lefebvre  <ivanohe abacom com>
* gst/videorate/gstvideorate.c: (gst_video_rate_setcaps):
Don't leak caps. Fixes #408278.

17 years agoMore docs coverage and some ChangeLog surgery (add missing names)
Stefan Kost [Thu, 15 Feb 2007 15:17:23 +0000 (15:17 +0000)]
More docs coverage and some ChangeLog surgery (add missing names)

Original commit message from CVS:
* ext/cdparanoia/gstcdparanoiasrc.h:
* ext/ogg/gstoggdemux.h:
* gst-libs/gst/audio/audio.c: (gst_audio_frame_byte_size),
(gst_audio_frame_length), (gst_audio_duration_from_pad_buffer),
(gst_audio_is_buffer_framed), (gst_audio_structure_set_int):
* gst-libs/gst/audio/audio.h:
* gst-libs/gst/audio/gstaudiofilter.h:
* gst-libs/gst/interfaces/videoorientation.h:
* gst/adder/gstadder.h:
More docs coverage and some ChangeLog surgery (add missing names)

17 years agosys/: Small constifications.
Wim Taymans [Thu, 15 Feb 2007 12:07:57 +0000 (12:07 +0000)]
sys/: Small constifications.

Original commit message from CVS:
* sys/ximage/ximagesink.c:
(gst_ximagesink_calculate_pixel_aspect_ratio):
* sys/xvimage/xvimagesink.c:
(gst_xvimagesink_calculate_pixel_aspect_ratio):
Small constifications.

17 years agogst-libs/gst/audio/gstbaseaudiosink.c: Answer latency query.
Wim Taymans [Thu, 15 Feb 2007 12:06:25 +0000 (12:06 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Answer latency query.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_class_init), (gst_base_audio_sink_query),
(gst_base_audio_sink_render), (gst_base_audio_sink_callback),
(gst_base_audio_sink_async_play),
(gst_base_audio_sink_change_state):
Answer latency query.
Use configured latency when syncing.
Fix clock slaving.
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_class_init), (gst_base_audio_src_dispose),
(gst_base_audio_src_query), (gst_base_audio_src_change_state):
Fix possible memleak.
Implement latency query.
Small cleanups.

17 years agoext/alsa/gstalsasink.c: Ignore errors in reset, these are not fatal. They also grab...
Wim Taymans [Thu, 15 Feb 2007 11:59:41 +0000 (11:59 +0000)]
ext/alsa/gstalsasink.c: Ignore errors in reset, these are not fatal. They also grab the element lock which is already...

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsasink_reset):
Ignore errors in reset, these are not fatal. They also grab the element
lock which is already taking when this function is called. Fixes
#405451.

17 years agoadd header file for easy codec install
Christian Schaller [Tue, 13 Feb 2007 13:50:56 +0000 (13:50 +0000)]
add header file for easy codec install

Original commit message from CVS:
add header file for easy codec install

17 years agoconfigure.ac: Remove 'tests/examples/xerror/Makefile' from output files again.
Stefan Kost [Tue, 13 Feb 2007 10:24:13 +0000 (10:24 +0000)]
configure.ac: Remove 'tests/examples/xerror/Makefile' from output files again.

Original commit message from CVS:
* configure.ac:
Remove 'tests/examples/xerror/Makefile' from output files again.

17 years agoAlso crossref against gst-plugins-base-libs.
Stefan Kost [Tue, 13 Feb 2007 09:12:11 +0000 (09:12 +0000)]
Also crossref against gst-plugins-base-libs.

Original commit message from CVS:
* configure.ac:
* docs/plugins/Makefile.am:
Also crossref against gst-plugins-base-libs.

17 years agoAdd crossreferences to glib/gobject/gstream docs.
Stefan Kost [Mon, 12 Feb 2007 20:42:23 +0000 (20:42 +0000)]
Add crossreferences to glib/gobject/gstream docs.

Original commit message from CVS:
* configure.ac:
* docs/libs/Makefile.am:
* docs/plugins/Makefile.am:
Add crossreferences to glib/gobject/gstream docs.
* gst-libs/gst/audio/audio.h:
Source formatting.
* gst/audiotestsrc/gstaudiotestsrc.c: (plugin_init):
Add own debug category.

17 years agogst-libs/gst/tag/gstvorbistag.c: Add vorbis/FLAC-tag mapping for new GST_TAG_REFERENC...
René Stadler [Mon, 12 Feb 2007 11:01:04 +0000 (11:01 +0000)]
gst-libs/gst/tag/gstvorbistag.c: Add vorbis/FLAC-tag mapping for new GST_TAG_REFERENCE_LEVEL (#403597).

Original commit message from CVS:
Patch by: René Stadler <mail at renestadler de>
* gst-libs/gst/tag/gstvorbistag.c:
Add vorbis/FLAC-tag mapping for new GST_TAG_REFERENCE_LEVEL
(#403597).

17 years agogst/playback/gstplaybasebin.c: When we have external subtitles and wait for the subti...
Tim-Philipp Müller [Mon, 12 Feb 2007 10:33:40 +0000 (10:33 +0000)]
gst/playback/gstplaybasebin.c: When we have external subtitles and wait for the subtitle decodebin to get up and runn...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (setup_source):
When we have external subtitles and wait for the subtitle decodebin
to get up and running, we set up a (sync) bus handler for the
subtitle decodebin, so we can stop waiting when it posts an error
message. However, we should do that before we set the subtitle
decodebin's state to playing, otherwise things are racy and we might
miss error messages posted before we had a chance to set up the bus.
This should finally fix totem hanging on .txt pseudo-subtitle files.

17 years agogst-libs/gst/rtp/gstbasertpaudiopayload.c: Use gst_gdouble_to_guint64 for conversions.
Sébastien Moutte [Sat, 10 Feb 2007 19:27:48 +0000 (19:27 +0000)]
gst-libs/gst/rtp/gstbasertpaudiopayload.c: Use gst_gdouble_to_guint64 for conversions.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:(gst_base_rtp_audio_payload_handle_frame_based_buffer):
Use gst_gdouble_to_guint64 for conversions.
* win32/common/config.h.in:
Add a define for GST_INSTALL_PLUGINS_HELPER
* win32/common/libgstaudio.def:
* win32/common/libgstcdda.def:
* win32/common/libgstnetbuffer.def:
* win32/common/libgstrtp.def:
* win32/common/libgutils.def:
Add new exported functions.
* win32/vs6/gst_plugins_base.dsw:
* win32/vs6/libgstdecodebin.dsp:
* win32/vs6/libgstnetbuffer.dsp:
* win32/vs6/libgstplaybin.dsp:
* win32/vs6/libgstrtp.dsp:
* win32/vs6/libgstvorbis.dsp:
* win32/vs6/libgstcdda.dsp:
* win32/vs6/libgstgdp.dsp:
* win32/vs6/libgstutils.dsp:
Update and add new project files.

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.