platform/upstream/gstreamer.git
16 years agogst/avi/gstavi.c: increase rank because no known issues anymore ...
Thijs Vermeir [Wed, 2 Jan 2008 13:54:10 +0000 (13:54 +0000)]
gst/avi/gstavi.c: increase rank because no known issues anymore ...

Original commit message from CVS:
* gst/avi/gstavi.c:
increase rank because no known issues anymore ...
* gst/avi/gstavisubtitle.c:
send subtitle name to the srcpad

16 years agogst/rtsp/gstrtspsrc.*: Implement redirect for the DESCRIBE reply. Fixes #506025.
Wim Taymans [Mon, 31 Dec 2007 13:27:32 +0000 (13:27 +0000)]
gst/rtsp/gstrtspsrc.*: Implement redirect for the DESCRIBE reply. Fixes #506025.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send), (gst_rtspsrc_open):
* gst/rtsp/gstrtspsrc.h:
Implement redirect for the DESCRIBE reply. Fixes #506025.

16 years agoext/flac/gstflacdec.c: Fix 'xyz may be used uninitialized' compiler warnings caused...
Sebastian Dröge [Sat, 29 Dec 2007 16:48:33 +0000 (16:48 +0000)]
ext/flac/gstflacdec.c: Fix 'xyz may be used uninitialized' compiler warnings caused by broken g_assert_not_reached() ...

Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flac_dec_write):
Fix 'xyz may be used uninitialized' compiler warnings caused
by broken g_assert_not_reached() macro in GLib-2.15.x and don't
abort() in any case but properly report the error.

16 years agoext/soup/: Use gst_tag_freeform_string_to_utf8() and post radio station info as tags...
Tim-Philipp Müller [Fri, 28 Dec 2007 11:44:28 +0000 (11:44 +0000)]
ext/soup/: Use gst_tag_freeform_string_to_utf8() and post radio station info as tags on the bus.

Original commit message from CVS:
* ext/soup/Makefile.am:
* ext/soup/gstsouphttpsrc.c: (gst_souphttp_src_get_property),
(gst_souphttp_src_unicodify), (soup_got_headers):
Use gst_tag_freeform_string_to_utf8() and post radio station
info as tags on the bus.

16 years agoFix 'xyz may be used uninitialized' compiler warnings caused by broken g_assert_not_r...
Tim-Philipp Müller [Wed, 26 Dec 2007 16:03:57 +0000 (16:03 +0000)]
Fix 'xyz may be used uninitialized' compiler warnings caused by broken g_assert_not_reached() macro in GLib-2.15.x (i...

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_loop):
* gst/wavparse/gstwavparse.c: (gst_wavparse_chain):
* sys/ximage/gstximagesrc.c: (composite_pixel):
Fix 'xyz may be used uninitialized' compiler warnings caused
by broken g_assert_not_reached() macro in GLib-2.15.x (it's
not really nice to abort in any case). Fixes #505745.

16 years agogst/: Ignore more.
Tim-Philipp Müller [Thu, 20 Dec 2007 17:07:22 +0000 (17:07 +0000)]
gst/: Ignore more.

Original commit message from CVS:
* gst/equalizer/.cvsignore:
* gst/switch/.cvsignore:
Ignore more.

16 years agotests/check/elements/avisubtitle.c: Small unit test fix (has no practical impact...
Tim-Philipp Müller [Tue, 18 Dec 2007 23:17:14 +0000 (23:17 +0000)]
tests/check/elements/avisubtitle.c: Small unit test fix (has no practical impact at the moment, since we're only feed...

Original commit message from CVS:
* tests/check/elements/avisubtitle.c: (check_correct_buffer):
Small unit test fix (has no practical impact at the moment,
since we're only feeding utf8 and hence just create a sub-
buffer for the output).

16 years agoAdd seeking support for avi subtitle
Thijs Vermeir [Tue, 18 Dec 2007 21:13:05 +0000 (21:13 +0000)]
Add seeking support for avi subtitle

Original commit message from CVS:
* gst/avi/gstavisubtitle.c:
* tests/check/elements/avisubtitle.c:
Add seeking support for avi subtitle

16 years agoext/flac/gstflacdec.*: Remove some unused vars.
Wim Taymans [Tue, 18 Dec 2007 17:40:34 +0000 (17:40 +0000)]
ext/flac/gstflacdec.*: Remove some unused vars.

Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flac_dec_reset_decoders),
(gst_flac_dec_update_metadata), (gst_flac_dec_metadata_callback),
(gst_flac_dec_write):
* ext/flac/gstflacdec.h:
Remove some unused vars.
Do more cleanup of leftover events and tags.
Output tags after the segment event. Fixes #504018.

16 years agogst/avi/gstavisubtitle.c: Detect other UTF byte order markers and convert to UTF...
Tim-Philipp Müller [Tue, 18 Dec 2007 14:31:36 +0000 (14:31 +0000)]
gst/avi/gstavisubtitle.c: Detect other UTF byte order markers and convert to UTF-8 as appropriate.

Original commit message from CVS:
* gst/avi/gstavisubtitle.c: (IS_BOM_UTF8), (IS_BOM_UTF16_BE),
(IS_BOM_UTF16_LE), (IS_BOM_UTF32_BE), (IS_BOM_UTF32_LE),
(gst_avi_subtitle_extract_file), (gst_avi_subtitle_parse_gab2_chunk):
Detect other UTF byte order markers and convert to UTF-8 as
appropriate.

16 years agogst/avi/gstavisubtitle.*: Refactor a bit; fix name extraction; don't assume all the...
Tim-Philipp Müller [Tue, 18 Dec 2007 13:30:15 +0000 (13:30 +0000)]
gst/avi/gstavisubtitle.*: Refactor a bit; fix name extraction; don't assume all the data in the chunk is actually sub...

Original commit message from CVS:
* gst/avi/gstavisubtitle.c: (src_template),
(gst_avi_subtitle_extract_utf8_file),
(gst_avi_subtitle_parse_gab2_chunk), (gst_avi_subtitle_chain),
(gst_avi_subtitle_base_init), (gst_avi_subtitle_class_init),
(gst_avi_subtitle_init), (gst_avi_subtitle_change_state):
* gst/avi/gstavisubtitle.h:
Refactor a bit; fix name extraction; don't assume all the data
in the chunk is actually subtitle data, there may be padding at
the end; fix GST_ELEMENT_ERROR usage; store extracted subtitle
file so it's there to send again after a seek (for future use).

16 years agoAdd avi subtitle element for bug #442034. Need seeking support and more support for...
Thijs Vermeir [Tue, 18 Dec 2007 09:13:12 +0000 (09:13 +0000)]
Add avi subtitle element for bug #442034. Need seeking support and more support for character conversion.

Original commit message from CVS:
* gst/avi/Makefile.am:
* gst/avi/gstavi.c:
* gst/avi/gstavisubtitle.c:
* gst/avi/gstavisubtitle.h:
* tests/check/Makefile.am:
* tests/check/elements/avisubtitle.c:
* win32/common/config.h:
Add avi subtitle element for bug #442034. Need seeking support
and more support for character conversion.

16 years agoMakefile.am: Include common/win32.mak for CRLF check of win32 project files (see...
Tim-Philipp Müller [Tue, 18 Dec 2007 09:07:17 +0000 (09:07 +0000)]
Makefile.am: Include common/win32.mak for CRLF check of win32 project files (see #393626).

Original commit message from CVS:
* Makefile.am:
Include common/win32.mak for CRLF check of win32 project
files (see #393626).
* win32/vs6/libgstpng.dsp:
Fix line endings and do cvs admin -kb.

16 years agogst/multifile/gstmultifilesrc.*: When subsequent files are read, if the file doesn...
David Schleef [Mon, 17 Dec 2007 21:12:28 +0000 (21:12 +0000)]
gst/multifile/gstmultifilesrc.*: When subsequent files are read, if the file doesn't exist, send an EOS instead of ca...

Original commit message from CVS:
* gst/multifile/gstmultifilesrc.c:
* gst/multifile/gstmultifilesrc.h:
When subsequent files are read, if the file doesn't exist, send
an EOS instead of causing an error.

16 years agoext/jpeg/gstjpegdec.c: Actually drop the buffers which are outside the currently...
Edward Hervey [Sun, 16 Dec 2007 23:43:46 +0000 (23:43 +0000)]
ext/jpeg/gstjpegdec.c: Actually drop the buffers which are outside the currently configured segment instead of just e...

Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_chain):
Actually drop the buffers which are outside the currently configured
segment instead of just emitting a WARNING.

16 years agoext/flac/gstflacdec.*: Send segments from the streaming thread. Fixes #502187.
Wim Taymans [Fri, 14 Dec 2007 18:49:34 +0000 (18:49 +0000)]
ext/flac/gstflacdec.*: Send segments from the streaming thread. Fixes #502187.

Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flac_dec_metadata_callback),
(gst_flac_dec_write):
* ext/flac/gstflacdec.h:
Send segments from the streaming thread. Fixes #502187.
Fix segment seeking and a bunch of other seeking cases.

16 years agogst/id3demux/id3v2frames.c: Parse WOAF frames and put the result into GST_TAG_CONTACT...
Tim-Philipp Müller [Fri, 14 Dec 2007 10:17:10 +0000 (10:17 +0000)]
gst/id3demux/id3v2frames.c: Parse WOAF frames and put the result into GST_TAG_CONTACT, which is where it would end up...

Original commit message from CVS:
* gst/id3demux/id3v2frames.c: (parse_url_link_frame):
Parse WOAF frames and put the result into GST_TAG_CONTACT,
which is where it would end up if the same information was
put in a vorbis comment (don't think it's worth adding a
new URI tag for this). Fixes #488112.

16 years agoconfigure.ac: We need core/base 0.10.15 or later.
Tim-Philipp Müller [Tue, 11 Dec 2007 22:29:18 +0000 (22:29 +0000)]
configure.ac: We need core/base 0.10.15 or later.

Original commit message from CVS:
* configure.ac:
We need core/base 0.10.15 or later.

16 years agogst/avi/gstavimux.c: Fix regression in stream numbering. Fixes #502655.
Mark Nauwelaerts [Tue, 11 Dec 2007 16:47:12 +0000 (16:47 +0000)]
gst/avi/gstavimux.c: Fix regression in stream numbering. Fixes #502655.

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw skynet be>
* gst/avi/gstavimux.c: (gst_avi_mux_start_file):
Fix regression in stream numbering. Fixes #502655.

16 years agoext/soup/gstsouphttpsrc.*: Do not try to unpause I/O in the "queued" state.
Wouter Cloetens [Tue, 11 Dec 2007 16:39:39 +0000 (16:39 +0000)]
ext/soup/gstsouphttpsrc.*: Do not try to unpause I/O in the "queued" state.

Original commit message from CVS:
Patch by: Wouter Cloetens <wouter at mind dot be>
* ext/soup/gstsouphttpsrc.c: (_do_init),
(gst_souphttp_src_class_init), (gst_souphttp_src_init),
(gst_souphttp_src_dispose), (gst_souphttp_src_set_property),
(gst_souphttp_src_get_property), (unicodify),
(gst_souphttp_src_unicodify), (gst_souphttp_src_create),
(gst_souphttp_src_start), (gst_souphttp_src_stop),
(gst_souphttp_src_unlock), (gst_souphttp_src_unlock_stop),
(gst_souphttp_src_get_size), (gst_souphttp_src_is_seekable),
(soup_got_headers), (soup_got_body), (soup_finished),
(soup_got_chunk), (soup_response), (soup_parse_status),
(gst_souphttp_src_uri_get_type),
(gst_souphttp_src_uri_get_protocols),
(gst_souphttp_src_uri_get_uri), (gst_souphttp_src_uri_set_uri),
(gst_souphttp_src_uri_handler_init):
* ext/soup/gstsouphttpsrc.h:
Do not try to unpause I/O in the "queued" state.
Reorganise a bunch of things and cleanups.
Uses G_GUINT64_FORMAT instead of hard-coding %llu.
See #502335.

16 years agogst/rtp/gstrtph264pay.*: Use higher performance start-code searching.
Wai-Ming Ho [Tue, 11 Dec 2007 16:31:49 +0000 (16:31 +0000)]
gst/rtp/gstrtph264pay.*: Use higher performance start-code searching.

Original commit message from CVS:
Patch by: Wai-Ming Ho <webregbox at yahoo dot co dot uk>
* gst/rtp/gstrtph264pay.c: (gst_rtp_h264_pay_init),
(gst_rtp_h264_pay_finalize), (gst_rtp_h264_pay_setcaps),
(next_start_code), (is_nal_equal), (gst_rtp_h264_pay_decode_nal),
(encode_base64), (gst_rtp_h264_pay_parse_sps_pps),
(gst_rtp_h264_pay_handle_buffer):
* gst/rtp/gstrtph264pay.h:
Use higher performance start-code searching.
Parse NALs and store SPS, PPS and profile in the caps so that they can
be used in the SDP. Fixes #502814.

16 years agosys/v4l2/: Init some structs to zero before we pass them to ioctl, which avoids valgr...
Tim-Philipp Müller [Tue, 11 Dec 2007 11:50:54 +0000 (11:50 +0000)]
sys/v4l2/: Init some structs to zero before we pass them to ioctl, which avoids valgrind warnings.  Also fix a small ...

Original commit message from CVS:
* sys/v4l2/v4l2_calls.c: (gst_v4l2_fill_lists):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list):
Init some structs to zero before we pass them to ioctl, which
avoids valgrind warnings.  Also fix a small memory leak.

16 years agogst/multipart/multipartdemux.c: Copy timestamp from input to output. Not very perfect...
Wouter Cloetens [Tue, 11 Dec 2007 11:05:57 +0000 (11:05 +0000)]
gst/multipart/multipartdemux.c: Copy timestamp from input to output. Not very perfect yet but better than nothing. Fi...

Original commit message from CVS:
Patch by: Wouter Cloetens <wouter at mind dot be>
* gst/multipart/multipartdemux.c: (gst_multipart_demux_chain):
Copy timestamp from input to output. Not very perfect yet but better
than nothing. Fixes #503023.

16 years agoext/wavpack/gstwavpackdec.c: Also print a useful error message with the old Wavpack...
Sebastian Dröge [Sun, 9 Dec 2007 16:49:09 +0000 (16:49 +0000)]
ext/wavpack/gstwavpackdec.c: Also print a useful error message with the old Wavpack API if possible.

Original commit message from CVS:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_chain):
Also print a useful error message with the old Wavpack API
if possible.

16 years agoext/wavpack/gstwavpackdec.c: More build fixes for old libwavpack versions: include...
Tim-Philipp Müller [Sun, 9 Dec 2007 16:34:08 +0000 (16:34 +0000)]
ext/wavpack/gstwavpackdec.c: More build fixes for old libwavpack versions: include config.h so that WAVPACK_OLD_API i...

Original commit message from CVS:
* ext/wavpack/gstwavpackdec.c:
More build fixes for old libwavpack versions: include config.h so
that WAVPACK_OLD_API is actually defined as detected; only use
WavpackGetErrorMessage if it is available. This fixes the build
on debian stable for me.

16 years agoext/wavpack/: Workaround the non-existance of WavpackGetChannelMask in Wavpack versio...
Sebastian Dröge [Sun, 9 Dec 2007 16:21:02 +0000 (16:21 +0000)]
ext/wavpack/: Workaround the non-existance of WavpackGetChannelMask in Wavpack versions below 4.40.0.

Original commit message from CVS:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_chain):
* ext/wavpack/gstwavpackparse.c:
(gst_wavpack_parse_create_src_pad):
Workaround the non-existance of WavpackGetChannelMask in Wavpack
versions below 4.40.0.

16 years agoconfigure.ac: And now do it right for real...
Sebastian Dröge [Sun, 9 Dec 2007 05:13:58 +0000 (05:13 +0000)]
configure.ac: And now do it right for real...

Original commit message from CVS:
* configure.ac:
And now do it right for real...

16 years agoconfigure.ac: Correctly reset $LIBS to not contain -lm.
Sebastian Dröge [Sun, 9 Dec 2007 05:09:57 +0000 (05:09 +0000)]
configure.ac: Correctly reset $LIBS to not contain -lm.

Original commit message from CVS:
* configure.ac:
Correctly reset $LIBS to not contain -lm.

16 years agoFix compilation with MSVC by using gst_util_guint64_to_gdouble() and checking for...
Kwang Yul Seo [Sun, 9 Dec 2007 05:02:17 +0000 (05:02 +0000)]
Fix compilation with MSVC by using gst_util_guint64_to_gdouble() and checking for rint() and implementing it ourself ...

Original commit message from CVS:
Based on a patch by: Kwang Yul Seo <kwangyul dot seo at gmail dot com>
* configure.ac:
* ext/cairo/gsttimeoverlay.c:
(gst_cairo_time_overlay_print_smpte_time):
Fix compilation with MSVC by using gst_util_guint64_to_gdouble()
and checking for rint() and implementing it ourself if it doesn't
exist.

16 years agoconfigure.ac: Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
Sebastian Dröge [Sun, 9 Dec 2007 04:29:08 +0000 (04:29 +0000)]
configure.ac: Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.

Original commit message from CVS:
* configure.ac:
Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.

16 years agosys/oss/gstosshelper.c: Verify that the format returned after the ioctl is the one...
Jan Schmidt [Sat, 8 Dec 2007 16:47:33 +0000 (16:47 +0000)]
sys/oss/gstosshelper.c: Verify that the format returned after the ioctl is the one we requested. It is valid for the ...

Original commit message from CVS:
* sys/oss/gstosshelper.c:
Verify that the format returned after the ioctl is the one
we requested. It is valid for the ioctl to succeed while
substituting an alternate 'supported' sample format.

16 years agosys/oss/: Post decent (and translated) error message when we can't open the audio...
Tim-Philipp Müller [Fri, 7 Dec 2007 20:07:49 +0000 (20:07 +0000)]
sys/oss/: Post decent (and translated) error message when we can't open the audio device for some reason.

Original commit message from CVS:
* sys/oss/gstossaudio.c: (plugin_init):
* sys/oss/gstosssink.c: (gst_oss_sink_open):
* sys/oss/gstosssrc.c: (gst_oss_src_open):
Post decent (and translated) error message when we can't
open the audio device for some reason.

16 years agosys/oss/: Allow the AUDIODEV environment variable to redirect us to a different defau...
Jan Schmidt [Fri, 7 Dec 2007 19:29:39 +0000 (19:29 +0000)]
sys/oss/: Allow the AUDIODEV environment variable to redirect us to a different default OSS device, like sunaudiosink...

Original commit message from CVS:
* sys/oss/gstosssink.c:
* sys/oss/gstosssrc.c:
Allow the AUDIODEV environment variable to redirect us
to a different default OSS device, like sunaudiosink does
on Solaris (makes audio play automatically on SunRays).

16 years agogst/equalizer/gstiirequalizer.c: Fix compilation.
Sebastian Dröge [Thu, 6 Dec 2007 12:45:50 +0000 (12:45 +0000)]
gst/equalizer/gstiirequalizer.c: Fix compilation.

Original commit message from CVS:
* gst/equalizer/gstiirequalizer.c:
(gst_iir_equalizer_transform_ip):
Fix compilation.

16 years agogst/equalizer/gstiirequalizer.c: Don't process buffers in passthrough mode.
Sebastian Dröge [Thu, 6 Dec 2007 12:42:11 +0000 (12:42 +0000)]
gst/equalizer/gstiirequalizer.c: Don't process buffers in passthrough mode.

Original commit message from CVS:
* gst/equalizer/gstiirequalizer.c:
(gst_iir_equalizer_transform_ip):
Don't process buffers in passthrough mode.

16 years agogst/filter/: The transform() methods are not called in passthrough mode so there...
Sebastian Dröge [Thu, 6 Dec 2007 12:37:43 +0000 (12:37 +0000)]
gst/filter/: The transform() methods are not called in passthrough mode so there's no need for checking if the elemen...

Original commit message from CVS:
* gst/filter/gstbpwsinc.c: (bpwsinc_transform):
* gst/filter/gstlpwsinc.c: (lpwsinc_transform):
The transform() methods are not called in passthrough mode so
there's no need for checking if the element is in passthrough mode.

16 years agogst/filter/: Sync the GObject properties with the controller even in passthrough...
Sebastian Dröge [Thu, 6 Dec 2007 12:29:26 +0000 (12:29 +0000)]
gst/filter/: Sync the GObject properties with the controller even in passthrough mode to get consistent property values.

Original commit message from CVS:
* gst/filter/gstbpwsinc.c: (bpwsinc_transform):
* gst/filter/gstlpwsinc.c: (lpwsinc_transform):
Sync the GObject properties with the controller even in passthrough
mode to get consistent property values.

16 years agogst/audiofx/: The transform_ip() methods should do nothing if in passthrough mode.
Sebastian Dröge [Thu, 6 Dec 2007 12:11:29 +0000 (12:11 +0000)]
gst/audiofx/: The transform_ip() methods should do nothing if in passthrough mode.

Original commit message from CVS:
* gst/audiofx/audioamplify.c: (gst_audio_amplify_transform_ip):
* gst/audiofx/audiochebyshevfreqband.c:
(gst_audio_chebyshev_freq_band_transform_ip):
* gst/audiofx/audiochebyshevfreqlimit.c:
(gst_audio_chebyshev_freq_limit_transform_ip):
* gst/audiofx/audiodynamic.c: (gst_audio_dynamic_transform_ip):
* gst/audiofx/audioinvert.c: (gst_audio_invert_transform_ip):
The transform_ip() methods should do nothing if in passthrough mode.
It might get non-writable buffers in that case but the buffer might
as well be writable.
* gst/audiofx/audiopanorama.c: (gst_audio_panorama_transform):
The transform() methods won't be called in passthrough mode and
otherwise the buffer is always writable so don't check here.

16 years agogst/wavparse/gstwavparse.c: Fix seeking in .wav files again (#501775). Some people...
Tim-Philipp Müller [Thu, 6 Dec 2007 11:46:22 +0000 (11:46 +0000)]
gst/wavparse/gstwavparse.c: Fix seeking in .wav files again (#501775).  Some people seem to think they don't need to ...

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_srcpad_event):
Fix seeking in .wav files again (#501775).  Some people seem to think
they don't need to test their changes when they're just 'reflowing'
some code.

16 years agogst/autodetect/gstautovideosink.*: Fix docs.
Wim Taymans [Wed, 5 Dec 2007 16:04:47 +0000 (16:04 +0000)]
gst/autodetect/gstautovideosink.*: Fix docs.

Original commit message from CVS:
* gst/autodetect/gstautovideosink.c:
(gst_auto_video_sink_class_init), (gst_auto_video_sink_dispose),
(gst_auto_video_sink_init),
(gst_auto_video_sink_create_element_with_pretty_name),
(gst_auto_video_sink_find_best),
(gst_auto_video_sink_set_property),
(gst_auto_video_sink_get_property):
* gst/autodetect/gstautovideosink.h:
Fix docs.
Use same error reporting code as autoaudiosink.
Add property to filter sinks based on caps. Only select raw video sinks
by default for backwards compat.
API: GstAutoVideoSink::filter-caps

16 years agogst/autodetect/gstautoaudiosink.*: Add property to filter sinks based on caps. Only...
Tommi Myöhänen [Wed, 5 Dec 2007 16:02:15 +0000 (16:02 +0000)]
gst/autodetect/gstautoaudiosink.*: Add property to filter sinks based on caps. Only select raw audio sinks by default...

Original commit message from CVS:
Patch by: Tommi Myöhänen  <ext-tommi dot myohanen at nokia dot com>
* gst/autodetect/gstautoaudiosink.c:
(gst_auto_audio_sink_class_init), (gst_auto_audio_sink_dispose),
(gst_auto_audio_sink_init), (gst_auto_audio_sink_find_best),
(gst_auto_audio_sink_set_property),
(gst_auto_audio_sink_get_property):
* gst/autodetect/gstautoaudiosink.h:
Add property to filter sinks based on caps. Only select raw audio sinks
by default for backwards compat.  Fixes #417420.
API: GstAutoAudioSink::filter-caps

16 years agogst/videobox/gstvideobox.c: Initialise liboil in plugin_init()
Arek Korbik [Thu, 29 Nov 2007 11:40:15 +0000 (11:40 +0000)]
gst/videobox/gstvideobox.c: Initialise liboil in plugin_init()

Original commit message from CVS:
Patch by: Arek Korbik <arkadini@gmail.com>

* gst/videobox/gstvideobox.c: (plugin_init):
Initialise liboil in plugin_init()

16 years agoconfigure.ac: Bump libsoup requirement as libsoup does not support async client opera...
Wouter Cloetens [Thu, 29 Nov 2007 10:49:18 +0000 (10:49 +0000)]
configure.ac: Bump libsoup requirement as libsoup does not support async client operation prior to version 2.2.104 an...

Original commit message from CVS:
Patch by: Wouter Cloetens <wouter at mind dot be>
* configure.ac:
Bump libsoup requirement as libsoup does not support async client
operation prior to version 2.2.104 and it has some leaks.
* ext/soup/gstsouphttpsrc.c: (gst_souphttp_src_class_init),
(gst_souphttp_src_init), (gst_souphttp_src_dispose),
(gst_souphttp_src_set_property), (gst_souphttp_src_create),
(gst_souphttp_src_start), (gst_souphttp_src_stop),
(gst_souphttp_src_unlock), (gst_souphttp_src_unlock_stop),
(gst_souphttp_src_get_size), (soup_got_headers), (soup_got_body),
(soup_finished), (soup_got_chunk), (soup_response),
(soup_session_close):
* ext/soup/gstsouphttpsrc.h:
Implement unlock().
Picks up the size from the Content-Length header and emit a duration
message.
Don't leak the GMainContext object.
Fixes #500099.

16 years agoext/libpng/gstpngdec.c: Post error before sending EOS. Fixes #499178.
Wim Taymans [Thu, 29 Nov 2007 10:34:18 +0000 (10:34 +0000)]
ext/libpng/gstpngdec.c: Post error before sending EOS. Fixes #499178.

Original commit message from CVS:
* ext/libpng/gstpngdec.c: (gst_pngdec_task):
Post error before sending EOS. Fixes #499178.

16 years agowin32/vs6/: Add a project file for libgstpng
Sébastien Moutte [Wed, 28 Nov 2007 21:54:50 +0000 (21:54 +0000)]
win32/vs6/: Add a project file for libgstpng

Original commit message from CVS:
* win32/vs6/gst_plugins_good.dsw:
* win32/vs6/libgstpng.dsp:
Add a project file for libgstpng

16 years agogst/rtp/gstrtph263depay.c: Code beautification.
Edward Hervey [Wed, 28 Nov 2007 17:48:45 +0000 (17:48 +0000)]
gst/rtp/gstrtph263depay.c: Code beautification.

Original commit message from CVS:
* gst/rtp/gstrtph263depay.c: (gst_rtp_h263_depay_class_init),
(gst_rtp_h263_depay_process):
Code beautification.
Added debug statements.
Don't bit-shift everything, just do operations on last/first byte
instead.

16 years agogst/rtp/gstrtpmp4adepay.c: Fix wrong comparison in overrun check. Fixes #499239 some...
Jayarama S. Santana [Tue, 27 Nov 2007 11:11:08 +0000 (11:11 +0000)]
gst/rtp/gstrtpmp4adepay.c: Fix wrong comparison in overrun check. Fixes #499239 some more.

Original commit message from CVS:
Patch by: Jayarama S. Santana <sundarsantana at gmail dot com>
* gst/rtp/gstrtpmp4adepay.c: (gst_rtp_mp4a_depay_process):
Fix wrong comparison in overrun check. Fixes #499239 some more.

16 years agogst/rtp/gstrtph263depay.*: Fix h263 depayloader so that ANY h263 decoder can handle...
Edward Hervey [Tue, 27 Nov 2007 00:01:41 +0000 (00:01 +0000)]
gst/rtp/gstrtph263depay.*: Fix h263 depayloader so that ANY h263 decoder can handle the outgoing stream.

Original commit message from CVS:
* gst/rtp/gstrtph263depay.c: (gst_rtp_h263_depay_init),
(gst_rtp_h263_depay_process):
* gst/rtp/gstrtph263depay.h:
Fix h263 depayloader so that ANY h263 decoder can handle the outgoing
stream.

16 years agogst/rtp/gstrtpmp4adepay.*: Fix depayloading when multiple frames are inside one RTP...
Wim Taymans [Mon, 26 Nov 2007 19:17:10 +0000 (19:17 +0000)]
gst/rtp/gstrtpmp4adepay.*: Fix depayloading when multiple frames are inside one RTP packet.

Original commit message from CVS:
Based on Path by: Jayarama S. Santana <sundarsantana at gmail dot com>
* gst/rtp/gstrtpmp4adepay.c: (gst_rtp_mp4a_depay_setcaps),
(gst_rtp_mp4a_depay_process):
* gst/rtp/gstrtpmp4adepay.h:
Fix depayloading when multiple frames are inside one RTP packet.
Fixes #499239.

16 years agogst/level/gstlevel.c: Add GAP-flag support.
Stefan Kost [Mon, 26 Nov 2007 12:26:20 +0000 (12:26 +0000)]
gst/level/gstlevel.c: Add GAP-flag support.

Original commit message from CVS:
* gst/level/gstlevel.c:
Add GAP-flag support.

16 years agogst/rtp/gstrtph263depay.c: Read the I flag for Mode A h263 rtp stream and set the
Edward Hervey [Mon, 26 Nov 2007 12:01:11 +0000 (12:01 +0000)]
gst/rtp/gstrtph263depay.c: Read the I flag for Mode A h263 rtp stream and set the

Original commit message from CVS:
* gst/rtp/gstrtph263depay.c: (gst_rtp_h263_depay_process):
Read the I flag for Mode A h263 rtp stream and set the
GST_BUFFER_FLAG_DELTA_UNIT accordingly.
Fixes #499383

16 years agogst/spectrum/gstspectrum.c: Use dispose and finalize. Dispose can be called multiple...
Stefan Kost [Mon, 26 Nov 2007 10:08:20 +0000 (10:08 +0000)]
gst/spectrum/gstspectrum.c: Use dispose and finalize. Dispose can be called multiple times.

Original commit message from CVS:
* gst/spectrum/gstspectrum.c:
Use dispose and finalize. Dispose can be called multiple times.

16 years agogst/level/gstlevel.c: Remove some dead code and do cleanups.
Stefan Kost [Mon, 26 Nov 2007 10:04:49 +0000 (10:04 +0000)]
gst/level/gstlevel.c: Remove some dead code and do cleanups.

Original commit message from CVS:
* gst/level/gstlevel.c:
Remove some dead code and do cleanups.

16 years agotests/check/pipelines/simple-launch-lines.c: Improve the tests by allowing to set...
Stefan Kost [Mon, 26 Nov 2007 09:13:48 +0000 (09:13 +0000)]
tests/check/pipelines/simple-launch-lines.c: Improve the tests by allowing to set a target state.

Original commit message from CVS:
* tests/check/pipelines/simple-launch-lines.c:
Improve the tests by allowing to set a target state.

16 years agotests/check/elements/wavpackenc.c: Don't check the caps of the output buffer if they...
Sebastian Dröge [Mon, 26 Nov 2007 09:04:17 +0000 (09:04 +0000)]
tests/check/elements/wavpackenc.c: Don't check the caps of the output buffer if they're equal some other caps. The ca...

Original commit message from CVS:
* tests/check/elements/wavpackenc.c: (GST_START_TEST):
Don't check the caps of the output buffer if they're equal some
other caps. The caps can change in a backward compatible way
and did at this point.

16 years agogst/qtdemux/qtdemux.c: Implement reverse playback support.
Julien Moutte [Sat, 24 Nov 2007 14:55:04 +0000 (14:55 +0000)]
gst/qtdemux/qtdemux.c: Implement reverse playback support.

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

* gst/qtdemux/qtdemux.c: (gst_qtdemux_find_segment),
(gst_qtdemux_move_stream), (gst_qtdemux_do_seek),
(gst_qtdemux_seek_to_previous_keyframe),
(gst_qtdemux_activate_segment), (gst_qtdemux_advance_sample),
(gst_qtdemux_loop_state_movie), (gst_qtdemux_loop): Implement
reverse playback support.

16 years agogst/filter/: Post a GST_MESSAGE_LATENCY if the latency changes.
Sebastian Dröge [Wed, 21 Nov 2007 09:56:54 +0000 (09:56 +0000)]
gst/filter/: Post a GST_MESSAGE_LATENCY if the latency changes.

Original commit message from CVS:
* gst/filter/gstbpwsinc.c: (bpwsinc_set_property):
* gst/filter/gstlpwsinc.c: (lpwsinc_set_property):
Post a GST_MESSAGE_LATENCY if the latency changes.

16 years agogst/equalizer/: Remove preset iface again. We'll re-add this after its been released...
Stefan Kost [Wed, 21 Nov 2007 08:21:10 +0000 (08:21 +0000)]
gst/equalizer/: Remove preset iface again. We'll re-add this after its been released in -good.

Original commit message from CVS:
* gst/equalizer/gstiirequalizer10bands.c:
* gst/equalizer/gstiirequalizer3bands.c:
Remove preset iface again. We'll re-add this after its been released
in -good.

16 years agoext/wavpack/gstwavpackcommon.c: Also set the channel layout on the Wavpack caps if...
Sebastian Dröge [Tue, 20 Nov 2007 13:14:40 +0000 (13:14 +0000)]
ext/wavpack/gstwavpackcommon.c: Also set the channel layout on the Wavpack caps if we're having a mono layout. Of cou...

Original commit message from CVS:
* ext/wavpack/gstwavpackcommon.c: (gst_wavpack_set_channel_layout):
Also set the channel layout on the Wavpack caps if we're having
a mono layout. Of course only do it for "audio/x-wavpack".

16 years agoext/wavpack/: Add support for encoding, parsing and decoding multichannel files with...
Sebastian Dröge [Tue, 20 Nov 2007 13:08:45 +0000 (13:08 +0000)]
ext/wavpack/: Add support for encoding, parsing and decoding multichannel files with up to 8 channels. This also impr...

Original commit message from CVS:
* ext/wavpack/gstwavpackcommon.c:
(gst_wavpack_get_default_channel_mask),
(gst_wavpack_set_channel_layout),
(gst_wavpack_get_default_channel_positions),
(gst_wavpack_get_channel_mask_from_positions),
(gst_wavpack_set_channel_mapping):
* ext/wavpack/gstwavpackcommon.h:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_reset),
(gst_wavpack_dec_sink_set_caps), (gst_wavpack_dec_chain):
* ext/wavpack/gstwavpackdec.h:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_reset),
(gst_wavpack_enc_init), (gst_wavpack_enc_sink_set_caps),
(gst_wavpack_enc_set_wp_config), (gst_wavpack_enc_push_block),
(gst_wavpack_enc_fix_channel_order), (gst_wavpack_enc_chain),
(gst_wavpack_enc_rewrite_first_block),
(gst_wavpack_enc_sink_event):
* ext/wavpack/gstwavpackenc.h:
* ext/wavpack/gstwavpackparse.c:
(gst_wavpack_parse_index_append_entry), (gst_wavpack_parse_reset),
(gst_wavpack_parse_scan_to_find_sample),
(gst_wavpack_parse_sink_event), (gst_wavpack_parse_create_src_pad),
(gst_wavpack_parse_push_buffer), (gst_wavpack_parse_loop):
* ext/wavpack/gstwavpackparse.h:
Add support for encoding, parsing and decoding multichannel
files with up to 8 channels. This also improves the robustness
of parsing quite a bit.
* ext/wavpack/gstwavpackstreamreader.c:
(gst_wavpack_stream_reader_read_bytes),
(gst_wavpack_stream_reader_get_pos),
(gst_wavpack_stream_reader_set_pos_abs),
(gst_wavpack_stream_reader_set_pos_rel),
(gst_wavpack_stream_reader_push_back_byte),
(gst_wavpack_stream_reader_get_length),
(gst_wavpack_stream_reader_can_seek),
(gst_wavpack_stream_reader_write_bytes):
Improve debugging.

16 years agoext/libpng/gstpngdec.*: Don't release the png-memory from within the callback.
Stefan Kost [Tue, 20 Nov 2007 12:20:38 +0000 (12:20 +0000)]
ext/libpng/gstpngdec.*: Don't release the png-memory from within the callback.

Original commit message from CVS:
* ext/libpng/gstpngdec.c:
* ext/libpng/gstpngdec.h:
Don't release the png-memory from within the callback.

16 years agoext/libpng/gstpngenc.c: Don't leak buffer data memory. Fixes #498395.
René Stadler [Tue, 20 Nov 2007 12:11:13 +0000 (12:11 +0000)]
ext/libpng/gstpngenc.c: Don't leak buffer data memory. Fixes #498395.

Original commit message from CVS:
Patch by: René Stadler <mail at renestadler dot de>
* ext/libpng/gstpngenc.c:
Don't leak buffer data memory. Fixes #498395.

16 years agotests/check/pipelines/simple-launch-lines.c: Tests for #498395.
René Stadler [Tue, 20 Nov 2007 11:46:28 +0000 (11:46 +0000)]
tests/check/pipelines/simple-launch-lines.c: Tests for #498395.

Original commit message from CVS:
Patch by: René Stadler <mail at renestadler dot de>
* tests/check/pipelines/simple-launch-lines.c:
Tests for #498395.

16 years agoFix build on Mac OS X 10.5
Julien Moutte [Tue, 20 Nov 2007 11:41:13 +0000 (11:41 +0000)]
Fix build on Mac OS X 10.5

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

* ext/taglib/gsttaglibmux.c: (gst_tag_lib_mux_render_tag),
(gst_tag_lib_mux_adjust_event_offsets):
* gst/qtdemux/qtdemux.c: (qtdemux_parse_theora_extension):
* sys/osxaudio/Makefile.am:
* sys/osxvideo/cocoawindow.h:
* sys/osxvideo/cocoawindow.m: Fix build on Mac OS X 10.5

16 years agogst/equalizer/: Activate preset iface and upload two presets here.
Stefan Kost [Mon, 19 Nov 2007 20:30:19 +0000 (20:30 +0000)]
gst/equalizer/: Activate preset iface and upload two presets here.

Original commit message from CVS:
* gst/equalizer/gstiirequalizer10bands.c:
* gst/equalizer/gstiirequalizer3bands.c:
Activate preset iface and upload two presets here.

17 years agoext/cairo/gsttextoverlay.c: Change strcasecmp() to g_strcasecmp(). Fixes #497292.
David Schleef [Fri, 16 Nov 2007 05:52:55 +0000 (05:52 +0000)]
ext/cairo/gsttextoverlay.c: Change strcasecmp() to g_strcasecmp().  Fixes #497292.

Original commit message from CVS:
* ext/cairo/gsttextoverlay.c:
Change strcasecmp() to g_strcasecmp().  Fixes #497292.

17 years agogst/rtp/gstrtpmp2tpay.*: Fill the MTU with as many packets as possible. Fixes #491323.
Jordi Jaen Pallares [Thu, 15 Nov 2007 18:19:19 +0000 (18:19 +0000)]
gst/rtp/gstrtpmp2tpay.*: Fill the MTU with as many packets as possible. Fixes #491323.

Original commit message from CVS:
Patch by: Jordi Jaen Pallares <jordijp at gmail dot com>
* gst/rtp/gstrtpmp2tpay.c: (gst_rtp_mp2t_pay_class_init),
(gst_rtp_mp2t_pay_init), (gst_rtp_mp2t_pay_finalize),
(gst_rtp_mp2t_pay_flush), (gst_rtp_mp2t_pay_handle_buffer):
* gst/rtp/gstrtpmp2tpay.h:
Fill the MTU with as many packets as possible. Fixes #491323.

17 years agogst/rtsp/gstrtspsrc.c: Fix some more leaks. Fixes #497007.
Tommi Myöhänen [Thu, 15 Nov 2007 17:47:43 +0000 (17:47 +0000)]
gst/rtsp/gstrtspsrc.c: Fix some more leaks. Fixes #497007.

Original commit message from CVS:
Patch by: Tommi Myöhänen  <ext-tommi dot myohanen at nokia dot com>
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_setup_streams):
Fix some more leaks. Fixes #497007.

17 years agogst/rtsp/gstrtspsrc.c: Fix 3 pad leaks. Fixes #496983.
Tommi Myöhänen [Thu, 15 Nov 2007 17:35:18 +0000 (17:35 +0000)]
gst/rtsp/gstrtspsrc.c: Fix 3 pad leaks. Fixes #496983.

Original commit message from CVS:
Patch by: Tommi Myöhänen  <ext-tommi dot myohanen at nokia dot com>
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_stream_free),
(gst_rtspsrc_stream_configure_tcp):
Fix 3 pad leaks. Fixes #496983.

17 years agoAdded HTTP source based on libsoup. Fixes #497020.
Wouter Cloetens [Thu, 15 Nov 2007 17:26:25 +0000 (17:26 +0000)]
Added HTTP source based on libsoup. Fixes #497020.

Original commit message from CVS:
Patch by: Wouter Cloetens <wouter at mind dot be>
* configure.ac:
* ext/Makefile.am:
* ext/soup/Makefile.am:
* ext/soup/gstsouphttpsrc.c: (_do_init),
(gst_souphttp_src_base_init), (gst_souphttp_src_class_init),
(gst_souphttp_src_init), (gst_souphttp_src_dispose),
(gst_souphttp_src_set_property), (gst_souphttp_src_get_property),
(gst_souphttp_src_create), (gst_souphttp_src_start),
(gst_souphttp_src_stop), (gst_souphttp_src_unlock),
(gst_souphttp_src_set_location), (soup_got_chunk), (soup_response),
(soup_session_close), (plugin_init):
* ext/soup/gstsouphttpsrc.h:
Added HTTP source based on libsoup. Fixes #497020.

17 years agogst/rtp/gstrtph264depay.c: Fix small leak. Fixes #497017.
Tommi Myöhänen [Thu, 15 Nov 2007 17:01:32 +0000 (17:01 +0000)]
gst/rtp/gstrtph264depay.c: Fix small leak. Fixes #497017.

Original commit message from CVS:
Patch by: Tommi Myöhänen  <ext-tommi dot myohanen at nokia dot com>
* gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_setcaps):
Fix small leak. Fixes #497017.

17 years agogst/qtdemux/: Add suppport for theora in quicktime according to XiphQT.
Wim Taymans [Thu, 15 Nov 2007 16:31:32 +0000 (16:31 +0000)]
gst/qtdemux/: Add suppport for theora in quicktime according to XiphQT.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state),
(gst_qtdemux_prepare_current_sample),
(gst_qtdemux_loop_state_movie), (qtdemux_parse_theora_extension),
(qtdemux_parse_node), (qtdemux_parse_trak), (qtdemux_video_caps):
* gst/qtdemux/qtdemux_fourcc.h:
* gst/qtdemux/qtdemux_types.c:
Add suppport for theora in quicktime according to XiphQT.

17 years agoAlways copy buffers by default (handle safer with bugged drivers) and added a propert...
Edgard Lima [Thu, 15 Nov 2007 12:22:10 +0000 (12:22 +0000)]
Always copy buffers by default (handle safer with bugged drivers) and added a property to make it possible to use mma...

Original commit message from CVS:
Always copy buffers by default (handle safer with bugged drivers) and added a property to make it possible to use mmap effectively (no copy if possible) when application wants to. Fixes: #480557.

17 years agogst/id3demux/: We don't want the same string multiple times in a tag list for the...
Tim-Philipp Müller [Wed, 14 Nov 2007 21:39:47 +0000 (21:39 +0000)]
gst/id3demux/: We don't want the same string multiple times in a tag list for the same tag ever, for any tag, not jus...

Original commit message from CVS:
* gst/id3demux/id3tags.c:
* gst/id3demux/id3tags.h:
* gst/id3demux/id3v2frames.c: (id3v2_tag_to_taglist):
We don't want the same string multiple times in a tag list for the
same tag ever, for any tag, not just for GST_TAG_GENRE, so make sure
this doesn't happen and remove special-case code for GST_TAG_GENRE.

17 years agoext/taglib/gstid3v2mux.cc: Write GST_TAG_MUSICBRAINZ_DISCID and GST_TAG_CDDA_CDDB_DIS...
Tim-Philipp Müller [Wed, 14 Nov 2007 21:04:12 +0000 (21:04 +0000)]
ext/taglib/gstid3v2mux.cc: Write GST_TAG_MUSICBRAINZ_DISCID and GST_TAG_CDDA_CDDB_DISCID into ID3v2 TXXX frames (fixe...

Original commit message from CVS:
* ext/taglib/gstid3v2mux.cc: (add_musicbrainz_tag), (add_funcs):
Write GST_TAG_MUSICBRAINZ_DISCID and GST_TAG_CDDA_CDDB_DISCID
into ID3v2 TXXX frames (fixes #347848).

17 years agogst/rtsp/gstrtspsrc.c: Don't leak sdp message contents (fixes #496773).
Tim-Philipp Müller [Wed, 14 Nov 2007 20:34:24 +0000 (20:34 +0000)]
gst/rtsp/gstrtspsrc.c: Don't leak sdp message contents (fixes #496773).

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_open):
Don't leak sdp message contents (fixes #496773).
* gst/udp/gstudpsink.c: (gst_udpsink_finalize):
Don't leak URI string.

17 years agoext/raw1394/: Implement GstPropertyProbe interface and add "device-name" property...
Julien Puydt [Wed, 14 Nov 2007 19:10:37 +0000 (19:10 +0000)]
ext/raw1394/: Implement GstPropertyProbe interface and add "device-name" property, so applications can use this to pr...

Original commit message from CVS:
Patch by: Julien Puydt <julien dot puydt at laposte net>
* ext/raw1394/Makefile.am:
* ext/raw1394/gst1394probe.c: (gst_1394_get_guid_array),
(gst_1394_property_probe_get_properties),
(gst_1394_property_probe_probe_property),
(gst_1394_property_probe_needs_probe),
(gst_1394_property_probe_get_values),
(gst_1394_property_probe_interface_init),
(gst_1394_type_add_property_probe_interface):
* ext/raw1394/gst1394probe.h: (GST_1394_PROBE_H):
* ext/raw1394/gstdv1394src.c: (_do_init), (gst_dv1394src_class_init),
(gst_dv1394src_init), (gst_dv1394src_dispose),
(gst_dv1394src_set_property), (gst_dv1394src_get_property),
(gst_dv1394src_discover_avc_node), (gst_dv1394src_query),
(gst_dv1394src_update_device_name):
* ext/raw1394/gstdv1394src.h:
Implement GstPropertyProbe interface and add "device-name" property,
so applications can use this to probe for available devices in the
same way they can already with v4lsrc and v4l2src (however horrible
this property probe interface may be). Fixes #358841.

17 years agotests/check/elements/spectrum.c: Fix spectrum unit test for the latest spectrum changes.
Sebastian Dröge [Wed, 14 Nov 2007 17:03:18 +0000 (17:03 +0000)]
tests/check/elements/spectrum.c: Fix spectrum unit test for the latest spectrum changes.

Original commit message from CVS:
* tests/check/elements/spectrum.c: (GST_START_TEST):
Fix spectrum unit test for the latest spectrum changes.

17 years agogst/rtsp/gstrtspsrc.c: Don't leak event, don't leak range (fixes #496752).
Tommi Myöhänen [Wed, 14 Nov 2007 15:29:05 +0000 (15:29 +0000)]
gst/rtsp/gstrtspsrc.c: Don't leak event, don't leak range (fixes #496752).

Original commit message from CVS:
Patch by: Tommi Myöhänen  <ext-tommi dot myohanen at nokia dot com>
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_handle_src_event),
(gst_rtspsrc_parse_range):
Don't leak event, don't leak range (fixes #496752).

17 years agogst/alpha/gstalphacolor.c: Detect RGBA/BGRA correctly on little endian systems.
Arek Korbik [Wed, 14 Nov 2007 10:22:41 +0000 (10:22 +0000)]
gst/alpha/gstalphacolor.c: Detect RGBA/BGRA correctly on little endian systems.

Original commit message from CVS:
Patch by: Arek Korbik <arkadini@gmail.com>

* gst/alpha/gstalphacolor.c: (gst_alpha_color_set_caps):
Detect RGBA/BGRA correctly on little endian systems.

17 years agosys/v4l2/v4l2src_calls.c: but the corresponding ioctl() call fails even though the...
Tim-Philipp Müller [Tue, 13 Nov 2007 17:19:13 +0000 (17:19 +0000)]
sys/v4l2/v4l2src_calls.c: but the corresponding ioctl() call fails even though the driver claims to support this form...

Original commit message from CVS:
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_probe_caps_for_format):
If VIDIOC_ENUM_FRAMESIZES is defined (= recent kernel), but the
corresponding ioctl() call fails even though the driver claims to
support this format, just fall back to the pre-2.6.19 kernel
routine that creates caps with suitable height and width ranges
(see #448278).

17 years agogst/matroska/: Extract palette data for dvd subpicture streams and send it downstream...
Mark Nauwelaerts [Tue, 13 Nov 2007 17:01:07 +0000 (17:01 +0000)]
gst/matroska/: Extract palette data for dvd subpicture streams and send it downstream as custom gstreamer dvd event (...

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw skynet be>
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_push_dvd_clut_change_event),
(gst_matroska_demux_parse_blockgroup_or_simpleblock),
(gst_matroska_demux_subtitle_caps):
* gst/matroska/matroska-ids.h:
Extract palette data for dvd subpicture streams and send it
downstream as custom gstreamer dvd event (fixes #453417).

17 years agoext/cairo/gsttextoverlay.c: Implement minimal parsing of the passed pango font descri...
Tim-Philipp Müller [Tue, 13 Nov 2007 14:51:30 +0000 (14:51 +0000)]
ext/cairo/gsttextoverlay.c: Implement minimal parsing of the passed pango font description string, so passing a font ...

Original commit message from CVS:
* ext/cairo/gsttextoverlay.c: (gst_text_overlay_font_init):
Implement minimal parsing of the passed pango font description
string, so passing a font size works the same as with the
pango textoverlay plugin; fixes #455086.
(Maybe we could just use pangocairo here at some point).

17 years agogst/: Return the result in _activate_pull(). Don't ref element there.
Stefan Kost [Tue, 13 Nov 2007 06:55:28 +0000 (06:55 +0000)]
gst/: Return the result in _activate_pull(). Don't ref element there.

Original commit message from CVS:
* gst/avi/gstavidemux.c:
* gst/wavparse/gstwavparse.c:
Return the result in _activate_pull(). Don't ref element there.

17 years agogst/wavparse/gstwavparse.c: Ref the element when we should, but not when we its not...
Stefan Kost [Tue, 13 Nov 2007 06:23:51 +0000 (06:23 +0000)]
gst/wavparse/gstwavparse.c: Ref the element when we should, but not when we its not needed. Reflow the event_handling...

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_stream_headers),
(gst_wavparse_pad_convert), (gst_wavparse_pad_query),
(gst_wavparse_srcpad_event):
Ref the element when we should, but not when we its not needed. Reflow
the event_handling to not leak the event.

17 years agogst/replaygain/rganalysis.c: Avoid slowdown from denormals when processing near-silen...
René Stadler [Mon, 12 Nov 2007 21:07:31 +0000 (21:07 +0000)]
gst/replaygain/rganalysis.c: Avoid slowdown from denormals when processing near-silence input data.

Original commit message from CVS:
Patch by: René Stadler <mail at renestadler dot de>
* gst/replaygain/rganalysis.c: (yule_filter):
Avoid slowdown from denormals when processing near-silence input data.
Spotted by Gabriel Bouvigne. Fixes #494499.

17 years agogst/qtdemux/qtdemux.c: Properly free QTDemuxSamples array.
Edward Hervey [Mon, 12 Nov 2007 17:59:40 +0000 (17:59 +0000)]
gst/qtdemux/qtdemux.c: Properly free QTDemuxSamples array.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state),
(qtdemux_parse_samples):
Properly free QTDemuxSamples array.
Protect table write with a sensible check, some files apparently DO contain
stts values starting with 0 :(

17 years agogst/: Drop EOS in _handle_src_event(). Fix the refcount in qtdemux that previous...
Stefan Kost [Mon, 12 Nov 2007 17:21:59 +0000 (17:21 +0000)]
gst/: Drop EOS in _handle_src_event(). Fix the refcount in qtdemux that previous commit messed up.

Original commit message from CVS:
* gst/avi/gstavidemux.c:
* gst/qtdemux/qtdemux.c:
Drop EOS in _handle_src_event(). Fix the refcount in qtdemux that
previous commit messed up.

17 years agogst/: Sync _handle_src_event() with oggdemux. In avidemux also ref the element when...
Stefan Kost [Mon, 12 Nov 2007 17:06:32 +0000 (17:06 +0000)]
gst/: Sync _handle_src_event() with oggdemux. In avidemux also ref the element when we should, but not when we its no...

Original commit message from CVS:
* gst/avi/gstavidemux.c:
* gst/qtdemux/qtdemux.c:
Sync _handle_src_event() with oggdemux. In avidemux also ref the
element when we should, but not when we its not needed.

17 years agogst/: Change the meaning of the magnitude values given in the
Sebastian Dröge [Sun, 11 Nov 2007 21:12:10 +0000 (21:12 +0000)]
gst/: Change the meaning of the magnitude values given in the

Original commit message from CVS:
* gst/equalizer/demo.c: (draw_spectrum):
* gst/spectrum/demo-audiotest.c: (draw_spectrum):
* gst/spectrum/demo-osssrc.c: (draw_spectrum):
* gst/spectrum/gstspectrum.c: (gst_spectrum_class_init):
Change the meaning of the magnitude values given in the
GstMessages by spectrum to decibel instead of
decibel+threshold.

17 years agogst/equalizer/: And continue to update docs. Also include some sample code for the...
Sebastian Dröge [Sun, 11 Nov 2007 13:55:27 +0000 (13:55 +0000)]
gst/equalizer/: And continue to update docs. Also include some sample code for the n-band equalizer in the docs.

Original commit message from CVS:
* gst/equalizer/gstiirequalizer10bands.c:
* gst/equalizer/gstiirequalizer3bands.c:
* gst/equalizer/gstiirequalizernbands.c:
And continue to update docs. Also include some sample code
for the n-band equalizer in the docs.

17 years agogst/equalizer/: Update docs and property ranges to the real values.
Sebastian Dröge [Sun, 11 Nov 2007 12:54:31 +0000 (12:54 +0000)]
gst/equalizer/: Update docs and property ranges to the real values.

Original commit message from CVS:
* gst/equalizer/gstiirequalizer10bands.c:
(gst_iir_equalizer_10bands_class_init):
* gst/equalizer/gstiirequalizer3bands.c:
(gst_iir_equalizer_3bands_class_init):
* gst/equalizer/gstiirequalizernbands.c:
Update docs and property ranges to the real values.

17 years agogst/spectrum/gstspectrum.c: Now do the scaling right for real. Also initialize a...
Sebastian Dröge [Fri, 9 Nov 2007 17:27:00 +0000 (17:27 +0000)]
gst/spectrum/gstspectrum.c: Now do the scaling right for real. Also initialize a previously uninitialized variable.

Original commit message from CVS:
* gst/spectrum/gstspectrum.c:
Now do the scaling right for real. Also initialize a previously
uninitialized variable.

17 years agogst/equalizer/demo.c: Make default volume a bit less. Improve layout by giving more...
Stefan Kost [Thu, 8 Nov 2007 15:56:46 +0000 (15:56 +0000)]
gst/equalizer/demo.c: Make default volume a bit less. Improve layout by giving more space to the slider with big-numb...

Original commit message from CVS:
* gst/equalizer/demo.c:
Make default volume a bit less. Improve layout by giving more space to
the slider with big-numbers and enable fill.

17 years agogst/wavparse/gstwavparse.c: Return FALSE if we can't handle a query instead of changi...
Stefan Kost [Thu, 8 Nov 2007 15:00:40 +0000 (15:00 +0000)]
gst/wavparse/gstwavparse.c: Return FALSE if we can't handle a query instead of changing the format. Ignore fact when ...

Original commit message from CVS:
* gst/wavparse/gstwavparse.c:
Return FALSE if we can't handle a query instead of changing the
format. Ignore fact when dealing with mpeg audio.

17 years agogst/spectrum/demo-audiotest.c: Use autoaudiosink instead of alsasink and use a sine...
Sebastian Dröge [Tue, 6 Nov 2007 12:23:35 +0000 (12:23 +0000)]
gst/spectrum/demo-audiotest.c: Use autoaudiosink instead of alsasink and use a sine wave.

Original commit message from CVS:
* gst/spectrum/demo-audiotest.c: (main):
Use autoaudiosink instead of alsasink and use a sine wave.
* gst/spectrum/gstspectrum.c:
Fix the magnitude calculation.

17 years agogst/equalizer/: Allow setting 0 as bandwidth and handle this correctly.
Sebastian Dröge [Sat, 3 Nov 2007 19:50:11 +0000 (19:50 +0000)]
gst/equalizer/: Allow setting 0 as bandwidth and handle this correctly.

Original commit message from CVS:
* gst/equalizer/demo.c: (main):
* gst/equalizer/gstiirequalizer.c:
(gst_iir_equalizer_band_class_init), (setup_filter):
Allow setting 0 as bandwidth and handle this correctly.
Also handle a bandwidth of rate/2 properly.
* gst/equalizer/gstiirequalizernbands.c:
(gst_iir_equalizer_nbands_class_init):
Make it possible to generate a N-band equalizer with 1 bands. The
previous limit of 2 was caused by a nowadays replaced calculation
doing a division by zero if number of bands was 1.

17 years agoFix includes for MSVC and GLib-2.14.0 (#492388).
Ole André Vadla Ravnås [Fri, 2 Nov 2007 21:16:09 +0000 (21:16 +0000)]
Fix includes for MSVC and GLib-2.14.0 (#492388).

Original commit message from CVS:
Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
* configure.ac:
* gst/udp/gstdynudpsink.c:
* gst/udp/gstdynudpsink.h:
* gst/udp/gstmultiudpsink.c:
* gst/udp/gstmultiudpsink.h:
* gst/udp/gstudpsink.c:
* gst/udp/gstudpsink.h:
Fix includes for MSVC and GLib-2.14.0 (#492388).
* gst/udp/gstudpsrc.c: (gst_udpsrc_start):
No more pipe define since GLib-2.14.0, need to use _pipe() directly.

17 years agogst/law/mulaw-decode.*: Calculate outgoing buffer duration if incoming buffer didn...
Edward Hervey [Fri, 2 Nov 2007 17:23:43 +0000 (17:23 +0000)]
gst/law/mulaw-decode.*: Calculate outgoing buffer duration if incoming buffer didn't have a valid duration.

Original commit message from CVS:
* gst/law/mulaw-decode.c: (mulawdec_sink_setcaps),
(gst_mulawdec_chain):
* gst/law/mulaw-decode.h:
Calculate outgoing buffer duration if incoming buffer didn't have a
valid duration.

17 years agogst/equalizer/: Add small demo application based on the spectrum demo applications...
Sebastian Dröge [Tue, 30 Oct 2007 21:37:49 +0000 (21:37 +0000)]
gst/equalizer/: Add small demo application based on the spectrum demo applications that gets white noise as input, pu...

Original commit message from CVS:
* gst/equalizer/Makefile.am:
* gst/equalizer/demo.c: (on_window_destroy), (on_configure_event),
(on_gain_changed), (on_bandwidth_changed), (on_freq_changed),
(draw_spectrum), (message_handler), (main):
Add small demo application based on the spectrum demo applications
that gets white noise as input, pushes it through an equalizer and
paints the spectrum. For every equalizer band it's possible to set
gain, bandwidth and frequency.
* gst/equalizer/gstiirequalizer.c: (setup_filter):
Add some guarding against too large or too small frequencies and
bandwidths. Also improve debugging a bit.