platform/upstream/gst-plugins-good.git
16 years agogst/avi/gstavidemux.c: Catch UNEXPECTED when downstream has reached end of segment...
Thijs Vermeir [Thu, 5 Jun 2008 09:45:00 +0000 (09:45 +0000)]
gst/avi/gstavidemux.c: Catch UNEXPECTED when downstream has reached end of segment in reverse mode.

Original commit message from CVS:
* gst/avi/gstavidemux.c:
Catch UNEXPECTED when downstream has reached end of
segment in reverse mode.

16 years agogst/avi/gstavidemux.c: Fix typo in comment
Thijs Vermeir [Wed, 4 Jun 2008 18:08:35 +0000 (18:08 +0000)]
gst/avi/gstavidemux.c: Fix typo in comment

Original commit message from CVS:
* gst/avi/gstavidemux.c:
Fix typo in comment

16 years agogst/avi/gstavidemux.c: Because we don't know the frame order we need to push till...
Thijs Vermeir [Wed, 4 Jun 2008 18:03:24 +0000 (18:03 +0000)]
gst/avi/gstavidemux.c: Because we don't know the frame order we need to push till the next keyframe

Original commit message from CVS:
* gst/avi/gstavidemux.c:
Because we don't know the frame order we need to push till
the next keyframe

16 years agosys/v4l2/gstv4l2src.c: Provide a custom negotiation function to make sure to pick...
Sjoerd Simons [Wed, 4 Jun 2008 17:39:31 +0000 (17:39 +0000)]
sys/v4l2/gstv4l2src.c: Provide a custom negotiation function to make sure to pick the highest possible framerate and ...

Original commit message from CVS:
Patch by: Sjoerd Simons <sjoerd at luon dot net>
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init),
(gst_v4l2src_fixate), (gst_v4l2src_negotiate):
Provide a custom negotiation function to make sure to pick the highest
possible framerate and resolution. Fixes bug #536646.

16 years agogst/avi/gstavidemux.c: Set EOS when going out of the segment in reverse playback
Thijs Vermeir [Wed, 4 Jun 2008 16:49:26 +0000 (16:49 +0000)]
gst/avi/gstavidemux.c: Set EOS when going out of the segment in reverse playback

Original commit message from CVS:
* gst/avi/gstavidemux.c:
Set EOS when going out of the segment in reverse playback

16 years agoext/taglib/Makefile.am: Add -Wno-attributes to CXXFLAGS to suppress warning caused...
Tim-Philipp Müller [Wed, 4 Jun 2008 15:19:46 +0000 (15:19 +0000)]
ext/taglib/Makefile.am: Add -Wno-attributes to CXXFLAGS to suppress warning caused by taglib headers (with gcc 4.3.1).

Original commit message from CVS:
* ext/taglib/Makefile.am::
Add -Wno-attributes to CXXFLAGS to suppress warning caused by
taglib headers (with gcc 4.3.1).

16 years agogst/rtsp/gstrtspsrc.c: Use the new gst_rtsp_connection_get_ip() to access the IP...
Peter Kjellerstedt [Wed, 4 Jun 2008 11:59:18 +0000 (11:59 +0000)]
gst/rtsp/gstrtspsrc.c: Use the new gst_rtsp_connection_get_ip() to access the IP address of a GstRTSPConnection since...

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_stream_configure_udp_sink):
Use the new gst_rtsp_connection_get_ip() to access the IP address
of a GstRTSPConnection since it is a private member.

16 years agoUse new utility functions in libgsttag to process coverart (#512333).
Tim-Philipp Müller [Wed, 4 Jun 2008 10:42:46 +0000 (10:42 +0000)]
Use new utility functions in libgsttag to process coverart (#512333).

Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flac_extract_picture_buffer):
* gst/id3demux/id3v2frames.c: (parse_picture_frame):
Use new utility functions in libgsttag to process coverart (#512333).

16 years agoext/flac/gstflacdec.c: We actually support left/side, right/side and mid/side files...
Sebastian Dröge [Wed, 4 Jun 2008 08:54:09 +0000 (08:54 +0000)]
ext/flac/gstflacdec.c: We actually support left/side, right/side and mid/side files. The conversion to normal, interl...

Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flac_dec_write):
We actually support left/side, right/side and mid/side files. The
conversion to normal, interleaved stereo is done by libflac.

16 years agogst/matroska/ebml-write.c: Unref the write cache in finalize if it was set and add...
Sebastian Dröge [Wed, 4 Jun 2008 07:36:07 +0000 (07:36 +0000)]
gst/matroska/ebml-write.c: Unref the write cache in finalize if it was set and add add "FIXME" to a comment that need...

Original commit message from CVS:
* gst/matroska/ebml-write.c: (gst_ebml_write_finalize),
(gst_ebml_write_set_cache):
Unref the write cache in finalize if it was set and add add "FIXME"
to a comment that needs it.

16 years agogst/interleave/interleave.*: Use an always increasing integer for the number in the...
Sebastian Dröge [Wed, 4 Jun 2008 06:48:46 +0000 (06:48 +0000)]
gst/interleave/interleave.*: Use an always increasing integer for the number in the name of the requested sink pads t...

Original commit message from CVS:
* gst/interleave/interleave.c: (gst_interleave_pad_get_type),
(gst_interleave_pad_get_property), (gst_interleave_pad_class_init),
(gst_interleave_request_new_pad), (gst_interleave_release_pad):
* gst/interleave/interleave.h:
Use an always increasing integer for the number in the name of the
requested sink pads to guarantuee a unique name. Add a "channel"
property to GstInterleavePad to make it possible for applications
to retrieve the channel number in the output for every pad.
Use g_type_register_static_simple() instead of
g_type_register_static() to save some relocations.

16 years agogst/interleave/interleave.c: Stop GstCollectPads before calling the parent's state...
Sebastian Dröge [Tue, 3 Jun 2008 14:35:59 +0000 (14:35 +0000)]
gst/interleave/interleave.c: Stop GstCollectPads before calling the parent's state change function when going from PA...

Original commit message from CVS:
* gst/interleave/interleave.c: (gst_interleave_pad_get_type),
(gst_interleave_change_state):
Stop GstCollectPads before calling the parent's state change function
when going from PAUSED to READY as we otherwise deadlock.
Fixes bug #536258.

16 years agogst/interleave/interleave.c: Use new gst_audio_check_channel_positions() function...
Sebastian Dröge [Tue, 3 Jun 2008 09:03:19 +0000 (09:03 +0000)]
gst/interleave/interleave.c: Use new gst_audio_check_channel_positions() function and register the GstInterleavePad t...

Original commit message from CVS:
* gst/interleave/interleave.c:
(gst_interleave_check_channel_positions),
(gst_interleave_set_channel_positions),
(gst_interleave_class_init):
Use new gst_audio_check_channel_positions() function and register
the GstInterleavePad type from a threadsafe context.

16 years agogst/avi/gstavidemux.*: Implement reverse playback. Fixes #535300.
Thijs Vermeir [Mon, 2 Jun 2008 16:10:00 +0000 (16:10 +0000)]
gst/avi/gstavidemux.*: Implement reverse playback. Fixes #535300.

Original commit message from CVS:
Patch by: Thijs Vermeir <thijsvermeir at gmail dot com>
* gst/avi/gstavidemux.c: (gst_avi_demux_index_next),
(gst_avi_demux_index_prev), (gst_avi_demux_index_entry_for_time),
(gst_avi_demux_do_seek), (gst_avi_demux_handle_seek),
(gst_avi_demux_process_next_entry):
* gst/avi/gstavidemux.h:
Implement reverse playback. Fixes #535300.
Small cleanups.

16 years agogst/interleave/interleave.*: Allow setting channel positions via a property and allow...
Sebastian Dröge [Mon, 2 Jun 2008 12:42:14 +0000 (12:42 +0000)]
gst/interleave/interleave.*: Allow setting channel positions via a property and allow using the channel positions on ...

Original commit message from CVS:
* gst/interleave/interleave.c: (gst_interleave_pad_get_type),
(gst_interleave_finalize), (gst_audio_check_channel_positions),
(gst_interleave_set_channel_positions),
(gst_interleave_class_init), (gst_interleave_init),
(gst_interleave_set_property), (gst_interleave_get_property),
(gst_interleave_request_new_pad), (gst_interleave_release_pad),
(gst_interleave_sink_setcaps), (gst_interleave_src_query_duration),
(gst_interleave_src_query_latency), (gst_interleave_collected):
* gst/interleave/interleave.h:
Allow setting channel positions via a property and allow using the
channel positions on the input as the channel positions of the output.
Fix some broken logic and memory leaks.
* tests/check/Makefile.am:
* tests/check/elements/interleave.c: (src_handoff_float32),
(sink_handoff_float32), (GST_START_TEST), (interleave_suite):
Add unit tests for checking correct handling of channel positions.

16 years agogst/videomixer/videomixer.c: When using gst_element_iterate_pads() one has to unref...
Sebastian Dröge [Mon, 2 Jun 2008 12:22:56 +0000 (12:22 +0000)]
gst/videomixer/videomixer.c: When using gst_element_iterate_pads() one has to unref every pad after usage.

Original commit message from CVS:
* gst/videomixer/videomixer.c: (gst_videomixer_query_duration),
(gst_videomixer_query_latency):
When using gst_element_iterate_pads() one has to unref every pad
after usage.

16 years agogst/qtdemux/: Improve meta-data handling, add 'comment', 'description' and 'copyright...
Bastien Nocera [Sat, 31 May 2008 16:53:23 +0000 (16:53 +0000)]
gst/qtdemux/: Improve meta-data handling, add 'comment', 'description' and 'copyright' tag handling.

Original commit message from CVS:
Patch by: Bastien Nocera <hadess at hadess dot net>
* gst/qtdemux/qtdemux.c: (qtdemux_tag_add_str),
(qtdemux_parse_udta):
* gst/qtdemux/qtdemux_fourcc.h:
Improve meta-data handling, add 'comment', 'description' and
'copyright' tag handling.
Fixes #535935

16 years agogst/qtdemux/qtdemux.c: Make sure we we don't clip the segment's stop using the main...
Julien Moutte [Sat, 31 May 2008 15:30:41 +0000 (15:30 +0000)]
gst/qtdemux/qtdemux.c: Make sure we we don't clip the segment's stop using the main segment duration as that could cr...

Original commit message from CVS:
2008-05-31  Julien Moutte  <julien@fluendo.com>

* gst/qtdemux/qtdemux.c: (gst_qtdemux_find_keyframe),
(gst_qtdemux_find_segment), (gst_qtdemux_perform_seek),
(gst_qtdemux_seek_to_previous_keyframe),
(gst_qtdemux_activate_segment), (gst_qtdemux_loop): Make sure we
we don't clip the segment's stop using the main segment duration
as
that could crop quite some video frames. Make reverse playback
support
more robust and support edit lists. Support seeking to the last
frame,
and fix reverse looping playback. Add some debugging.
* win32/common/config.h: Updated.

16 years agogst/equalizer/gstiirequalizer.c: Don't clip float/double samples, correctly unset...
Sebastian Dröge [Sat, 31 May 2008 08:37:00 +0000 (08:37 +0000)]
gst/equalizer/gstiirequalizer.c: Don't clip float/double samples, correctly unset passthrough mode and use better rou...

Original commit message from CVS:
* gst/equalizer/gstiirequalizer.c:
(gst_iir_equalizer_transform_ip):
Don't clip float/double samples, correctly unset passthrough mode
and use better rounding for integer samples.

16 years agogst/equalizer/gstiirequalizer.*: Update the filter coefficients only when needed...
Sebastian Dröge [Fri, 30 May 2008 11:03:57 +0000 (11:03 +0000)]
gst/equalizer/gstiirequalizer.*: Update the filter coefficients only when needed in the transform_ip function and cor...

Original commit message from CVS:
* gst/equalizer/gstiirequalizer.c:
(gst_iir_equalizer_band_set_property), (gst_iir_equalizer_init),
(setup_filter), (set_passthrough), (update_coefficients),
(gst_iir_equalizer_compute_frequencies),
(gst_iir_equalizer_transform_ip):
* gst/equalizer/gstiirequalizer.h:
Update the filter coefficients only when needed in the transform_ip
function and correctly set the element into passthrough mode if the
gain of all bands is 0.

16 years agogst/alpha/gstalpha.c: Try to skip pixels or areas that are too dark or too bright...
Sebastian Keller [Thu, 29 May 2008 11:30:16 +0000 (11:30 +0000)]
gst/alpha/gstalpha.c: Try to skip pixels or areas that are too dark or too bright for us to do meaningfull color dete...

Original commit message from CVS:
Based on patch by: Sebastian Keller <sebastian-keller at gmx dot de>
* gst/alpha/gstalpha.c: (gst_alpha_class_init), (gst_alpha_init),
(gst_alpha_set_property), (gst_alpha_get_property),
(gst_alpha_chroma_key_ayuv), (gst_alpha_chromakey_row_i420):
Try to skip pixels or areas that are too dark or too bright for us to do
meaningfull color detection.
Added properties to control the sensitivity to light and darkness.
Added some small cleanups. Fixes #512345.

16 years agoIgnore some more generated things
Jan Schmidt [Wed, 28 May 2008 20:01:32 +0000 (20:01 +0000)]
Ignore some more generated things

Original commit message from CVS:
* docs/plugins/.cvsignore:
* tests/check/elements/.cvsignore:
Ignore some more generated things
* tests/check/Makefile.am:
Ignore OSS elements in the state changes test too.

16 years agodocs/plugins/: Add SMPTE effect elements to docs.
Wim Taymans [Wed, 28 May 2008 16:22:36 +0000 (16:22 +0000)]
docs/plugins/: Add SMPTE effect elements to docs.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
Add SMPTE effect elements to docs.

16 years agoDocument whats first shown on the fdo plugin docs page :)
Stefan Kost [Wed, 28 May 2008 14:31:05 +0000 (14:31 +0000)]
Document whats first shown on the fdo plugin docs page :)

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* ext/raw1394/gstdv1394src.c:
Document whats first shown on the fdo plugin docs page :)

16 years agoRename audiovoice to audiokaraoke and add it to the docs.
Stefan Kost [Wed, 28 May 2008 14:07:21 +0000 (14:07 +0000)]
Rename audiovoice to audiokaraoke and add it to the docs.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.args:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
* docs/plugins/inspect/plugin-audiofx.xml:
* gst/audiofx/Makefile.am:
* gst/audiofx/audiofx.c:
* gst/audiofx/audiokaraoke.c:
* gst/audiofx/audiokaraoke.h:
* gst/audiofx/audiovoice.c:
* gst/audiofx/audiovoice.h:
Rename audiovoice to audiokaraoke and add it to the docs.

16 years agoDocument aasink and cacasink.
Stefan Kost [Wed, 28 May 2008 13:28:20 +0000 (13:28 +0000)]
Document aasink and cacasink.

Original commit message from CVS:
* REQUIREMENTS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.args:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
* docs/plugins/gst-plugins-good-plugins.interfaces:
* docs/plugins/gst-plugins-good-plugins.prerequisites:
* docs/plugins/inspect/plugin-aasink.xml:
* docs/plugins/inspect/plugin-alaw.xml:
* docs/plugins/inspect/plugin-alpha.xml:
* docs/plugins/inspect/plugin-alphacolor.xml:
* docs/plugins/inspect/plugin-annodex.xml:
* docs/plugins/inspect/plugin-apetag.xml:
* docs/plugins/inspect/plugin-audiofx.xml:
* docs/plugins/inspect/plugin-auparse.xml:
* docs/plugins/inspect/plugin-autodetect.xml:
* docs/plugins/inspect/plugin-avi.xml:
* docs/plugins/inspect/plugin-cacasink.xml:
* docs/plugins/inspect/plugin-cairo.xml:
* docs/plugins/inspect/plugin-cdio.xml:
* docs/plugins/inspect/plugin-cutter.xml:
* docs/plugins/inspect/plugin-debug.xml:
* docs/plugins/inspect/plugin-dv.xml:
* docs/plugins/inspect/plugin-efence.xml:
* docs/plugins/inspect/plugin-effectv.xml:
* docs/plugins/inspect/plugin-equalizer.xml:
* docs/plugins/inspect/plugin-esdsink.xml:
* docs/plugins/inspect/plugin-flac.xml:
* docs/plugins/inspect/plugin-flxdec.xml:
* docs/plugins/inspect/plugin-gamma.xml:
* docs/plugins/inspect/plugin-gconfelements.xml:
* docs/plugins/inspect/plugin-gdkpixbuf.xml:
* docs/plugins/inspect/plugin-goom.xml:
* docs/plugins/inspect/plugin-goom2k1.xml:
* docs/plugins/inspect/plugin-halelements.xml:
* docs/plugins/inspect/plugin-icydemux.xml:
* docs/plugins/inspect/plugin-id3demux.xml:
* docs/plugins/inspect/plugin-jpeg.xml:
* docs/plugins/inspect/plugin-level.xml:
* docs/plugins/inspect/plugin-matroska.xml:
* docs/plugins/inspect/plugin-monoscope.xml:
* docs/plugins/inspect/plugin-mulaw.xml:
* docs/plugins/inspect/plugin-multifile.xml:
* docs/plugins/inspect/plugin-multipart.xml:
* docs/plugins/inspect/plugin-navigationtest.xml:
* docs/plugins/inspect/plugin-ossaudio.xml:
* docs/plugins/inspect/plugin-png.xml:
* docs/plugins/inspect/plugin-quicktime.xml:
* docs/plugins/inspect/plugin-rtp.xml:
* docs/plugins/inspect/plugin-rtsp.xml:
* docs/plugins/inspect/plugin-smpte.xml:
* docs/plugins/inspect/plugin-soup.xml:
* docs/plugins/inspect/plugin-spectrum.xml:
* docs/plugins/inspect/plugin-speex.xml:
* docs/plugins/inspect/plugin-taglib.xml:
* docs/plugins/inspect/plugin-udp.xml:
* docs/plugins/inspect/plugin-video4linux2.xml:
* docs/plugins/inspect/plugin-videobalance.xml:
* docs/plugins/inspect/plugin-videobox.xml:
* docs/plugins/inspect/plugin-videocrop.xml:
* docs/plugins/inspect/plugin-videoflip.xml:
* docs/plugins/inspect/plugin-videomixer.xml:
* docs/plugins/inspect/plugin-wavenc.xml:
* docs/plugins/inspect/plugin-wavpack.xml:
* docs/plugins/inspect/plugin-wavparse.xml:
* docs/plugins/inspect/plugin-ximagesrc.xml:
* ext/aalib/gstaasink.c:
* ext/libcaca/gstcacasink.c:
Document aasink and cacasink.

16 years agogst/videomixer/videomixer.*: duration and latency queries.
Sebastian Dröge [Wed, 28 May 2008 08:36:44 +0000 (08:36 +0000)]
gst/videomixer/videomixer.*: duration and latency queries.

Original commit message from CVS:
* gst/videomixer/videomixer.c: (gst_videomixer_reset),
(gst_videomixer_init), (gst_videomixer_query_duration),
(gst_videomixer_query_latency), (gst_videomixer_query),
(gst_videomixer_blend_buffers):
* gst/videomixer/videomixer.h:
Implement position (in time), duration and latency queries.

16 years agogst/interleave/interleave.c: Implement latency query.
Sebastian Dröge [Wed, 28 May 2008 08:14:16 +0000 (08:14 +0000)]
gst/interleave/interleave.c: Implement latency query.

Original commit message from CVS:
* gst/interleave/interleave.c: (gst_interleave_src_query_duration),
(gst_interleave_src_query_latency), (gst_interleave_src_query):
Implement latency query.

16 years agogst/videomixer/videomixer.*: Implement proper seek/newsegment handling.
Edward Hervey [Tue, 27 May 2008 17:55:30 +0000 (17:55 +0000)]
gst/videomixer/videomixer.*: Implement proper seek/newsegment handling.

Original commit message from CVS:
* gst/videomixer/videomixer.c: (gst_videomixer_reset),
(gst_videomixer_init), (gst_videomixer_request_new_pad),
(gst_videomixer_fill_queues), (forward_event_func),
(forward_event), (gst_videomixer_src_event),
(gst_videomixer_sink_event):
* gst/videomixer/videomixer.h:
Implement proper seek/newsegment handling.
Based on adder's implementation.
Fixes #535121

16 years agogst/qtdemux/qtdemux.c: Add caps for DVCPRO50 and DVCPRO HD PAL/NTSC. See #526481.
j^ [Mon, 26 May 2008 16:25:15 +0000 (16:25 +0000)]
gst/qtdemux/qtdemux.c: Add caps for DVCPRO50 and DVCPRO HD PAL/NTSC. See #526481.

Original commit message from CVS:
Patch by: j^ <j at oil21 dot org>
* gst/qtdemux/qtdemux.c: (qtdemux_video_caps):
Add caps for DVCPRO50 and DVCPRO HD PAL/NTSC. See #526481.

16 years agogst/audiofx/: Add simple voice removal element. Yay karaoke.
Wim Taymans [Mon, 26 May 2008 15:51:41 +0000 (15:51 +0000)]
gst/audiofx/: Add simple voice removal element. Yay karaoke.

Original commit message from CVS:
* gst/audiofx/Makefile.am:
* gst/audiofx/audiofx.c: (plugin_init):
* gst/audiofx/audiovoice.c: (gst_audio_voice_base_init),
(gst_audio_voice_class_init), (gst_audio_voice_init),
(update_filter), (gst_audio_voice_set_property),
(gst_audio_voice_get_property), (gst_audio_voice_setup),
(gst_audio_voice_transform_int), (gst_audio_voice_transform_float),
(gst_audio_voice_transform_ip):
* gst/audiofx/audiovoice.h:
Add simple voice removal element. Yay karaoke.

16 years agosys/v4l2/v4l2src_calls.c: Fix potential caps leak.
William M. Brack [Mon, 26 May 2008 15:39:26 +0000 (15:39 +0000)]
sys/v4l2/v4l2src_calls.c: Fix potential caps leak.

Original commit message from CVS:
Patch by: William M. Brack <wbrack at mmm dot com dot hk>
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_probe_caps_for_format):
Fix potential caps leak.
If we can't get the framerate with an ioctl, try to get it with the
current norm. Fixes #520092.

16 years agosys/v4l2/v4l2src_calls.c: If we fail to get the frame intervals, simply don't touch...
William M. Brack [Mon, 26 May 2008 15:14:55 +0000 (15:14 +0000)]
sys/v4l2/v4l2src_calls.c: If we fail to get the frame intervals, simply don't touch the framerates on the template ca...

Original commit message from CVS:
Patch by: William M. Brack <wbrack at mmm dot com dot hk>
* sys/v4l2/v4l2src_calls.c:
(gst_v4l2src_probe_caps_for_format_and_size):
If we fail to get the frame intervals, simply don't touch the framerates
on the template caps instead of discarding the format. See #520092.

16 years agosys/v4l2/gstv4l2src.c: Add NV12, NV21 and bayer support. See #520092.
William M. Brack [Mon, 26 May 2008 14:52:51 +0000 (14:52 +0000)]
sys/v4l2/gstv4l2src.c: Add NV12, NV21 and bayer support. See #520092.

Original commit message from CVS:
Patch by: William M. Brack <wbrack at mmm dot com dot hk>
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_v4l2fourcc_to_structure),
(gst_v4l2_get_caps_info):
Add NV12, NV21 and bayer support. See #520092.

16 years agogst/qtdemux/qtdemux.c: Unbreak segment activation again. Fixes #531672.
Wim Taymans [Mon, 26 May 2008 13:51:38 +0000 (13:51 +0000)]
gst/qtdemux/qtdemux.c: Unbreak segment activation again. Fixes #531672.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_find_segment),
(gst_qtdemux_activate_segment):
Unbreak segment activation again. Fixes #531672.

16 years agogst/interleave/deinterleave.c: Add another example launch line.
Sebastian Dröge [Mon, 26 May 2008 10:28:47 +0000 (10:28 +0000)]
gst/interleave/deinterleave.c: Add another example launch line.

Original commit message from CVS:
* gst/interleave/deinterleave.c:
Add another example launch line.
* gst/interleave/interleave.c: (interleave_24),
(gst_interleave_finalize), (gst_interleave_base_init),
(gst_interleave_class_init), (gst_interleave_init),
(gst_interleave_request_new_pad), (gst_interleave_release_pad),
(gst_interleave_change_state), (__remove_channels),
(__set_channels), (gst_interleave_sink_getcaps),
(gst_interleave_set_process_function),
(gst_interleave_sink_setcaps), (gst_interleave_sink_event),
(gst_interleave_src_query_duration), (gst_interleave_src_query),
(forward_event_func), (forward_event), (gst_interleave_src_event),
(gst_interleave_collected):
* gst/interleave/interleave.h:
Major rewrite of interleave using GstCollectpads. This new version
also supports almost all raw audio formats and has better caps
negotiation. Fixes bug #506594.
Also update docs and add some more examples.
* tests/check/elements/interleave.c: (interleave_chain_func),
(GST_START_TEST), (src_handoff_float32), (sink_handoff_float32),
(interleave_suite):
Add some more extensive unit tests for interleave.

16 years agoDon't use _gst_pad().
Wim Taymans [Mon, 26 May 2008 09:57:40 +0000 (09:57 +0000)]
Don't use _gst_pad().

Original commit message from CVS:
* examples/switch/switcher.c: (switch_timer):
* gst/replaygain/gstrgvolume.c: (gst_rg_volume_init):
* gst/rtpmanager/gstrtpclient.c: (create_stream):
* gst/sdp/gstsdpdemux.c: (gst_sdp_demux_stream_configure_udp),
(gst_sdp_demux_stream_configure_udp_sink):
* tests/check/elements/deinterleave.c: (GST_START_TEST),
(pad_added_setup_data_check_float32_8ch_cb):
* tests/check/elements/rganalysis.c: (send_eos_event),
(send_tag_event):
Don't use _gst_pad().

16 years agoext/flac/: Set the channel layout when decoding FLAC files with more than 2 channels...
Sebastian Dröge [Sun, 25 May 2008 16:09:39 +0000 (16:09 +0000)]
ext/flac/: Set the channel layout when decoding FLAC files with more than 2 channels as defined by the FLAC spec. Fix...

Original commit message from CVS:
* ext/flac/Makefile.am:
* ext/flac/gstflacdec.c: (gst_flac_dec_write):
Set the channel layout when decoding FLAC files with more than 2
channels as defined by the FLAC spec. Fixes bug #534570.
Also don't try to decode left/side, right/side and mid/side files
as we don't support this at all.

16 years agoconfigure.ac: We need -base CVS (rtsp).
Tim-Philipp Müller [Sat, 24 May 2008 12:55:39 +0000 (12:55 +0000)]
configure.ac: We need -base CVS (rtsp).

Original commit message from CVS:
* configure.ac:
We need -base CVS (rtsp).

16 years agodocs/plugins/: Add interleave/deinterleave to the docs and while at that run make...
Sebastian Dröge [Thu, 22 May 2008 19:47:53 +0000 (19:47 +0000)]
docs/plugins/: Add interleave/deinterleave to the docs and while at that run make update in docs/plugins.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins.args:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
* docs/plugins/gst-plugins-bad-plugins.interfaces:
* docs/plugins/gst-plugins-bad-plugins.prerequisites:
* docs/plugins/gst-plugins-bad-plugins.signals:
* docs/plugins/inspect/plugin-alsaspdif.xml:
* docs/plugins/inspect/plugin-amrwb.xml:
* docs/plugins/inspect/plugin-app.xml:
* docs/plugins/inspect/plugin-bayer.xml:
* docs/plugins/inspect/plugin-bz2.xml:
* docs/plugins/inspect/plugin-cdaudio.xml:
* docs/plugins/inspect/plugin-cdxaparse.xml:
* docs/plugins/inspect/plugin-dfbvideosink.xml:
* docs/plugins/inspect/plugin-dtsdec.xml:
* docs/plugins/inspect/plugin-dvb.xml:
* docs/plugins/inspect/plugin-dvdspu.xml:
* docs/plugins/inspect/plugin-faac.xml:
* docs/plugins/inspect/plugin-faad.xml:
* docs/plugins/inspect/plugin-fbdevsink.xml:
* docs/plugins/inspect/plugin-festival.xml:
* docs/plugins/inspect/plugin-filter.xml:
* docs/plugins/inspect/plugin-flvdemux.xml:
* docs/plugins/inspect/plugin-freeze.xml:
* docs/plugins/inspect/plugin-gsm.xml:
* docs/plugins/inspect/plugin-gstrtpmanager.xml:
* docs/plugins/inspect/plugin-h264parse.xml:
* docs/plugins/inspect/plugin-interleave.xml:
* docs/plugins/inspect/plugin-jack.xml:
* docs/plugins/inspect/plugin-ladspa.xml:
* docs/plugins/inspect/plugin-metadata.xml:
* docs/plugins/inspect/plugin-mms.xml:
* docs/plugins/inspect/plugin-modplug.xml:
* docs/plugins/inspect/plugin-mpeg2enc.xml:
* docs/plugins/inspect/plugin-mpeg4videoparse.xml:
* docs/plugins/inspect/plugin-mpegtsparse.xml:
* docs/plugins/inspect/plugin-mpegvideoparse.xml:
* docs/plugins/inspect/plugin-musepack.xml:
* docs/plugins/inspect/plugin-musicbrainz.xml:
* docs/plugins/inspect/plugin-mve.xml:
* docs/plugins/inspect/plugin-nas.xml:
* docs/plugins/inspect/plugin-neon.xml:
* docs/plugins/inspect/plugin-nsfdec.xml:
* docs/plugins/inspect/plugin-nuvdemux.xml:
* docs/plugins/inspect/plugin-rawparse.xml:
* docs/plugins/inspect/plugin-real.xml:
* docs/plugins/inspect/plugin-replaygain.xml:
* docs/plugins/inspect/plugin-rfbsrc.xml:
* docs/plugins/inspect/plugin-sdl.xml:
* docs/plugins/inspect/plugin-sdp.xml:
* docs/plugins/inspect/plugin-selector.xml:
* docs/plugins/inspect/plugin-sndfile.xml:
* docs/plugins/inspect/plugin-soundtouch.xml:
* docs/plugins/inspect/plugin-spcdec.xml:
* docs/plugins/inspect/plugin-speed.xml:
* docs/plugins/inspect/plugin-speexresample.xml:
* docs/plugins/inspect/plugin-stereo.xml:
* docs/plugins/inspect/plugin-tta.xml:
* docs/plugins/inspect/plugin-vcdsrc.xml:
* docs/plugins/inspect/plugin-videosignal.xml:
* docs/plugins/inspect/plugin-vmnc.xml:
* docs/plugins/inspect/plugin-wildmidi.xml:
* docs/plugins/inspect/plugin-x264.xml:
* docs/plugins/inspect/plugin-xvid.xml:
* docs/plugins/inspect/plugin-y4menc.xml:
Add interleave/deinterleave to the docs and while at that
run make update in docs/plugins.
* gst/interleave/deinterleave.c:
Add a parapraph about using a queue and audioconvert after the source
pads to the docs.

16 years agogst/interleave/deinterleave.*: Don't set a getcaps() function on the src pads as...
Sebastian Dröge [Thu, 22 May 2008 18:55:09 +0000 (18:55 +0000)]
gst/interleave/deinterleave.*: Don't set a getcaps() function on the src pads as it's not required and the default ge...

Original commit message from CVS:
* gst/interleave/deinterleave.c: (gst_deinterleave_base_init),
(gst_deinterleave_class_init), (gst_deinterleave_init),
(gst_deinterleave_add_new_pads), (gst_deinterleave_sink_getcaps):
* gst/interleave/deinterleave.h:
Don't set a getcaps() function on the src pads as it's not required
and the default getcaps() function returns the correct results for
our src pads.
Complete documentation and add myself to the authors of the element.

16 years agogst/udp/Makefile.am: Add -D_GNU_SOURCE to CFLAGS so we get things like EAI_ADDRFAMILY...
Tim-Philipp Müller [Thu, 22 May 2008 14:49:08 +0000 (14:49 +0000)]
gst/udp/Makefile.am: Add -D_GNU_SOURCE to CFLAGS so we get things like EAI_ADDRFAMILY when including netdb.h when bui...

Original commit message from CVS:
* gst/udp/Makefile.am:
Add -D_GNU_SOURCE to CFLAGS so we get things like EAI_ADDRFAMILY
when including netdb.h when building against glibc >= 2.8.

16 years agogst/smpte/gstsmptealpha.c: Fix debug statement arguments.
Julien Moutte [Thu, 22 May 2008 11:19:03 +0000 (11:19 +0000)]
gst/smpte/gstsmptealpha.c: Fix debug statement arguments.

Original commit message from CVS:
2008-05-22  Julien Moutte  <julien@fluendo.com>

* gst/smpte/gstsmptealpha.c: (gst_smpte_alpha_setcaps): Fix
debug statement arguments.
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_setup_qos_dscp):
* gst/udp/gstudpnetutils.c: (gst_udp_join_group),
(gst_udp_leave_group): Fix IP and IPV6 options to make it work
on more platforms.

16 years agotests/check/elements/: Don't use gst_element_get_pad(), it's a bad, bad method.
Wim Taymans [Wed, 21 May 2008 17:51:09 +0000 (17:51 +0000)]
tests/check/elements/: Don't use gst_element_get_pad(), it's a bad, bad method.

Original commit message from CVS:
* tests/check/elements/avimux.c: (setup_src_pad),
(teardown_src_pad):
* tests/check/elements/icydemux.c: (icydemux_found_pad),
(GST_START_TEST):
* tests/check/elements/matroskamux.c: (setup_src_pad),
(teardown_src_pad), (setup_sink_pad), (teardown_sink_pad):
* tests/check/elements/videocrop.c: (video_crop_get_test_caps),
(GST_START_TEST):
* tests/check/elements/wavpackparse.c: (wavpackparse_found_pad),
(setup_wavpackparse), (cleanup_wavpackparse):
Don't use gst_element_get_pad(), it's a bad, bad method.

16 years agoDon't use gst_element_get_pad(), it's a bad method.
Wim Taymans [Wed, 21 May 2008 17:39:38 +0000 (17:39 +0000)]
Don't use gst_element_get_pad(), it's a bad method.

Original commit message from CVS:
* ext/gconf/gstgconfaudiosrc.c: (gst_gconf_audio_src_reset),
(do_toggle_element):
* ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_reset),
(do_toggle_element):
* ext/gconf/gstgconfvideosrc.c: (gst_gconf_video_src_reset),
(do_toggle_element):
* ext/gconf/gstswitchsink.c: (gst_switch_commit_new_kid):
* ext/hal/gsthalaudiosink.c: (gst_hal_audio_sink_reset),
(do_toggle_element):
* ext/hal/gsthalaudiosrc.c: (gst_hal_audio_src_reset),
(do_toggle_element):
* gst/autodetect/gstautoaudiosink.c: (gst_auto_audio_sink_reset),
(gst_auto_audio_sink_detect):
* gst/autodetect/gstautovideosink.c: (gst_auto_video_sink_reset),
(gst_auto_video_sink_detect):
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init),
(gst_rtspsrc_stream_free), (gst_rtspsrc_stream_configure_udp),
(gst_rtspsrc_stream_configure_udp_sink), (gst_rtspsrc_skip_lws),
(gst_rtspsrc_unskip_lws), (gst_rtspsrc_skip_commas),
(gst_rtspsrc_skip_item), (gst_rtsp_decode_quoted_string),
(gst_rtspsrc_parse_digest_challenge), (gst_rtspsrc_parse_auth_hdr):
* tests/icles/videocrop-test.c: (test_with_caps),
(video_crop_get_test_caps):
Don't use gst_element_get_pad(), it's a bad method.

16 years agogst/udp/: Joining a multicast group and setting the loop/ttl properties are totally...
Wim Taymans [Wed, 21 May 2008 17:35:50 +0000 (17:35 +0000)]
gst/udp/: Joining a multicast group and setting the loop/ttl properties are totally unrelated tasks are must be separ...

Original commit message from CVS:
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_init_send),
(gst_multiudpsink_add_internal):
* gst/udp/gstudpnetutils.c: (gst_udp_set_loop_ttl),
(gst_udp_join_group):
* gst/udp/gstudpnetutils.h:
* gst/udp/gstudpsrc.c: (gst_udpsrc_start):
Joining a multicast group and setting the loop/ttl properties are
totally unrelated tasks are must be separated.

16 years agogst/avi/gstavimux.c: Also support alaw/mulaw.
Stefan Kost [Wed, 21 May 2008 14:09:41 +0000 (14:09 +0000)]
gst/avi/gstavimux.c: Also support alaw/mulaw.

Original commit message from CVS:
* gst/avi/gstavimux.c:
Also support alaw/mulaw.

16 years agogst/udp/gstmultiudpsink.*: Add a fixme for the auto-multicast property.
Wim Taymans [Wed, 21 May 2008 13:47:43 +0000 (13:47 +0000)]
gst/udp/gstmultiudpsink.*: Add a fixme for the auto-multicast property.

Original commit message from CVS:
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_class_init),
(gst_multiudpsink_setup_qos_dscp), (gst_multiudpsink_add_internal):
* gst/udp/gstmultiudpsink.h:
Add a fixme for the auto-multicast property.
Fix some confusing debug messages.
Disable setting a qos value by default.

16 years agogst/udp/gstmultiudpsink.c: Ignore EPERM errors from sendto. Fixes #533619.
Gustaf Räntilä [Wed, 21 May 2008 11:38:17 +0000 (11:38 +0000)]
gst/udp/gstmultiudpsink.c: Ignore EPERM errors from sendto. Fixes #533619.

Original commit message from CVS:
Patch by: Gustaf Räntilä <g dot rantila at gmail dot com>
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_render):
Ignore EPERM errors from sendto. Fixes #533619.

16 years agogst/udp/gstmultiudpsink.*: Add qos-dscp property to manage the Quality of service.
Henrik Eriksson [Wed, 21 May 2008 10:51:52 +0000 (10:51 +0000)]
gst/udp/gstmultiudpsink.*: Add qos-dscp property to manage the Quality of service.

Original commit message from CVS:
Patch by: Henrik Eriksson <henriken at axis dot com>
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_class_init),
(gst_multiudpsink_init), (gst_multiudpsink_setup_qos_dscp),
(gst_multiudpsink_set_property), (gst_multiudpsink_get_property),
(gst_multiudpsink_init_send), (gst_multiudpsink_add_internal):
* gst/udp/gstmultiudpsink.h:
Add qos-dscp property to manage the Quality of service.

16 years agogst/rtp/gstrtptheoradepay.c: Improve debugging of the ident.
Wim Taymans [Wed, 21 May 2008 10:09:23 +0000 (10:09 +0000)]
gst/rtp/gstrtptheoradepay.c: Improve debugging of the ident.

Original commit message from CVS:
* gst/rtp/gstrtptheoradepay.c: (gst_rtp_theora_depay_process):
Improve debugging of the ident.

16 years agogst/udp/gstudpnetutils.*: Provide a bunch of helper methods to deal with IPv4 and...
Bruno Santos [Wed, 21 May 2008 09:56:02 +0000 (09:56 +0000)]
gst/udp/gstudpnetutils.*: Provide a bunch of helper methods to deal with IPv4 and IPv6 transparently.

Original commit message from CVS:
Patch by: Bruno Santos <brunof at ua dot pt>
* gst/udp/gstudpnetutils.c: (gst_udp_get_addr),
(gst_udp_join_group), (gst_udp_leave_group),
(gst_udp_is_multicast):
* gst/udp/gstudpnetutils.h:
Provide a bunch of helper methods to deal with IPv4 and IPv6
transparently.
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_class_init),
(gst_multiudpsink_init), (gst_multiudpsink_set_property),
(gst_multiudpsink_get_property), (join_multicast),
(gst_multiudpsink_init_send), (gst_multiudpsink_add_internal),
(gst_multiudpsink_remove):
* gst/udp/gstmultiudpsink.h:
Add multicast TTL and loopback properties.
Use the helper methods to implement ip4 and ip6.
* gst/udp/gstudpsrc.c: (gst_udpsrc_create), (gst_udpsrc_start):
* gst/udp/gstudpsrc.h:
Use the helper methods to implement ip4 and ip6.
Fixes #515962.

16 years agogst/multipart/multipartdemux.*: Don't blindly copy the mime-type as the caps name...
Patrick Radizi [Wed, 21 May 2008 09:38:48 +0000 (09:38 +0000)]
gst/multipart/multipartdemux.*: Don't blindly copy the mime-type as the caps name because they not always map directl...

Original commit message from CVS:
Patch by: Patrick Radizi <patrick dot radizi at axis dot com>
* gst/multipart/multipartdemux.c: (gst_multipart_demux_class_init),
(gst_multipart_demux_get_gstname),
(gst_multipart_find_pad_by_mime), (gst_multipart_demux_chain):
* gst/multipart/multipartdemux.h:
Don't blindly copy the mime-type as the caps name because they not
always map directly. Instead use a hashtable with common mappings.
Fixes #533287.

16 years agoext/esd/esdsink.c: When we post an error, we must return -1 to let the parent know...
Michael Meeks [Tue, 20 May 2008 17:27:35 +0000 (17:27 +0000)]
ext/esd/esdsink.c: When we post an error, we must return -1 to let the parent know that we cannot write the segment e...

Original commit message from CVS:
* ext/esd/esdsink.c: (gst_esdsink_write):
When we post an error, we must return -1 to let the parent know that we
cannot write the segment else it will loop and continue to call us again
forever. Patch by Michael Meeks.

16 years agogst/videomixer/videomixer.c: Add missing incudes.
Stefan Kost [Tue, 20 May 2008 14:24:21 +0000 (14:24 +0000)]
gst/videomixer/videomixer.c: Add missing incudes.

Original commit message from CVS:
* gst/videomixer/videomixer.c:
Add missing incudes.

16 years agogst/rtp/gstrtph264pay.*: Correct a typo (sinle -> single).
Peter Kjellerstedt [Tue, 20 May 2008 13:57:44 +0000 (13:57 +0000)]
gst/rtp/gstrtph264pay.*: Correct a typo (sinle -> single).

Original commit message from CVS:
* gst/rtp/gstrtph264pay.c: (gst_h264_scan_mode_get_type),
(gst_rtp_h264_pay_handle_buffer):
* gst/rtp/gstrtph264pay.h:
Correct a typo (sinle -> single).

16 years agogst/rtp/gstrtph264depay.*: Add experimental support for outputting quicktime-like...
Wim Taymans [Tue, 20 May 2008 11:33:05 +0000 (11:33 +0000)]
gst/rtp/gstrtph264depay.*: Add experimental support for outputting quicktime-like AVC output in addition to the exist...

Original commit message from CVS:
* gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_class_init),
(gst_rtp_h264_depay_init), (gst_rtp_h264_depay_set_property),
(gst_rtp_h264_depay_get_property), (gst_rtp_h264_depay_setcaps),
(gst_rtp_h264_depay_process):
* gst/rtp/gstrtph264depay.h:
Add experimental support for outputting quicktime-like AVC output in
addition to the existing bytestream output.
* gst/rtp/gstrtph264pay.c: (gst_h264_scan_mode_get_type),
(gst_rtp_h264_pay_class_init), (gst_rtp_h264_pay_init),
(gst_rtp_h264_pay_setcaps), (gst_rtp_h264_pay_payload_nal),
(gst_rtp_h264_pay_handle_buffer), (gst_rtp_h264_pay_set_property),
(gst_rtp_h264_pay_get_property):
* gst/rtp/gstrtph264pay.h:
Make the parsing mode configurable, for some inputs we don't need to
scan every byte for start codes.
Only set the marker bit on ACCESS units.

16 years agogst/equalizer/gstiirequalizer.c: Use a bigger type in integer mode for the intermedia...
Sebastian Dröge [Tue, 20 May 2008 10:47:10 +0000 (10:47 +0000)]
gst/equalizer/gstiirequalizer.c: Use a bigger type in integer mode for the intermediate results to prevent overflows....

Original commit message from CVS:
* gst/equalizer/gstiirequalizer.c:
Use a bigger type in integer mode for the intermediate results to
prevent overflows. This fixes the crippled sound when using the
equalizer in integer mode. Fixes bug #510865.

16 years agogst/videomixer/videomixer.*: Instead of a random number for the request pad id's...
Jan Schmidt [Tue, 20 May 2008 10:42:33 +0000 (10:42 +0000)]
gst/videomixer/videomixer.*: Instead of a random number for the request pad id's, use a counter.

Original commit message from CVS:
* gst/videomixer/videomixer.c:
* gst/videomixer/videomixer.h:
Instead of a random number for the request pad id's,
use a counter.
Register the videomixerpad class from the element's class_init
where it's safer, and allows the docs generator to scan it.

16 years agogst/smpte/: Add new plugin that adds the SMPTE transition in the alpha channel of
Wim Taymans [Tue, 20 May 2008 09:29:28 +0000 (09:29 +0000)]
gst/smpte/: Add new plugin that adds the SMPTE transition in the alpha channel of

Original commit message from CVS:
* gst/smpte/Makefile.am:
* gst/smpte/gstsmpte.c: (gst_smpte_plugin_init):
* gst/smpte/gstsmpte.h:
* gst/smpte/gstsmptealpha.c:
(gst_smpte_alpha_transition_type_get_type),
(gst_smpte_alpha_get_type), (gst_smpte_alpha_base_init),
(gst_smpte_alpha_class_init), (gst_smpte_alpha_update_mask),
(gst_smpte_alpha_setcaps), (gst_smpte_alpha_get_unit_size),
(gst_smpte_alpha_init), (gst_smpte_alpha_finalize),
(gst_smpte_alpha_do_ayuv), (gst_smpte_alpha_do_i420),
(gst_smpte_alpha_transform), (gst_smpte_alpha_set_property),
(gst_smpte_alpha_get_property), (gst_smpte_alpha_plugin_init):
* gst/smpte/gstsmptealpha.h:
* gst/smpte/plugin.c: (plugin_init):
Add new plugin that adds the SMPTE transition in the alpha channel of
I420 and AYUV frames so that they can be blended with videomixer later
on. Uses all niceties such as using base transform for efficient alloc
and negotiation. It currently requires GstController to control the
position in the transition effect.

16 years agoTry using thaytans new mechanism to get extra classes into plugin docs. Aparently...
Stefan Kost [Mon, 19 May 2008 21:05:03 +0000 (21:05 +0000)]
Try using thaytans new mechanism to get extra classes into plugin docs. Aparently works for the Eq. For VideoMixer th...

Original commit message from CVS:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.args:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
* docs/plugins/gst-plugins-good-plugins.interfaces:
* docs/plugins/gst-plugins-good-plugins.types:
* gst/videomixer/videomixer.c:
Try using thaytans new mechanism to get extra classes into plugin
docs. Aparently works for the Eq. For VideoMixer the GObject stuff is
missing still.

16 years agotests/check/elements/deinterleave.c: Set keep-positions property to TRUE for the...
Sebastian Dröge [Mon, 19 May 2008 12:32:06 +0000 (12:32 +0000)]
tests/check/elements/deinterleave.c: Set keep-positions property to TRUE for the 8 channel test to ensure that the or...

Original commit message from CVS:
* tests/check/elements/deinterleave.c: (GST_START_TEST):
Set keep-positions property to TRUE for the 8 channel test to ensure
that the original channel position is set on the output.

16 years agogst/interleave/deinterleave.*: Add a property to select whether channel positions...
Sebastian Dröge [Mon, 19 May 2008 07:46:05 +0000 (07:46 +0000)]
gst/interleave/deinterleave.*: Add a property to select whether channel positions should be kept on the mono output b...

Original commit message from CVS:
* gst/interleave/deinterleave.c: (gst_deinterleave_class_init),
(gst_deinterleave_init), (gst_deinterleave_add_new_pads),
(gst_deinterleave_set_pads_caps), (gst_deinterleave_set_property),
(gst_deinterleave_get_property):
* gst/interleave/deinterleave.h:
Add a property to select whether channel positions should be kept on
the mono output buffers or should be dropped.

16 years agogst/avi/gstavimux.c: Set proper rate in avi stream header for PCM audio, and also...
Mark Nauwelaerts [Sun, 18 May 2008 19:27:59 +0000 (19:27 +0000)]
gst/avi/gstavimux.c: Set proper rate in avi stream header for PCM audio, and also do some more sanity checks on caps ...

Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avi_mux_audsink_set_caps):
Set proper rate in avi stream header for PCM audio, and also do some
more sanity checks on caps in this case.  Fixes #511489.

16 years agogst/interleave/deinterleave.*: Queue events until src pads were added and they can...
Sebastian Dröge [Sat, 17 May 2008 19:39:53 +0000 (19:39 +0000)]
gst/interleave/deinterleave.*: Queue events until src pads were added and they can be sent. Otherwise downstream will...

Original commit message from CVS:
* gst/interleave/deinterleave.c: (gst_deinterleave_finalize),
(gst_deinterleave_init), (gst_deinterleave_sink_event),
(gst_deinterleave_process), (gst_deinterleave_sink_activate_push):
* gst/interleave/deinterleave.h:
Queue events until src pads were added and they can be sent. Otherwise
downstream will never get the first newsegment event.

16 years agogst/interleave/deinterleave.c: Always set the channel positions when gst_audio_get_ch...
Sebastian Dröge [Sat, 17 May 2008 14:05:03 +0000 (14:05 +0000)]
gst/interleave/deinterleave.c: Always set the channel positions when gst_audio_get_channel_positions() returns someth...

Original commit message from CVS:
* gst/interleave/deinterleave.c: (gst_deinterleave_sink_setcaps),
(gst_deinterleave_getcaps):
Always set the channel positions when gst_audio_get_channel_positions()
returns something, even if they're not set in the caps. This makes
sure that the output channels can be interleaved again correctly
in the mono/stereo cases too.
Don't ask for the peercaps of the current pad in getcaps() as this
might call getcaps() again and deadlock.

16 years agosys/v4l2/gstv4l2src.c: Don't include the gstv4l2xoverlay.h header as the XOverlay...
Sebastian Dröge [Sat, 17 May 2008 10:38:18 +0000 (10:38 +0000)]
sys/v4l2/gstv4l2src.c: Don't include the gstv4l2xoverlay.h header as the XOverlay support isn't implemented at all ye...

Original commit message from CVS:
* sys/v4l2/gstv4l2src.c:
Don't include the gstv4l2xoverlay.h header as the XOverlay support
isn't implemented at all yet and this requires X headers to be
installed. Fixes bug #533264.

16 years agogst/interleave/: Add support for all raw audio formats and provide better negotiation...
Sebastian Dröge [Fri, 16 May 2008 21:56:24 +0000 (21:56 +0000)]
gst/interleave/: Add support for all raw audio formats and provide better negotiation if the caps are changing.

Original commit message from CVS:
* gst/interleave/Makefile.am:
* gst/interleave/deinterleave.c: (deinterleave_24),
(gst_deinterleave_finalize), (gst_deinterleave_base_init),
(gst_deinterleave_class_init), (gst_deinterleave_init),
(gst_deinterleave_add_new_pads), (gst_deinterleave_set_pads_caps),
(gst_deinterleave_set_process_function),
(gst_deinterleave_sink_setcaps), (__remove_channels),
(__set_channels), (gst_deinterleave_getcaps),
(gst_deinterleave_process), (gst_deinterleave_chain),
(gst_deinterleave_sink_activate_push):
* gst/interleave/deinterleave.h:
Add support for all raw audio formats and provide better negotiation
if the caps are changing.
Don't allow changes of the channel positions and set the position of
the corresponding channel on the src pad caps.
General cleanup and smaller bugfixes.
* tests/check/elements/deinterleave.c: (float_buffer_check_probe):
Check the channel positions on the output buffer caps.

16 years agoFix some compiler warnings.
Jan Schmidt [Fri, 16 May 2008 17:50:20 +0000 (17:50 +0000)]
Fix some compiler warnings.

Original commit message from CVS:
* ext/wavpack/gstwavpackstreamreader.c:
* tests/examples/spectrum/demo-audiotest.c:
* tests/examples/spectrum/demo-osssrc.c:
Fix some compiler warnings.

16 years agogst/rtp/gstrtph264depay.c: Small comment added.
Wim Taymans [Wed, 14 May 2008 18:28:46 +0000 (18:28 +0000)]
gst/rtp/gstrtph264depay.c: Small comment added.

Original commit message from CVS:
* gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_process):
Small comment added.
* gst/rtp/gstrtph264pay.c: (gst_rtp_h264_pay_class_init),
(gst_rtp_h264_pay_decode_nal), (gst_rtp_h264_pay_parse_sps_pps),
(gst_rtp_h264_pay_payload_nal), (gst_rtp_h264_pay_handle_buffer):
Debug string cleanups (remove trailing \n)
Refactor and clean up the payloader a bit and make sure that we only
put one NAL unit in an RTP packet even if the input buffer contains
multiple NAL units.
Add suport for AVC format input.

16 years agogst/rtp/gstrtph264pay.*: Make it possible to specify profile-level-id and sprop-param...
Peter Kjellerstedt [Wed, 14 May 2008 17:58:50 +0000 (17:58 +0000)]
gst/rtp/gstrtph264pay.*: Make it possible to specify profile-level-id and sprop-parameter-sets using properties in ca...

Original commit message from CVS:
* gst/rtp/gstrtph264pay.c: (gst_rtp_h264_pay_class_init),
(gst_rtp_h264_pay_finalize), (gst_rtp_h264_pay_handle_buffer),
(gst_rtp_h264_pay_set_property), (gst_rtp_h264_pay_get_property):
* gst/rtp/gstrtph264pay.h:
Make it possible to specify profile-level-id and sprop-parameter-sets
using properties in case they are not available in-stream.

16 years agotests/check/Makefile.am: Add deinterleave unit test to VALGRIND_TO_FIX, since it...
Tim-Philipp Müller [Wed, 14 May 2008 14:19:47 +0000 (14:19 +0000)]
tests/check/Makefile.am: Add deinterleave unit test to VALGRIND_TO_FIX, since it causes weird invalid free errors in ...

Original commit message from CVS:
* tests/check/Makefile.am:
Add deinterleave unit test to VALGRIND_TO_FIX, since it causes
weird invalid free errors in valgrind/libc after _exit for some
reason.
* tests/check/elements/deinterleave.c: (pads_created),
(set_channel_positions), (src_handoff_float32_8ch),
(float_buffer_check_probe),
(pad_added_setup_data_check_float32_8ch_cb),
(make_fake_src_8chans_float32), (GST_START_TEST),
(deinterleave_suite):
Add some more deinterleave unit test bits I had locally.

16 years agodocs/plugins/: Remove ladspa fro plugin-docs, its in gst-plugins-bad.
Stefan Kost [Wed, 14 May 2008 12:52:15 +0000 (12:52 +0000)]
docs/plugins/: Remove ladspa fro plugin-docs, its in gst-plugins-bad.

Original commit message from CVS:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins.args:
* docs/plugins/inspect/plugin-ladspa.xml:
Remove ladspa fro plugin-docs, its in gst-plugins-bad.

16 years agogst/interleave/: Split definitions into separate header files for better documentatio...
Sebastian Dröge [Wed, 14 May 2008 07:32:44 +0000 (07:32 +0000)]
gst/interleave/: Split definitions into separate header files for better documentation generation.

Original commit message from CVS:
* gst/interleave/Makefile.am:
* gst/interleave/deinterleave.h:
* gst/interleave/interleave.h:
* gst/interleave/plugin.h:
Split definitions into separate header files for better documentation
generation.
* gst/interleave/deinterleave.c: (gst_deinterleave_base_init),
(gst_deinterleave_class_init), (gst_deinterleave_sink_setcaps),
(gst_deinterleave_process):
Don't use alloca, allow caps changes as long as the number of channels
does not change, don't use g_warning, return NOT_NEGOTIATED as early
as possible and some other cleanup.
* gst/interleave/interleave.c: (gst_interleave_base_init),
(gst_interleave_class_init):
Do some random cleanup.
* tests/check/Makefile.am:
* tests/check/elements/deinterleave.c: (GST_START_TEST),
(deinterleave_chain_func), (deinterleave_pad_added),
(deinterleave_suite):
Add unit tests for the deinterleave element.

16 years agogst/avi/gstavimux.c: Send an initial BYTE segment to inform downstream of later seeki...
Mark Nauwelaerts [Tue, 13 May 2008 20:25:20 +0000 (20:25 +0000)]
gst/avi/gstavimux.c: Send an initial BYTE segment to inform downstream of later seeking, and to forego sync attempts.

Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avi_mux_start_file):
Send an initial BYTE segment to inform downstream of later seeking,
and to forego sync attempts.

16 years agogst/rtp/gstrtpg729depay.c: Fix wrong caps string.
Wim Taymans [Tue, 13 May 2008 08:59:41 +0000 (08:59 +0000)]
gst/rtp/gstrtpg729depay.c: Fix wrong caps string.

Original commit message from CVS:
* gst/rtp/gstrtpg729depay.c: (gst_rtp_g729_depay_setcaps):
Fix wrong caps string.

16 years agogst/rtp/: Added G729 pay and depayloaders. Fixes #532409.
Olivier Crete [Tue, 13 May 2008 08:35:55 +0000 (08:35 +0000)]
gst/rtp/: Added G729 pay and depayloaders. Fixes #532409.

Original commit message from CVS:
Based on patch by: Olivier Crete <tester at tester dot ca>
* gst/rtp/Makefile.am:
* gst/rtp/gstrtp.c: (plugin_init):
* gst/rtp/gstrtpg729depay.c: (gst_rtp_g729_depay_base_init),
(gst_rtp_g729_depay_class_init), (gst_rtp_g729_depay_init),
(gst_rtp_g729_depay_setcaps), (gst_rtp_g729_depay_process),
(gst_rtp_g729_depay_plugin_init):
* gst/rtp/gstrtpg729depay.h:
* gst/rtp/gstrtpg729pay.c: (gst_rtpg729pay_base_init),
(gst_rtpg729pay_class_init), (gst_rtpg729pay_init),
(gst_rtpg729pay_setcaps), (gst_rtp_g729_pay_plugin_init):
* gst/rtp/gstrtpg729pay.h:
Added G729 pay and depayloaders. Fixes #532409.

16 years agoext/speex/gstspeexdec.c: Fix the calculation of the duration of the concealment packets.
Wim Taymans [Tue, 13 May 2008 08:21:26 +0000 (08:21 +0000)]
ext/speex/gstspeexdec.c: Fix the calculation of the duration of the concealment packets.

Original commit message from CVS:
* ext/speex/gstspeexdec.c: (speex_dec_sink_event):
Fix the calculation of the duration of the concealment packets.

16 years agogst/rtp/: Add DV pay and depayloaders. Fixes #532423.
Olivier Crete [Mon, 12 May 2008 18:27:24 +0000 (18:27 +0000)]
gst/rtp/: Add DV pay and depayloaders. Fixes #532423.

Original commit message from CVS:
Based on patch by: Olivier Crete <tester at tester dot ca>
* gst/rtp/Makefile.am:
* gst/rtp/gstrtp.c: (plugin_init):
* gst/rtp/gstrtpdvdepay.c: (gst_rtp_dv_depay_base_init),
(gst_rtp_dv_depay_class_init), (gst_rtp_dv_depay_init),
(parse_encode), (gst_rtp_dv_depay_setcaps),
(calculate_difblock_location), (gst_rtp_dv_depay_process),
(gst_rtp_dv_depay_reset), (gst_rtp_dv_depay_change_state),
(gst_rtp_dv_depay_plugin_init):
* gst/rtp/gstrtpdvdepay.h:
* gst/rtp/gstrtpdvpay.c: (gst_dv_pay_mode_get_type),
(gst_rtp_dv_pay_base_init), (gst_rtp_dv_pay_class_init),
(gst_rtp_dv_pay_init), (gst_dv_pay_set_property),
(gst_dv_pay_get_property), (gst_rtp_dv_pay_setcaps),
(gst_dv_pay_negotiate), (include_dif),
(gst_rtp_dv_pay_handle_buffer), (gst_rtp_dv_pay_plugin_init):
* gst/rtp/gstrtpdvpay.h:
Add DV pay and depayloaders. Fixes #532423.

16 years agogst/matroska/matroska-demux.c: Convert subtitle palette info in VobSub private data...
Mark Nauwelaerts [Mon, 12 May 2008 16:35:39 +0000 (16:35 +0000)]
gst/matroska/matroska-demux.c: Convert subtitle palette info in VobSub private data from VobSub's (buggy) RGB to YUV.

Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_push_dvd_clut_change_event):
Convert subtitle palette info in VobSub private data from VobSub's
(buggy) RGB to YUV.

16 years agogst/avi/gstavimux.c: Do not leave fourcc stream header field empty upon reset.
Mark Nauwelaerts [Mon, 12 May 2008 15:26:01 +0000 (15:26 +0000)]
gst/avi/gstavimux.c: Do not leave fourcc stream header field empty upon reset.

Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avi_mux_pad_reset):
Do not leave fourcc stream header field empty upon reset.
Fixes #519301.

16 years agoAdd goom2k1 into the docs.
Jan Schmidt [Sun, 11 May 2008 14:43:26 +0000 (14:43 +0000)]
Add goom2k1 into the docs.

Original commit message from CVS:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/inspect/plugin-goom.xml:
* docs/plugins/inspect/plugin-goom2k1.xml:
* gst/goom/gstgoom.c:
* gst/goom2k1/gstgoom.c:
Add goom2k1 into the docs.

16 years agogst/rtsp/gstrtspsrc.c: Support Digest authentication. Fixes #532065.
Wouter Cloetens [Thu, 8 May 2008 16:58:02 +0000 (16:58 +0000)]
gst/rtsp/gstrtspsrc.c: Support Digest authentication. Fixes #532065.

Original commit message from CVS:
Based on patch by: Wouter Cloetens  <wouter at mind be>
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init),
(gst_rtspsrc_skip_lws), (gst_rtspsrc_unskip_lws),
(gst_rtspsrc_skip_commas), (gst_rtspsrc_skip_item),
(gst_rtsp_decode_quoted_string),
(gst_rtspsrc_parse_digest_challenge), (gst_rtspsrc_parse_auth_hdr),
(gst_rtspsrc_setup_auth):
Support Digest authentication. Fixes #532065.

16 years agogst/level/gstlevel.c: Also support 32bit (e.g. whe having it after 'mad'). Add more...
Stefan Kost [Thu, 8 May 2008 10:20:52 +0000 (10:20 +0000)]
gst/level/gstlevel.c: Also support 32bit (e.g. whe having it after 'mad'). Add more notes about whats needed for libo...

Original commit message from CVS:
* gst/level/gstlevel.c:
Also support 32bit (e.g. whe having it after 'mad'). Add more notes
about whats needed for liboil acceleration. Simplify docs a bit.

16 years agogst/matroska/matroska-mux.c: Update the track duration if the old one was invalid.
Sjoerd Simons [Thu, 8 May 2008 08:15:34 +0000 (08:15 +0000)]
gst/matroska/matroska-mux.c: Update the track duration if the old one was invalid.

Original commit message from CVS:
Patch by: Sjoerd Simons <sjoerd at luon dot net>
* gst/matroska/matroska-mux.c: (gst_matroska_mux_collected):
Update the track duration if the old one was invalid.
Fixes bug #532117.

16 years agogst/rtp/gstrtph264pay.c (gst_rtp_h264_pay_parse_sps_pps): Use GST_STR_NULL when tryin...
Ole André Vadla Ravnås [Wed, 7 May 2008 16:36:04 +0000 (16:36 +0000)]
gst/rtp/gstrtph264pay.c (gst_rtp_h264_pay_parse_sps_pps): Use GST_STR_NULL when trying to print sps and pps strings t...

Original commit message from CVS:
* gst/rtp/gstrtph264pay.c (gst_rtp_h264_pay_parse_sps_pps):
Use GST_STR_NULL when trying to print sps and pps strings that could
be NULL, as this might crash on some platforms.

16 years agosys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_setup_ddraw): Do IDirectDrawC...
Haakon Sporsheim [Wed, 7 May 2008 15:33:52 +0000 (15:33 +0000)]
sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_setup_ddraw): Do IDirectDrawClipper_SetHWnd() if the window I...

Original commit message from CVS:
patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com>
* sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_setup_ddraw):
Do IDirectDrawClipper_SetHWnd() if the window ID has already been
set after creating the clipper.

16 years agosys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_show_frame): Added checking...
Haakon Sporsheim [Wed, 7 May 2008 15:28:06 +0000 (15:28 +0000)]
sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_show_frame): Added checking of surface lost case after an uns...

Original commit message from CVS:
patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com>
* sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_show_frame):
Added checking of surface lost case after an unsuccessful
IDirectDrawSurface7_Lock() call.
If surface is lost, return GST_FLOW_OK.

16 years agosys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_show_frame,
Haakon Sporsheim [Wed, 7 May 2008 15:19:47 +0000 (15:19 +0000)]
sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_show_frame,

Original commit message from CVS:
patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com>
* sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_show_frame,
WndProc, gst_directdraw_sink_window_thread):
Improved Windows message loop and fixed window destruction issue.
When the window which DirectDraw is rendering to is destroyed, the
render/show_frame function will return GST_FLOW_ERROR.
Partially fixes #520885.

16 years agosys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_set_caps): Fixed mid stream...
Haakon Sporsheim [Wed, 7 May 2008 15:09:10 +0000 (15:09 +0000)]
sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_set_caps): Fixed mid stream resolution change bug, the offscr...

Original commit message from CVS:
patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com>
* sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_set_caps):
Fixed mid stream resolution change bug, the offscreen surface is now
released when set_caps is called.
Partially fixes #520885.

16 years agosys/directdraw/gstdirectdrawsink.c
Ole André Vadla Ravnås [Wed, 7 May 2008 14:56:22 +0000 (14:56 +0000)]
sys/directdraw/gstdirectdrawsink.c

Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c
(gst_directdraw_sink_buffer_alloc):
Make it so that gst_directdraw_sink_buffer_alloc uses the right
width/height.
Especially when looking through the pool of buffers, make sure that
the width/height of caps is used instead of the already negotiated
dimensions.
For example if a buffer with different caps is requested, i.e.
higher resolution, the caller would get a buffer with the old
dimensions and thus corrupt the heap.

16 years agosys/directdraw/gstdirectdrawsink.c
Ole André Vadla Ravnås [Wed, 7 May 2008 14:43:39 +0000 (14:43 +0000)]
sys/directdraw/gstdirectdrawsink.c

Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c
(gst_directdraw_sink_buffer_alloc):
Clear the flags on recycled buffers from buffer_alloc.
Partially fixes #520885.
The right fix this time.

16 years agosys/directdraw/gstdirectdrawsink.c
Ole André Vadla Ravnås [Wed, 7 May 2008 14:39:45 +0000 (14:39 +0000)]
sys/directdraw/gstdirectdrawsink.c

Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c
(gst_directdraw_sink_buffer_alloc):
Reverting previous commit, it had it all mixed up, was for a different
patch (major automation screw-up). Sorry!

16 years agosys/directdraw/gstdirectdrawsink.c
Ole André Vadla Ravnås [Wed, 7 May 2008 13:48:28 +0000 (13:48 +0000)]
sys/directdraw/gstdirectdrawsink.c

Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c
(gst_directdraw_sink_buffer_alloc):
Clear the flags on recycled buffers from buffer_alloc.
Partially fixes #520885.

16 years agogst/rtp/gstrtpilbcpay.c: Added missing stdlib.h include for strtol(), and made includ...
Ole André Vadla Ravnås [Wed, 7 May 2008 11:22:51 +0000 (11:22 +0000)]
gst/rtp/gstrtpilbcpay.c: Added missing stdlib.h include for strtol(), and made include ordering and style consistent ...

Original commit message from CVS:
* gst/rtp/gstrtpilbcpay.c:
Added missing stdlib.h include for strtol(), and made include ordering and
style consistent with the corresponding depayloader.

16 years agogst/rtp/gstrtpilbcpay.c: Added missing stdlib.h include for strtol(), and made includ...
Ole André Vadla Ravnås [Wed, 7 May 2008 09:52:34 +0000 (09:52 +0000)]
gst/rtp/gstrtpilbcpay.c: Added missing stdlib.h include for strtol(), and made include ordering and style consistent ...

Original commit message from CVS:
* gst/rtp/gstrtpilbcpay.c:
Added missing stdlib.h include for strtol(), and made include ordering and
style consistent with the corresponding depayloader.

16 years agoconfigure.ac: Error out if we don't have the required core/base versions.
Tim-Philipp Müller [Wed, 7 May 2008 08:03:51 +0000 (08:03 +0000)]
configure.ac: Error out if we don't have the required core/base versions.

Original commit message from CVS:
* configure.ac:
Error out if we don't have the required core/base versions.

16 years agosys/osxvideo/cocoawindow.m: Fix compiler warnings on PPC64. Fixes bug #499318.
Thijs Vermeir [Tue, 6 May 2008 09:33:46 +0000 (09:33 +0000)]
sys/osxvideo/cocoawindow.m: Fix compiler warnings on PPC64. Fixes bug #499318.

Original commit message from CVS:
Patch by: Thijs Vermeir <thijsvermeir at gmail dot com>
* sys/osxvideo/cocoawindow.m:
Fix compiler warnings on PPC64. Fixes bug #499318.

16 years agogst/rtsp/gstrtspsrc.c: Don't leak file descriptors on error. Fixes #531532.
Sjoerd Simons [Mon, 5 May 2008 11:19:13 +0000 (11:19 +0000)]
gst/rtsp/gstrtspsrc.c: Don't leak file descriptors on error. Fixes #531532.

Original commit message from CVS:
Patch by: Sjoerd Simons <sjoerd at luon dot net>
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init), (gst_rtspsrc_open):
Don't leak file descriptors on error. Fixes #531532.

16 years agoext/gconf/: When we can't create a fakesink/fakesrc complain instead of unreffing
Sebastian Dröge [Sat, 3 May 2008 09:18:22 +0000 (09:18 +0000)]
ext/gconf/: When we can't create a fakesink/fakesrc complain instead of unreffing

Original commit message from CVS:
* ext/gconf/gstgconfaudiosrc.c: (gst_gconf_audio_src_reset),
(gst_gconf_audio_src_change_state):
* ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_reset),
(gst_gconf_video_sink_change_state):
* ext/gconf/gstgconfvideosrc.c: (gst_gconf_video_src_reset),
(gst_gconf_video_src_change_state):
* ext/gconf/gstswitchsink.c: (gst_switch_sink_reset),
(gst_switch_commit_new_kid), (gst_switch_sink_change_state):
When we can't create a fakesink/fakesrc complain instead of unreffing
NULL pointers and crashing later. See bug #530535.