platform/upstream/gst-plugins-good.git
16 years agotests/check/Makefile.am: Fix up some CFLAGS sets.
Jan Schmidt [Mon, 21 Jan 2008 19:41:45 +0000 (19:41 +0000)]
tests/check/Makefile.am: Fix up some CFLAGS sets.

Original commit message from CVS:
* tests/check/Makefile.am:
Fix up some CFLAGS sets.
Don't include gconfvideosrc in the states test.
* tests/check/elements/autodetect.c: (GST_START_TEST):
Add some error strings to fail_unless arguments to fix some weird
compiler errors on Solaris.

16 years agoconfigure.ac: Detect video4linux headers on Solaris too.
Brian Cameron [Mon, 21 Jan 2008 19:35:58 +0000 (19:35 +0000)]
configure.ac: Detect video4linux headers on Solaris too.

Original commit message from CVS:
* configure.ac:
Detect video4linux headers on Solaris too.
* sys/v4l2/gstv4l2colorbalance.h:
* sys/v4l2/gstv4l2object.h:
* sys/v4l2/v4l2_calls.c:
* sys/v4l2/v4l2src_calls.c: (gst_v4l2_buffer_finalize),
(gst_v4l2_buffer_new):
Make v4l2 build on Solaris.
Patch by: Brian Cameron  <brian.cameron at sun dot com>
Fixes: #510505
16 years agodocs/plugins/gst-plugins-good-plugins-docs.sgml: Update list from (still local) scann...
Stefan Kost [Mon, 21 Jan 2008 11:46:19 +0000 (11:46 +0000)]
docs/plugins/gst-plugins-good-plugins-docs.sgml: Update list from (still local) scanning script.

Original commit message from CVS:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
Update list from (still local) scanning script.

16 years agodocs/plugins/: Add symbols from -unused.txt to the right place.
Stefan Kost [Mon, 21 Jan 2008 09:57:07 +0000 (09:57 +0000)]
docs/plugins/: Add symbols from -unused.txt to the right place.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
Add symbols from -unused.txt to the right place.
* gst/dvdspu/gstdvdspu.c:
* gst/dvdspu/gstdvdspu.h:
Coherent namespace usage.
* gst/spectrum/gstspectrum.c:
Fix broken XML fragment in doc snippet even more.

16 years agodocs/plugins/Makefile.am: Update include list.
Stefan Kost [Mon, 21 Jan 2008 07:54:02 +0000 (07:54 +0000)]
docs/plugins/Makefile.am: Update include list.

Original commit message from CVS:
* docs/plugins/Makefile.am:
Update include list.
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
Update xml includes.
* docs/plugins/inspect/plugin-alsaspdif.xml:
* docs/plugins/inspect/plugin-amrwb.xml:
* docs/plugins/inspect/plugin-bayer.xml:
* docs/plugins/inspect/plugin-bz2.xml:
* docs/plugins/inspect/plugin-cdxaparse.xml:
* docs/plugins/inspect/plugin-dtsdec.xml:
* docs/plugins/inspect/plugin-dvbsrc.xml:
* docs/plugins/inspect/plugin-dvdspu.xml:
* docs/plugins/inspect/plugin-equalizer.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-gstinterlace.xml:
* docs/plugins/inspect/plugin-gstrtpmanager.xml:
* docs/plugins/inspect/plugin-h264parse.xml:
* docs/plugins/inspect/plugin-interleave.xml:
* docs/plugins/inspect/plugin-ladspa.xml:
* docs/plugins/inspect/plugin-metadata.xml:
* docs/plugins/inspect/plugin-modplug.xml:
* docs/plugins/inspect/plugin-mpeg4videoparse.xml:
* docs/plugins/inspect/plugin-mpegtsparse.xml:
* docs/plugins/inspect/plugin-mpegvideoparse.xml:
* docs/plugins/inspect/plugin-musicbrainz.xml:
* docs/plugins/inspect/plugin-mve.xml:
* docs/plugins/inspect/plugin-nsfdec.xml:
* docs/plugins/inspect/plugin-nuvdemux.xml:
* docs/plugins/inspect/plugin-qtdemux.xml:
* docs/plugins/inspect/plugin-quicktime.xml:
* docs/plugins/inspect/plugin-real.xml:
* docs/plugins/inspect/plugin-replaygain.xml:
* docs/plugins/inspect/plugin-sdl.xml:
* docs/plugins/inspect/plugin-sdp.xml:
* docs/plugins/inspect/plugin-spectrum.xml:
* docs/plugins/inspect/plugin-speed.xml:
* docs/plugins/inspect/plugin-speexresample.xml:
* docs/plugins/inspect/plugin-stereo.xml:
* docs/plugins/inspect/plugin-switch.xml:
* docs/plugins/inspect/plugin-timidity.xml:
* docs/plugins/inspect/plugin-tta.xml:
* docs/plugins/inspect/plugin-videocrop.xml:
* docs/plugins/inspect/plugin-videoparse.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-xingheader.xml:
* docs/plugins/inspect/plugin-xvid.xml:
* docs/plugins/inspect/plugin-y4menc.xml:
Regenerate files.
* gst/spectrum/gstspectrum.c:
Fix broken XML fragment in doc snippet.
* tests/check/elements/.cvsignore:
Add test binary to ignores.

16 years agoext/soup/gstsouphttpsrc.c: Report the size of the stream as the total size instead...
Wouter Cloetens [Sun, 20 Jan 2008 05:07:52 +0000 (05:07 +0000)]
ext/soup/gstsouphttpsrc.c: Report the size of the stream as the total size instead of the remaining Content-Length, w...

Original commit message from CVS:
Patch by: Wouter Cloetens <wouter at mind dot be>
* ext/soup/gstsouphttpsrc.c: (soup_got_headers):
Report the size of the stream as the total size instead of
the remaining Content-Length, which is wrong after a seek.

16 years agoAdd bug number to the latest entry
Sebastian Dröge [Sat, 19 Jan 2008 14:59:08 +0000 (14:59 +0000)]
Add bug number to the latest entry

Original commit message from CVS:
Add bug number to the latest entry

16 years agogst/wavparse/gstwavparse.c: Set variable to NULL after freeing it to prevent double...
Sebastian Dröge [Sat, 19 Jan 2008 14:53:58 +0000 (14:53 +0000)]
gst/wavparse/gstwavparse.c: Set variable to NULL after freeing it to prevent double frees or make failures by another...

Original commit message from CVS:
Based on a patch by:
Victor STINNER <victor dot stinner at haypocalc dot com>
* gst/wavparse/gstwavparse.c: (gst_wavparse_stream_headers):
Set variable to NULL after freeing it to prevent double frees
or make failures by another use of it afterwards more obvious
and fix use of it after the freeing.

16 years agoext/soup/gstsouphttpsrc.c: Correctly set duration on the GstBaseSrc segment when...
Wouter Cloetens [Sat, 19 Jan 2008 14:34:50 +0000 (14:34 +0000)]
ext/soup/gstsouphttpsrc.c: Correctly set duration on the GstBaseSrc segment when we know it to fix failing the durati...

Original commit message from CVS:
Patch by: Wouter Cloetens <wouter at mind dot be>
* ext/soup/gstsouphttpsrc.c: (soup_got_headers):
Correctly set duration on the GstBaseSrc segment when we know it
to fix failing the duration query.

16 years agogst/udp/gstmultiudpsink.c: use GST_WARNING for logging
Thijs Vermeir [Fri, 18 Jan 2008 13:40:38 +0000 (13:40 +0000)]
gst/udp/gstmultiudpsink.c: use GST_WARNING for logging

Original commit message from CVS:
* gst/udp/gstmultiudpsink.c:
use GST_WARNING for logging

16 years agogst/multifile/gstmultifilesrc.c: Fix memory leak spotted by the unit test.
Sebastian Dröge [Fri, 18 Jan 2008 10:05:53 +0000 (10:05 +0000)]
gst/multifile/gstmultifilesrc.c: Fix memory leak spotted by the unit test.

Original commit message from CVS:
* gst/multifile/gstmultifilesrc.c: (gst_multi_file_src_create):
Fix memory leak spotted by the unit test.

16 years agogst/udp/gstmultiudpsink.c: Don't try to leave a multicast group with an invalid socket
Thijs Vermeir [Fri, 18 Jan 2008 10:04:25 +0000 (10:04 +0000)]
gst/udp/gstmultiudpsink.c: Don't try to leave a multicast group with an invalid socket

Original commit message from CVS:
* gst/udp/gstmultiudpsink.c:
Don't try to leave a multicast group with an invalid socket

16 years agotests/check/: Add some minimal tests for the equalizer plugin.
Sebastian Dröge [Fri, 18 Jan 2008 08:49:59 +0000 (08:49 +0000)]
tests/check/: Add some minimal tests for the equalizer plugin.

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/equalizer.c: (setup_equalizer),
(cleanup_equalizer), (GST_START_TEST), (equalizer_suite), (main):
Add some minimal tests for the equalizer plugin.

16 years agogst/equalizer/gstiirequalizer.c: Unparent all bands from the equalizer when finalizin...
Sebastian Dröge [Fri, 18 Jan 2008 07:03:23 +0000 (07:03 +0000)]
gst/equalizer/gstiirequalizer.c: Unparent all bands from the equalizer when finalizing to stop leaking them.

Original commit message from CVS:
* gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_finalize):
Unparent all bands from the equalizer when finalizing to stop
leaking them.

16 years agoext/soup/gstsouphttpsrc.c: Add support for WebDAV.
Sebastian Dröge [Fri, 18 Jan 2008 05:32:26 +0000 (05:32 +0000)]
ext/soup/gstsouphttpsrc.c: Add support for WebDAV.

Original commit message from CVS:
* ext/soup/gstsouphttpsrc.c: (gst_souphttp_src_uri_get_protocols):
Add support for WebDAV.

16 years agoext/soup/gstsouphttpsrc.*: Add support for seeking to souphttpsrc. Fixes bug #502335.
Wouter Cloetens [Fri, 18 Jan 2008 05:24:39 +0000 (05:24 +0000)]
ext/soup/gstsouphttpsrc.*: Add support for seeking to souphttpsrc. Fixes bug #502335.

Original commit message from CVS:
Patch by: Wouter Cloetens <wouter at mind dot be>
* ext/soup/gstsouphttpsrc.c: (gst_souphttp_src_class_init),
(gst_souphttp_src_init), (gst_souphttp_src_create),
(gst_souphttp_src_is_seekable), (gst_souphttp_src_do_seek),
(soup_add_range_header), (soup_got_headers), (soup_got_chunk):
* ext/soup/gstsouphttpsrc.h:
Add support for seeking to souphttpsrc. Fixes bug #502335.

16 years agoext/flac/gstflacdec.c: where the picture metadata defines and structs don't exist...
Tim-Philipp Müller [Thu, 17 Jan 2008 21:23:32 +0000 (21:23 +0000)]
ext/flac/gstflacdec.c: where the picture metadata defines and structs don't exist yet.

Original commit message from CVS:
* ext/flac/gstflacdec.c:
Fix compilation against flac 1.1.2 (as on debian stable), where
the picture metadata defines and structs don't exist yet.
Fixes #509301.

16 years agogst/udp/gstmultiudpsink.*: Add property to automatically join a multicast group or...
Olivier Crete [Thu, 17 Jan 2008 11:13:16 +0000 (11:13 +0000)]
gst/udp/gstmultiudpsink.*: Add property to automatically join a multicast group or not. This can be useful when shari...

Original commit message from CVS:
Patch by: Olivier Crete <tester at tester dot ca>
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_class_init),
(gst_multiudpsink_init), (gst_multiudpsink_set_property),
(gst_multiudpsink_get_property), (gst_multiudpsink_init_send),
(gst_multiudpsink_add_internal), (gst_multiudpsink_remove):
* gst/udp/gstmultiudpsink.h:
Add property to automatically join a multicast group or not. This can be
useful when sharing a socket between multiple elements.
Fixes #509531.

16 years agogst/videomixer/Makefile.am: Add controller flags.
Stefan Kost [Wed, 16 Jan 2008 21:53:41 +0000 (21:53 +0000)]
gst/videomixer/Makefile.am: Add controller flags.

Original commit message from CVS:
* gst/videomixer/Makefile.am:
Add controller flags.

16 years agogst/videomixer/videomixer.c: Also commit the missing gst_object_sync_values().
Stefan Kost [Wed, 16 Jan 2008 20:17:08 +0000 (20:17 +0000)]
gst/videomixer/videomixer.c: Also commit the missing gst_object_sync_values().

Original commit message from CVS:
* gst/videomixer/videomixer.c:
Also commit the missing gst_object_sync_values().

16 years agodocs/plugins/Makefile.am: Remove duplicate entry.
Stefan Kost [Wed, 16 Jan 2008 08:11:46 +0000 (08:11 +0000)]
docs/plugins/Makefile.am: Remove duplicate entry.

Original commit message from CVS:
* docs/plugins/Makefile.am:
Remove duplicate entry.

16 years agodocs/plugins/: Add 3 more plugins to docs.
Stefan Kost [Tue, 15 Jan 2008 16:52:10 +0000 (16:52 +0000)]
docs/plugins/: Add 3 more plugins 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:
* docs/plugins/inspect/plugin-gamma.xml:
* docs/plugins/inspect/plugin-monoscope.xml:
* docs/plugins/inspect/plugin-video4linux2.xml:
Add 3 more plugins to docs.

16 years agoRevert previous change caused by a file that got stuck on an old revision.
Stefan Kost [Tue, 15 Jan 2008 16:04:44 +0000 (16:04 +0000)]
Revert previous change caused by a file that got stuck on an old revision.

Original commit message from CVS:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* sys/osxvideo/osxvideosink.h:
Revert previous change caused by a file that got stuck on an old
revision.

16 years agoRe-add multipartdemux to the docs. Last round of section cleanup.
Stefan Kost [Tue, 15 Jan 2008 15:40:58 +0000 (15:40 +0000)]
Re-add multipartdemux to the docs. Last round of section cleanup.

Original commit message from CVS:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* gst/multipart/Makefile.am:
* gst/multipart/multipartdemux.c:
* gst/multipart/multipartdemux.h:
* gst/multipart/multipartmux.c:
* gst/multipart/multipartmux.h:
Re-add multipartdemux to the docs. Last round of section cleanup.

16 years agoManaged to resolve most unused declarations. Filed a bug for one left.
Stefan Kost [Tue, 15 Jan 2008 15:22:41 +0000 (15:22 +0000)]
Managed to resolve most unused declarations. Filed a bug for one left.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* sys/osxaudio/gstosxaudiosink.h:
* sys/osxvideo/osxvideosink.h:
Managed to resolve most unused declarations. Filed a bug for one left.

16 years agodocs/plugins/gst-plugins-good-plugins-sections.txt: Cleanup section file.
Stefan Kost [Tue, 15 Jan 2008 08:03:49 +0000 (08:03 +0000)]
docs/plugins/gst-plugins-good-plugins-sections.txt: Cleanup section file.

Original commit message from CVS:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
Cleanup section file.

16 years agodocs/plugins/: Update plugin docs.
Stefan Kost [Tue, 15 Jan 2008 07:42:51 +0000 (07:42 +0000)]
docs/plugins/: Update plugin docs.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins.args:
* docs/plugins/gst-plugins-good-plugins.signals:
* 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-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-flac.xml:
* docs/plugins/inspect/plugin-flxdec.xml:
* docs/plugins/inspect/plugin-gconfelements.xml:
* docs/plugins/inspect/plugin-gdkpixbuf.xml:
* docs/plugins/inspect/plugin-goom.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-ladspa.xml:
* docs/plugins/inspect/plugin-level.xml:
* docs/plugins/inspect/plugin-matroska.xml:
* docs/plugins/inspect/plugin-mulaw.xml:
* docs/plugins/inspect/plugin-multipart.xml:
* docs/plugins/inspect/plugin-navigationtest.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-shout2send.xml:
* docs/plugins/inspect/plugin-smpte.xml:
* docs/plugins/inspect/plugin-speex.xml:
* docs/plugins/inspect/plugin-taglib.xml:
* docs/plugins/inspect/plugin-udp.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:
Update plugin docs.
* gst/videomixer/Makefile.am:
* gst/videomixer/videomixer.c:
* gst/videomixer/videomixer.h:
* gst/videomixer/videomixerpad.h:
Split out header to fix warnings from the doc-build.

16 years agoAs found by: Tommi Myöhänen <ext-tommi.myohanen nokia com>
Wim Taymans [Mon, 14 Jan 2008 12:35:23 +0000 (12:35 +0000)]
As found by: Tommi Myöhänen <ext-tommi.myohanen nokia com>

Original commit message from CVS:
As found by: Tommi Myöhänen <ext-tommi.myohanen nokia com>
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_parse_rtpinfo):
Use atoll to parse the rtptime with enough precision. Fixes #509329.

16 years agogst/: Initialise variables to work around (false) 'foo might be used uninitialized...
Tim-Philipp Müller [Mon, 14 Jan 2008 12:11:43 +0000 (12:11 +0000)]
gst/: Initialise variables to work around (false) 'foo might be used uninitialized in this function' warnings by gcc-...

Original commit message from CVS:
* gst/avi/gstavisubtitle.c: (gst_avi_subtitle_extract_file):
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send):
Initialise variables to work around (false) 'foo might be used
uninitialized in this function' warnings by gcc-3.3.3 (#509298).

16 years agoIgnore more files for the buildbot.
David Schleef [Sat, 12 Jan 2008 02:32:35 +0000 (02:32 +0000)]
Ignore more files for the buildbot.

Original commit message from CVS:
* docs/plugins/.cvsignore:
* tests/check/pipelines/.cvsignore:
Ignore more files for the buildbot.

16 years agoGenerate the image-type values correctly. Leave them out of the caps when outputting...
Jan Schmidt [Fri, 11 Jan 2008 21:08:59 +0000 (21:08 +0000)]
Generate the image-type values correctly. Leave them out of the caps when outputting a "preview image" tag, since it ...

Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flac_extract_picture_buffer):
* gst/id3demux/id3v2frames.c: (parse_picture_frame):
Generate the image-type values correctly. Leave them out of the caps
when outputting a "preview image" tag, since it only makes sense
to have one of those - the type is irrelevant.
* sys/sunaudio/gstsunaudiomixerctrl.c:
(gst_sunaudiomixer_ctrl_open):
If we can, mark the mixer multiple open when we use it, in case
(for some reason) the process wants to open it again elsewhere.

16 years agotests/check/elements/: It's "endianness", not "endianess". Fixes unit tests.
Tim-Philipp Müller [Fri, 11 Jan 2008 19:16:53 +0000 (19:16 +0000)]
tests/check/elements/: It's "endianness", not "endianess". Fixes unit tests.

Original commit message from CVS:
* tests/check/elements/rganalysis.c: (test_buffer_const_float_mono),
(test_buffer_const_float_stereo), (test_buffer_const_int16_mono),
(test_buffer_const_int16_stereo), (test_buffer_square_float_mono),
(test_buffer_square_float_stereo), (test_buffer_square_int16_mono),
(test_buffer_square_int16_stereo):
* tests/check/elements/rglimiter.c: (create_test_buffer):
* tests/check/elements/rgvolume.c: (test_buffer_new):
It's "endianness", not "endianess". Fixes unit tests.

16 years agoignore some more
Edward Hervey [Fri, 11 Jan 2008 18:56:06 +0000 (18:56 +0000)]
ignore some more

Original commit message from CVS:
ignore some more

16 years agoignore some more
Edward Hervey [Fri, 11 Jan 2008 18:54:31 +0000 (18:54 +0000)]
ignore some more

Original commit message from CVS:
ignore some more

16 years agogst/rtp/: Fix the clock rate to 90000 as required by the RFC.
Olivier Crete [Fri, 11 Jan 2008 17:21:30 +0000 (17:21 +0000)]
gst/rtp/: Fix the clock rate to 90000 as required by the RFC.

Original commit message from CVS:
Patch by: Olivier Crete <tester at tester dot ca>
* gst/rtp/gstrtptheoradepay.c: (gst_rtp_theora_depay_setcaps):
* gst/rtp/gstrtptheorapay.c:
Fix the clock rate to 90000 as required by the RFC.
Fixes #508644.

16 years agotests/check/elements/icydemux.c: Don't use deprecated GST_PLUGIN_DEFINE_STATIC.
Tim-Philipp Müller [Fri, 11 Jan 2008 17:12:37 +0000 (17:12 +0000)]
tests/check/elements/icydemux.c: Don't use deprecated GST_PLUGIN_DEFINE_STATIC.

Original commit message from CVS:
* tests/check/elements/icydemux.c: (GST_START_TEST), (icydemux_suite):
Don't use deprecated GST_PLUGIN_DEFINE_STATIC.

16 years agoautogen.sh: Add -Wno-portability to the automake parameters to stop warnings about...
Sebastian Dröge [Thu, 10 Jan 2008 12:25:44 +0000 (12:25 +0000)]
autogen.sh: Add -Wno-portability to the automake parameters to stop warnings about GNU make extensions being used. We...

Original commit message from CVS:
* autogen.sh:
Add -Wno-portability to the automake parameters to stop warnings
about GNU make extensions being used. We require GNU make in almost
every Makefile anyway.
* configure.ac:
Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
at the same time is required for per target flags.

16 years agogst/videomixer/videomixer.c: Fix error from my last commit.
Edward Hervey [Wed, 9 Jan 2008 15:28:29 +0000 (15:28 +0000)]
gst/videomixer/videomixer.c: Fix error from my last commit.

Original commit message from CVS:
* gst/videomixer/videomixer.c: (gst_videomixer_init):
Fix error from my last commit.

16 years agogst/id3demux/id3v2frames.c: Make sure the ISO 639-X language code in ID3v2 COMM frame...
Tommi Myöhänen [Wed, 9 Jan 2008 15:20:19 +0000 (15:20 +0000)]
gst/id3demux/id3v2frames.c: Make sure the ISO 639-X language code in ID3v2 COMM frames so we don't end up with non-UT...

Original commit message from CVS:
Based on patch by: Tommi Myöhänen <ext-tommi.myohanen nokia com>
* gst/id3demux/id3v2frames.c: (parse_comment_frame):
Make sure the ISO 639-X language code in ID3v2 COMM frames
is actually valid UTF-8 (or rather: ASCII), so we don't end
up with non-UTF8 strings in tags if there's garbage in the
language field. Also make sure the language code is always
lower case. Fixes: #508291.

16 years agoChangeLog: Fix ChangeLog typo.
Stefan Kost [Wed, 9 Jan 2008 13:55:28 +0000 (13:55 +0000)]
ChangeLog: Fix ChangeLog typo.

Original commit message from CVS:
* ChangeLog:
Fix ChangeLog typo.

16 years agoMakefile.am: Include lcov.mak to allow builging coverage reports. Guard check-torture...
Stefan Kost [Wed, 9 Jan 2008 13:50:09 +0000 (13:50 +0000)]
Makefile.am: Include lcov.mak to allow builging coverage reports. Guard check-torture target like in the other packages.

Original commit message from CVS:
* Makefile.am:
Include lcov.mak to allow builging coverage reports. Guard
check-torture target like in the other packages.

16 years agogst/videomixer/videomixer.c: Implement GstChildProxy interface.
Edward Hervey [Wed, 9 Jan 2008 12:33:58 +0000 (12:33 +0000)]
gst/videomixer/videomixer.c: Implement GstChildProxy interface.

Original commit message from CVS:
reviewed by: Edward Hervey  <edward.hervey@collabora.co.uk>
* gst/videomixer/videomixer.c:
(gst_videomixer_set_master_geometry), (_do_init),
(gst_videomixer_child_proxy_get_child_by_index),
(gst_videomixer_child_proxy_get_children_count),
(gst_videomixer_child_proxy_init), (gst_videomixer_reset),
(gst_videomixer_init), (gst_videomixer_request_new_pad),
(gst_videomixer_release_pad), (gst_videomixer_fill_queues):
Implement GstChildProxy interface.
Send newsegment at the right moment
Fixes #488879

16 years agogst/alpha/: Make the various properties of 'alpha' controllable. This allows doing...
Edward Hervey [Wed, 9 Jan 2008 12:01:14 +0000 (12:01 +0000)]
gst/alpha/: Make the various properties of 'alpha' controllable. This allows doing niceties like fade-in/fade-out.

Original commit message from CVS:
* gst/alpha/Makefile.am:
* gst/alpha/gstalpha.c: (gst_alpha_class_init), (gst_alpha_init),
(gst_alpha_sink_event), (gst_alpha_chain),
(gst_alpha_change_state), (plugin_init):
Make the various properties of 'alpha' controllable. This allows doing
niceties like fade-in/fade-out.

16 years agogst/rtp/: Remove copy/paste unused code (property setters and getter) found by the...
Stefan Kost [Wed, 9 Jan 2008 11:11:01 +0000 (11:11 +0000)]
gst/rtp/: Remove copy/paste unused code (property setters and getter) found by the coverage suite (yay, saves ~20k on...

Original commit message from CVS:
* gst/rtp/gstasteriskh263.c:
* gst/rtp/gstrtpL16depay.c:
* gst/rtp/gstrtpac3depay.c:
* gst/rtp/gstrtpamrpay.c:
* gst/rtp/gstrtpdepay.c:
* gst/rtp/gstrtpgsmdepay.c:
* gst/rtp/gstrtph263depay.c:
* gst/rtp/gstrtph263pdepay.c:
* gst/rtp/gstrtph263ppay.c:
* gst/rtp/gstrtph264depay.c:
* gst/rtp/gstrtph264pay.c:
* gst/rtp/gstrtpmp2tdepay.c:
* gst/rtp/gstrtpmp4adepay.c:
* gst/rtp/gstrtpmp4gdepay.c:
* gst/rtp/gstrtpmp4gpay.c:
* gst/rtp/gstrtpmp4vdepay.c:
* gst/rtp/gstrtpmpadepay.c:
* gst/rtp/gstrtpmpvdepay.c:
* gst/rtp/gstrtpsv3vdepay.c:
* gst/rtp/gstrtptheoradepay.c:
* gst/rtp/gstrtptheorapay.c:
* gst/rtp/gstrtpvorbisdepay.c:
* gst/rtp/gstrtpvorbispay.c:
Remove copy/paste unused code (property setters and getter) found by
the coverage suite (yay, saves ~20k on disk).

16 years agogst/matroska/matroska-mux.c: Also fix up pad templates to indicate that image/jpeg...
Tim-Philipp Müller [Tue, 8 Jan 2008 20:03:30 +0000 (20:03 +0000)]
gst/matroska/matroska-mux.c: Also fix up pad templates to indicate that image/jpeg doesn't absolutely require the fra...

Original commit message from CVS:
* gst/matroska/matroska-mux.c: (COMMON_VIDEO_CAPS_NO_FRAMERATE),
(videosink_templ):
Also fix up pad templates to indicate that image/jpeg doesn't
absolutely require the framerate property to be set (#504081).

16 years agogst/matroska/matroska-mux.*: Keep track of first and last timestamps for each incomin...
Wouter Cloetens [Tue, 8 Jan 2008 19:57:23 +0000 (19:57 +0000)]
gst/matroska/matroska-mux.*: Keep track of first and last timestamps for each incoming stream, so we can calculate th...

Original commit message from CVS:
Based on patch by: Wouter Cloetens  <wouter at mind be>
* gst/matroska/matroska-mux.c: (gst_matroska_mux_video_pad_setcaps),
(gst_matroska_mux_request_new_pad), (gst_matroska_mux_release_pad),
(gst_matroska_mux_finish), (gst_matroska_mux_collected):
* gst/matroska/matroska-mux.h:
Keep track of first and last timestamps for each incoming stream,
so we can calculate the total duration for live sources and other
input where we can't query the duration from the start or where
there's no constant framerate from which we can deduce the
duration; also use calculated/observed duration if it is bigger
than the previously queried duration. Furthermore, use
gst_pad_query_peer_duration() and take into account that it may
return TRUE but still a duration of CLOCK_TIME_NONE, which easily
screws up comparisons when using unsigned integers. Fixes #504081.

16 years agoMake elements GST_BUFFER_FLAG_GAP aware and call gst_base_transform_set_gap_aware...
Sebastian Dröge [Tue, 8 Jan 2008 14:58:18 +0000 (14:58 +0000)]
Make elements GST_BUFFER_FLAG_GAP aware and call gst_base_transform_set_gap_aware for this.

Original commit message from CVS:
* configure.ac:
* gst/audiofx/audioamplify.c:
(gst_audio_amplify_clipping_method_get_type),
(gst_audio_amplify_init), (gst_audio_amplify_transform_ip):
* gst/audiofx/audiodynamic.c: (gst_audio_dynamic_init),
(gst_audio_dynamic_transform_ip):
* gst/audiofx/audioinvert.c: (gst_audio_invert_init),
(gst_audio_invert_transform_ip):
* gst/audiofx/audiopanorama.c: (gst_audio_panorama_init),
(gst_audio_panorama_transform):
* gst/level/gstlevel.c: (gst_level_init):
Make elements GST_BUFFER_FLAG_GAP aware and call
gst_base_transform_set_gap_aware for this.
Bump core requirement to CVS.
* gst/audiofx/audiochebyshevfreqband.c:
(gst_audio_chebyshev_freq_band_transform_ip):
* gst/audiofx/audiochebyshevfreqlimit.c:
(gst_audio_chebyshev_freq_limit_transform_ip):
Also sync GObject properties to the controller if operating
in passthrough mode.

16 years agosys/directdraw/gstdirectdrawsink.c: FALSE is not a gpointer.
Tim-Philipp Müller [Mon, 7 Jan 2008 16:41:00 +0000 (16:41 +0000)]
sys/directdraw/gstdirectdrawsink.c: FALSE is not a gpointer.

Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c:
(gst_directdraw_sink_window_thread):
FALSE is not a gpointer.

16 years agosys/directdraw/gstdirectdrawsink.c: Make sure we create our internal window only...
Julien Moutte [Sat, 5 Jan 2008 21:20:08 +0000 (21:20 +0000)]
sys/directdraw/gstdirectdrawsink.c: Make sure we create our internal window only when we need it. That will give a ch...

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

* sys/directdraw/gstdirectdrawsink.c:
(gst_directdraw_sink_set_window_id),
(gst_directdraw_sink_set_caps),
(gst_directdraw_sink_change_state),
(gst_directdraw_sink_buffer_alloc),
(gst_directdraw_sink_draw_borders),
(gst_directdraw_sink_show_frame),
(gst_directdraw_sink_setup_ddraw),
(gst_directdraw_sink_window_thread),
(gst_directdraw_sink_get_ddrawcaps),
(gst_directdraw_sink_surface_create): Make sure we create our
internal window only when we need it. That will give a chance to
the application to get the prepare-xwindow-id bus message. Draw
black borders when keeping aspect ratio. Handle the case where
our
rendering window disappears (closed or errors) like other sinks
do. Various 80 columns fixes, improve state change order. That
element could need some more love.

16 years agoext/taglib/: Remove useless typedefs without new type name. Fixes a warning with...
Sebastian Dröge [Fri, 4 Jan 2008 18:30:21 +0000 (18:30 +0000)]
ext/taglib/: Remove useless typedefs without new type name. Fixes a warning with gcc 4.3.

Original commit message from CVS:
* ext/taglib/gstapev2mux.h:
* ext/taglib/gstid3v2mux.h:
Remove useless typedefs without new type name. Fixes a warning with
gcc 4.3.

16 years agoext/flac/gstflacdec.c: Emit metadata messages when a PICTURE block is encountered.
John Millikin [Thu, 3 Jan 2008 12:26:03 +0000 (12:26 +0000)]
ext/flac/gstflacdec.c: Emit metadata messages when a PICTURE block is encountered.

Original commit message from CVS:
Patch by: John Millikin <jmillikin at gmail dot com>
* ext/flac/gstflacdec.c: (gst_flac_dec_setup_seekable_decoder),
(gst_flac_dec_setup_stream_decoder),
(gst_flac_normalize_picture_mime_type),
(gst_flac_extract_picture_buffer),
(gst_flac_dec_metadata_callback):
Emit metadata messages when a PICTURE block is encountered.
Fixes #506715.

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

17 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.

17 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.

17 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.

17 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.

17 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.

17 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).

17 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

17 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.

17 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.

17 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).

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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...

17 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.

17 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.

17 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.

17 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.

17 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.

17 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).

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

17 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

17 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

17 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()

17 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.

17 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.

17 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

17 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.

17 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.

17 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.

17 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.