platform/upstream/gstreamer.git
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.

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.