platform/upstream/gstreamer.git
16 years agogst/mpeg4videoparse/mpeg4videoparse.*: Parse the config data (either outbound or...
Sjoerd Simons [Tue, 13 May 2008 17:21:07 +0000 (17:21 +0000)]
gst/mpeg4videoparse/mpeg4videoparse.*: Parse the config data (either outbound or in the stream) to set width/height, ...

Original commit message from CVS:
Patch by: Sjoerd Simons <sjoerd at luon dot net>
* gst/mpeg4videoparse/mpeg4videoparse.c:
(gst_mpeg4vparse_set_new_caps), (gst_mpeg4vparse_align),
(get_bits), (next_start_code), (gst_mpeg4vparse_handle_vos),
(gst_mpeg4vparse_push), (gst_mpeg4vparse_drain),
(gst_mpeg4vparse_chain), (gst_mpeg4vparse_sink_setcaps),
(gst_mpeg4vparse_sink_event), (gst_mpeg4vparse_src_query),
(gst_mpeg4vparse_set_property), (gst_mpeg4vparse_get_property),
(gst_mpeg4vparse_class_init), (gst_mpeg4vparse_init):
* gst/mpeg4videoparse/mpeg4videoparse.h:
Parse the config data (either outbound or in the stream) to set
width/height, apect ration, framerate in the caps if applicable.
Mark frames as GST_BUFFER_FLAG_DELTA_UNIT when they are not
intra frames
Set the timestamps of outgoing buffers to the buffer in
which the VOP header was found.
Drop incoming data untill configuration is found (by default,
configurable using a property).
Report a 1 frame latency. Fixes #532723.

16 years agogst/real/gstrealvideodec.c: Add some debug for where we are searching for libraries.
Wim Taymans [Tue, 13 May 2008 16:16:35 +0000 (16:16 +0000)]
gst/real/gstrealvideodec.c: Add some debug for where we are searching for libraries.

Original commit message from CVS:
* gst/real/gstrealvideodec.c: (open_library):
Add some debug for where we are searching for libraries.

16 years agotests/check/elements/audioresample.c: Add unit test for the latest basetransform...
Sjoerd Simons [Tue, 13 May 2008 10:59:49 +0000 (10:59 +0000)]
tests/check/elements/audioresample.c: Add unit test for the latest basetransform negotiation changes.

Original commit message from CVS:
Patch by: Sjoerd Simons <sjoerd at luon dot net>
* tests/check/elements/audioresample.c:
(live_switch_alloc_only_48000), (live_switch_get_sink_caps),
(live_switch_push), (GST_START_TEST):
Add unit test for the latest basetransform negotiation changes.
See bug #526768.

16 years agogst/rtpmanager/gstrtpbin.c: Actually add the do-lost property to the object.
Wim Taymans [Tue, 13 May 2008 09:06:51 +0000 (09:06 +0000)]
gst/rtpmanager/gstrtpbin.c: Actually add the do-lost property to the object.

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_class_init):
Actually add the do-lost property to the object.

16 years agogst/rtpmanager/gstrtpjitterbuffer.c: Avoid waiting for a negative (huge) duration...
Wim Taymans [Mon, 12 May 2008 18:43:41 +0000 (18:43 +0000)]
gst/rtpmanager/gstrtpjitterbuffer.c: Avoid waiting for a negative (huge) duration when the last packet has a lower ti...

Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_loop):
Avoid waiting for a negative (huge) duration when the last packet has a
lower timestamp than the current packet.

16 years agogst/rtpmanager/gstrtpsession.c: Make sure to unref the rtpsession returned by gst_pad...
Peter Kjellerstedt [Mon, 12 May 2008 14:28:09 +0000 (14:28 +0000)]
gst/rtpmanager/gstrtpsession.c: Make sure to unref the rtpsession returned by gst_pad_get_parent() to prevent a memor...

Original commit message from CVS:
* gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_query_send_rtcp_src):
Make sure to unref the rtpsession returned by gst_pad_get_parent() to
prevent a memory leak.

16 years agodocs/plugins/gst-plugins-bad-plugins-sections.txt: Quieten some docs output
Jan Schmidt [Mon, 12 May 2008 14:17:06 +0000 (14:17 +0000)]
docs/plugins/gst-plugins-bad-plugins-sections.txt: Quieten some docs output

Original commit message from CVS:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
Quieten some docs output

16 years agogst/rtpmanager/gstrtpjitterbuffer.c: Initialise with GST_CLOCK_TIME_NONE to avoid...
Jan Schmidt [Mon, 12 May 2008 14:12:08 +0000 (14:12 +0000)]
gst/rtpmanager/gstrtpjitterbuffer.c: Initialise with GST_CLOCK_TIME_NONE to avoid compiler warning.

Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_loop):
Initialise with GST_CLOCK_TIME_NONE to avoid compiler warning.

16 years agoRandom doc of the day: the deinterlace element.
Jan Schmidt [Sun, 11 May 2008 17:23:20 +0000 (17:23 +0000)]
Random doc of the day: the deinterlace element.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/inspect/plugin-gstinterlace.xml:
* gst/deinterlace/gstdeinterlace.c:
* gst/deinterlace/gstdeinterlace.h:
Random doc of the day: the deinterlace element.

16 years agogst/mpegtsparse/: Make sure all schedule EIT and non-actual transport stream
Zaheer Abbas Merali [Fri, 9 May 2008 10:21:07 +0000 (10:21 +0000)]
gst/mpegtsparse/: Make sure all schedule EIT and non-actual transport stream

Original commit message from CVS:
* gst/mpegtsparse/mpegtspacketizer.c:
* gst/mpegtsparse/mpegtsparse.c:
Make sure all schedule EIT and non-actual transport stream
EITs are parsed. Also add present-following flag and
actual-transport-stream flag to eit bus message.

16 years agogst/rtpmanager/rtpsource.c: Make sure to unref the caps used by RTPSource to prevent...
Peter Kjellerstedt [Fri, 9 May 2008 07:41:58 +0000 (07:41 +0000)]
gst/rtpmanager/rtpsource.c: Make sure to unref the caps used by RTPSource to prevent a memory leak.

Original commit message from CVS:
* gst/rtpmanager/rtpsource.c: (rtp_source_finalize):
Make sure to unref the caps used by RTPSource to prevent a memory leak.

16 years agosys/oss4/oss4-mixer-slider.c: Apparently mono sliders have the mono value repeated...
Clive Wright [Thu, 8 May 2008 19:16:17 +0000 (19:16 +0000)]
sys/oss4/oss4-mixer-slider.c: Apparently mono sliders have the mono value repeated in the upper bits, so mask those o...

Original commit message from CVS:
Based on patch by: Clive Wright <clive_wright ntlworld com>
* sys/oss4/oss4-mixer-slider.c: (gst_oss4_mixer_slider_unpack_volume):
Apparently mono sliders have the mono value repeated in the upper bits,
so mask those out when reading them. Probably makes the mixer applet
work properly in some more cases.

16 years agogst/rtpmanager/rtpsession.c: Unlock the session lock when calling one of our callbacks.
Olivier Crete [Thu, 8 May 2008 09:43:33 +0000 (09:43 +0000)]
gst/rtpmanager/rtpsession.c: Unlock the session lock when calling one of our callbacks.

Original commit message from CVS:
Patch by: Olivier Crete <tester at tester dot ca>
* gst/rtpmanager/rtpsession.c: (source_clock_rate),
(rtp_session_process_bye), (rtp_session_send_bye_locked):
Unlock the session lock when calling one of our callbacks.
Fixes #532011.

16 years agogst/rtpmanager/gstrtpsession.c: Send RTP BYE command on EOS. Fixes bug #531955.
Sjoerd Simons [Thu, 8 May 2008 06:23:39 +0000 (06:23 +0000)]
gst/rtpmanager/gstrtpsession.c: Send RTP BYE command on EOS. Fixes bug #531955.

Original commit message from CVS:
Patch by: Sjoerd Simons <sjoerd at luon dot net>
* gst/rtpmanager/gstrtpsession.c:
(gst_rtp_session_event_send_rtp_sink):
Send RTP BYE command on EOS. Fixes bug #531955.

16 years agogst/audioresample/gstaudioresample.c: Let audioresample use the buffer allocation...
Sjoerd Simons [Thu, 8 May 2008 06:20:42 +0000 (06:20 +0000)]
gst/audioresample/gstaudioresample.c: Let audioresample use the buffer allocation of basetransform instead of it's ow...

Original commit message from CVS:
Patch by: Sjoerd Simons <sjoerd at luon dot net>
* gst/audioresample/gstaudioresample.c: (gst_audioresample_init):
Let audioresample use the buffer allocation of basetransform instead
of it's own stuff.
* tests/check/elements/audioresample.c: (alloc_only_48000),
(GST_START_TEST), (audioresample_suite):
Add unit test for the recent basetransform bugfix, where upstream
changes caps to something that can't be passed through anymore.

16 years agowin32/common/config.h.in: Don't define GST_FUNCTION, if GLib supports MSVC we'd much...
Ole André Vadla Ravnås [Wed, 7 May 2008 20:25:09 +0000 (20:25 +0000)]
win32/common/config.h.in: Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather use the real thing than h...

Original commit message from CVS:
* win32/common/config.h.in:
Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
use the real thing than having "???" unconditionally.

16 years agogst-libs/gst/app/: Add marshal.list, make it compile and add to cvsignore.
Wim Taymans [Wed, 7 May 2008 10:38:23 +0000 (10:38 +0000)]
gst-libs/gst/app/: Add marshal.list, make it compile and add to cvsignore.

Original commit message from CVS:
* gst-libs/gst/app/.cvsignore:
* gst-libs/gst/app/Makefile.am:
* gst-libs/gst/app/gstapp-marshal.list:
Add marshal.list, make it compile and add to cvsignore.
* gst-libs/gst/app/gstappsink.c: (gst_app_sink_dispose),
(gst_app_sink_stop):
Small cleanups.
* gst-libs/gst/app/gstappsrc.c: (gst_app_src_class_init),
(gst_app_src_init), (gst_app_src_set_property),
(gst_app_src_get_property), (gst_app_src_unlock),
(gst_app_src_unlock_stop), (gst_app_src_start), (gst_app_src_stop),
(gst_app_src_create), (gst_app_src_set_caps),
(gst_app_src_get_caps), (gst_app_src_set_size),
(gst_app_src_get_size), (gst_app_src_set_seekable),
(gst_app_src_get_seekable), (gst_app_src_set_max_buffers),
(gst_app_src_get_max_buffers), (gst_app_src_push_buffer),
(gst_app_src_end_of_stream):
* gst-libs/gst/app/gstappsrc.h:
Beat appsrc in shape, add signals and actions.
Add some docs.
Add properties for caps, size, seekability and max-buffers.
Fix unlock/stop code.

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

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

16 years agogst-libs/gst/app/gstappsink.*: Start some docs.
Wim Taymans [Mon, 5 May 2008 10:27:45 +0000 (10:27 +0000)]
gst-libs/gst/app/gstappsink.*: Start some docs.

Original commit message from CVS:
* gst-libs/gst/app/gstappsink.c: (gst_app_sink_class_init),
(gst_app_sink_init), (gst_app_sink_set_property),
(gst_app_sink_get_property), (gst_app_sink_unlock_start),
(gst_app_sink_unlock_stop), (gst_app_sink_flush_unlocked),
(gst_app_sink_start), (gst_app_sink_stop), (gst_app_sink_event),
(gst_app_sink_preroll), (gst_app_sink_render),
(gst_app_sink_set_caps), (gst_app_sink_set_drop),
(gst_app_sink_get_drop):
* gst-libs/gst/app/gstappsink.h:
Start some docs.
Add property to drop buffers when the queue is filled
Fix unlocking and flushing when the queues are filled.

16 years agoadd wildmidi plugin
Christian Schaller [Fri, 2 May 2008 14:40:08 +0000 (14:40 +0000)]
add wildmidi plugin

Original commit message from CVS:
add wildmidi plugin

16 years agogst/subenc/gstsrtenc.c: Declare variables at the beginning of blocks. Fixes compilati...
Jens Granseuer [Tue, 29 Apr 2008 19:11:56 +0000 (19:11 +0000)]
gst/subenc/gstsrtenc.c: Declare variables at the beginning of blocks. Fixes compilation with gcc 2.x and other compil...

Original commit message from CVS:
Patch by: Jens Granseuer <jensgr at gmx dot net>
* gst/subenc/gstsrtenc.c: (gst_srt_enc_timestamp_to_string):
Declare variables at the beginning of blocks. Fixes compilation with
gcc 2.x and other compilers. Fixes bug #530611.

16 years agogst/mpegtsparse/: Detect SI pids (NIT, SDT, EIT etc.) based on table id and not by...
Zaheer Abbas Merali [Tue, 29 Apr 2008 09:02:35 +0000 (09:02 +0000)]
gst/mpegtsparse/: Detect SI pids (NIT, SDT, EIT etc.) based on table id and not by pid number. This allows for exampl...

Original commit message from CVS:
* gst/mpegtsparse/mpegtspacketizer.c:
* gst/mpegtsparse/mpegtspacketizer.h:
* gst/mpegtsparse/mpegtsparse.c:
Detect SI pids (NIT, SDT, EIT etc.) based on table id and not
by pid number. This allows for example the EPG data from UK's
freesat to be picked up.

16 years agoext/: Cast NULL sentinels to void * as NULL is defined as an integer constant in...
Sebastian Dröge [Fri, 25 Apr 2008 23:22:56 +0000 (23:22 +0000)]
ext/: Cast NULL sentinels to void * as NULL is defined as an integer constant in most environments when using C++ and...

Original commit message from CVS:
* ext/mpeg2enc/gstmpeg2enc.cc:
* ext/soundtouch/gstbpmdetect.cc:
Cast NULL sentinels to void * as NULL is defined as an integer
constant in most environments when using C++ and it's size might
be different from a pointer.

16 years agogst-libs/gst/app/gstappsink.*: Add more docs.
Wim Taymans [Fri, 25 Apr 2008 18:18:47 +0000 (18:18 +0000)]
gst-libs/gst/app/gstappsink.*: Add more docs.

Original commit message from CVS:
* gst-libs/gst/app/gstappsink.c: (gst_app_sink_class_init),
(gst_app_sink_init), (gst_app_sink_set_property),
(gst_app_sink_get_property), (gst_app_sink_event),
(gst_app_sink_preroll), (gst_app_sink_render),
(gst_app_sink_set_emit_signals), (gst_app_sink_get_emit_signals),
(gst_app_sink_set_max_buffers), (gst_app_sink_get_max_buffers),
(gst_app_sink_pull_buffer):
* gst-libs/gst/app/gstappsink.h:
Add more docs.
Add signals for when preroll and render buffers are available.
Add property to control signal emission.
Add property to control the max queue size.

16 years agogst-libs/gst/dshow/Makefile.am: Use CXXFLAGS rather than CFLAGS; these are C++ files.
Michael Smith [Fri, 25 Apr 2008 18:13:07 +0000 (18:13 +0000)]
gst-libs/gst/dshow/Makefile.am: Use CXXFLAGS rather than CFLAGS; these are C++ files.

Original commit message from CVS:
* gst-libs/gst/dshow/Makefile.am:
Use CXXFLAGS rather than CFLAGS; these are C++ files.
Define required constants appropriately.
* sys/dshowdecwrapper/Makefile.am:
Add required include dir, libraries.
Define required constants appropriately.

16 years agogst/rtpmanager/gstrtpbin.*: Expose new jitterbuffer property in rtpbin too.
Wim Taymans [Fri, 25 Apr 2008 11:32:09 +0000 (11:32 +0000)]
gst/rtpmanager/gstrtpbin.*: Expose new jitterbuffer property in rtpbin too.

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (create_stream), (gst_rtp_bin_init),
(gst_rtp_bin_set_property), (gst_rtp_bin_get_property):
* gst/rtpmanager/gstrtpbin.h:
Expose new jitterbuffer property in rtpbin too.

16 years agogst/rtpmanager/gstrtpjitterbuffer.c: Disable sending out rtp packet lost events by...
Wim Taymans [Fri, 25 Apr 2008 11:22:13 +0000 (11:22 +0000)]
gst/rtpmanager/gstrtpjitterbuffer.c: Disable sending out rtp packet lost events by default and make a property to ena...

Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_class_init), (gst_rtp_jitter_buffer_init),
(gst_rtp_jitter_buffer_loop), (gst_rtp_jitter_buffer_set_property),
(gst_rtp_jitter_buffer_get_property):
Disable sending out rtp packet lost events by default and make a
property to enabe it. We will likely enable it by default when the base
depayloaders have a default handler for them so that we don't send these
events all through the pipeline for now.

16 years agogst/rtpmanager/gstrtpjitterbuffer.c: Remove private version of a function that is...
Wim Taymans [Fri, 25 Apr 2008 09:35:43 +0000 (09:35 +0000)]
gst/rtpmanager/gstrtpjitterbuffer.c: Remove private version of a function that is in -base now.

Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_init), (gst_rtp_jitter_buffer_flush_stop),
(gst_rtp_jitter_buffer_src_event), (gst_rtp_jitter_buffer_chain),
(gst_rtp_jitter_buffer_loop):
Remove private version of a function that is in -base now.
Add src event handler.
Rework the jitterbuffer pushing loop so that it can quickly react to
lost packets and instruct the depayloader of them. This can then be used
to implement error concealment data.

16 years agogst/rtpmanager/gstrtpsession.c: Set up some internal links functions for the RTCP...
Wim Taymans [Fri, 25 Apr 2008 08:21:06 +0000 (08:21 +0000)]
gst/rtpmanager/gstrtpsession.c: Set up some internal links functions for the RTCP and sync pads because the defaults ...

Original commit message from CVS:
* gst/rtpmanager/gstrtpsession.c:
(gst_rtp_session_query_send_rtcp_src), (create_recv_rtcp_sink),
(create_send_rtcp_src):
Set up some internal links functions for the RTCP and sync pads because
the defaults are really not correct.
Implement a query handler for the RTCP src pad, mostly to correctly
report about the latency.

16 years agogst/rtpmanager/: Also keep track of the first buffer timestamp together with the...
Wim Taymans [Fri, 25 Apr 2008 08:15:58 +0000 (08:15 +0000)]
gst/rtpmanager/: Also keep track of the first buffer timestamp together with the first

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_associate),
(gst_rtp_bin_sync_chain):
* gst/rtpmanager/rtpsession.c: (update_arrival_stats),
(rtp_session_process_sr), (rtp_session_on_timeout):
* gst/rtpmanager/rtpsource.c: (rtp_source_init),
(calculate_jitter):
* gst/rtpmanager/rtpsource.h:
* gst/rtpmanager/rtpstats.h:
Also keep track of the first buffer timestamp together with the first
RTP timestamp as they both are needed to construct the timing of
outgoing packets in the jitterbuffer and are therefore also needed to
manage lip-sync. This fixes lip-sync if the first RTP packets arrive
with a wildly different gap.

16 years agogst/flv/gstflvdemux.c: Forward unknown queries upstream instead of returning FALSE...
Wim Taymans [Fri, 25 Apr 2008 08:07:36 +0000 (08:07 +0000)]
gst/flv/gstflvdemux.c: Forward unknown queries upstream instead of returning FALSE on them.

Original commit message from CVS:
* gst/flv/gstflvdemux.c: (gst_flv_demux_query):
Forward unknown queries upstream instead of returning FALSE on them.

16 years agoAdd support for the new libmpcdec API which magically gets us support for SV8 files...
Sebastian Dröge [Thu, 24 Apr 2008 22:19:48 +0000 (22:19 +0000)]
Add support for the new libmpcdec API which magically gets us support for SV8 files. Also do some random cleanup. Fix...

Original commit message from CVS:
* configure.ac:
* ext/musepack/gstmusepackdec.c: (gst_musepackdec_base_init),
(gst_musepackdec_init), (gst_musepackdec_dispose),
(gst_musepackdec_handle_seek_event), (gst_musepack_stream_init),
(gst_musepackdec_loop), (plugin_init):
* ext/musepack/gstmusepackdec.h:
* ext/musepack/gstmusepackreader.c:
* ext/musepack/gstmusepackreader.h:
Add support for the new libmpcdec API which magically gets us support
for SV8 files. Also do some random cleanup. Fixes bug #526905.

16 years agoconfigure.ac: Back to development -> 0.10.7.1
Jan Schmidt [Thu, 24 Apr 2008 21:24:18 +0000 (21:24 +0000)]
configure.ac: Back to development -> 0.10.7.1

Original commit message from CVS:
* configure.ac:
Back to development -> 0.10.7.1
=== release 0.10.7 ===

16 years agoRelease 0.10.7
Jan Schmidt [Thu, 24 Apr 2008 00:18:30 +0000 (00:18 +0000)]
Release 0.10.7

Original commit message from CVS:
Release 0.10.7

16 years agoUpdate .po files
Jan Schmidt [Thu, 24 Apr 2008 00:15:27 +0000 (00:15 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

16 years agoext/faad/gstfaad.c: Don't leak GstAudioChannelPosition. Fixes #529378.
Stefan Kost [Tue, 22 Apr 2008 15:07:35 +0000 (15:07 +0000)]
ext/faad/gstfaad.c: Don't leak GstAudioChannelPosition. Fixes #529378.

Original commit message from CVS:
* ext/faad/gstfaad.c:
Don't leak GstAudioChannelPosition. Fixes #529378.

16 years agogst/sdp/gstsdpdemux.c: Ref caps, see #528245.
Wim Taymans [Tue, 22 Apr 2008 08:18:05 +0000 (08:18 +0000)]
gst/sdp/gstsdpdemux.c: Ref caps, see #528245.

Original commit message from CVS:
* gst/sdp/gstsdpdemux.c: (request_pt_map):
Ref caps, see #528245.

16 years agoconfigure.ac: 0.10.6.4 pre-release
Jan Schmidt [Tue, 22 Apr 2008 00:21:56 +0000 (00:21 +0000)]
configure.ac: 0.10.6.4 pre-release

Original commit message from CVS:
* configure.ac:
0.10.6.4 pre-release

16 years agotests/check/elements/rganalysis.c: Don't leak a tag list. Fixes bug #529285.
Sebastian Dröge [Mon, 21 Apr 2008 21:54:11 +0000 (21:54 +0000)]
tests/check/elements/rganalysis.c: Don't leak a tag list. Fixes bug #529285.

Original commit message from CVS:
* tests/check/elements/rganalysis.c: (GST_START_TEST):
Don't leak a tag list. Fixes bug #529285.

16 years agotests/check/elements/ofa.c: Don't leak the tags string and tag list. Fixes bug #529283.
Sebastian Dröge [Mon, 21 Apr 2008 21:52:30 +0000 (21:52 +0000)]
tests/check/elements/ofa.c: Don't leak the tags string and tag list. Fixes bug #529283.

Original commit message from CVS:
* tests/check/elements/ofa.c: (bus_handler):
Don't leak the tags string and tag list. Fixes bug #529283.

16 years agogst/rtpmanager/gstrtpbin.c: Ref caps when inserting into the cache.
Olivier Crete [Mon, 21 Apr 2008 08:26:37 +0000 (08:26 +0000)]
gst/rtpmanager/gstrtpbin.c: Ref caps when inserting into the cache.

Original commit message from CVS:
Patch by: Olivier Crete <tester at tester dot ca>
* gst/rtpmanager/gstrtpbin.c: (create_session), (get_pt_map),
(new_ssrc_pad_found):
Ref caps when inserting into the cache.
Don't leak pads.
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_get_clock_rate),
(gst_rtp_jitter_buffer_query):
Avoid a caps leak.
Don't leak refcount in query.
* gst/rtpmanager/gstrtpptdemux.c: (gst_rtp_pt_demux_get_caps),
(gst_rtp_pt_demux_chain):
Avoid caps leaks.
* gst/rtpmanager/gstrtpsession.c: (source_get_sdes_structure),
(gst_rtp_session_init), (return_true),
(gst_rtp_session_clear_pt_map), (gst_rtp_session_cache_caps),
(gst_rtp_session_clock_rate):
Ref caps when inserting into the cache.
Fix some more caps leaks. Fixes #528245.

16 years agotests/icles/metadata_editor.c: Add cast to placate gcc 4.1.2.
Tim-Philipp Müller [Fri, 18 Apr 2008 18:51:08 +0000 (18:51 +0000)]
tests/icles/metadata_editor.c: Add cast to placate gcc 4.1.2.

Original commit message from CVS:
* tests/icles/metadata_editor.c:
Add cast to placate gcc 4.1.2.

16 years agoconfigure.ac: 0.10.6.3 pre-release
Jan Schmidt [Thu, 17 Apr 2008 23:01:11 +0000 (23:01 +0000)]
configure.ac: 0.10.6.3 pre-release

Original commit message from CVS:
* configure.ac:
0.10.6.3 pre-release

16 years agosys/dvb/gstdvbsrc.c: Revert patch that added a loop timeout.
Zaheer Abbas Merali [Thu, 17 Apr 2008 18:28:05 +0000 (18:28 +0000)]
sys/dvb/gstdvbsrc.c: Revert patch that added a loop timeout.

Original commit message from CVS:
* sys/dvb/gstdvbsrc.c:
Revert patch that added a loop timeout.
Fixes #528614.

16 years agogst/rtpmanager/: Unset GValues after g_signal_emitv so that we avoid a refcount leak.
Wim Taymans [Thu, 17 Apr 2008 07:31:44 +0000 (07:31 +0000)]
gst/rtpmanager/: Unset GValues after g_signal_emitv so that we avoid a refcount leak.

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (get_pt_map), (free_client),
(gst_rtp_bin_associate), (gst_rtp_bin_get_free_pad_name):
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_get_clock_rate):
* gst/rtpmanager/gstrtpptdemux.c: (gst_rtp_pt_demux_get_caps):
* gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_clock_rate):
Unset GValues after g_signal_emitv so that we avoid a refcount leak.
Don't leak a padname.
Don't leak client streams list.
Lock rtpbin when associating streams. Fixes #528245.

16 years agotests/check/Makefile.am: Don't inlcude dc1394src in the generic/states test as it...
Sebastian Dröge [Wed, 16 Apr 2008 09:50:17 +0000 (09:50 +0000)]
tests/check/Makefile.am: Don't inlcude dc1394src in the generic/states test as it requires special hardware. Fixes bu...

Original commit message from CVS:
* tests/check/Makefile.am:
Don't inlcude dc1394src in the generic/states test as it requires
special hardware. Fixes bug #528011.

16 years agotests/check/elements/ofa.c: Only check if the generated fingerprints are valid Base64...
Sebastian Dröge [Wed, 16 Apr 2008 09:48:06 +0000 (09:48 +0000)]
tests/check/elements/ofa.c: Only check if the generated fingerprints are valid Base64. The fingerprints are different...

Original commit message from CVS:
* tests/check/elements/ofa.c: (bus_handler), (GST_START_TEST):
Only check if the generated fingerprints are valid Base64. The
fingerprints are different when running on different architectures
which is a) no problem because the fingerprints are tolerant enough
and b) is caused by libofa. Fixes bug #528266.

16 years agoext/timidity/Makefile.am: Dist all source files, no matter if only timidity or wildmi...
Sebastian Dröge [Wed, 16 Apr 2008 09:45:30 +0000 (09:45 +0000)]
ext/timidity/Makefile.am: Dist all source files, no matter if only timidity or wildmidi or nothing is found by config...

Original commit message from CVS:
* ext/timidity/Makefile.am:
Dist all source files, no matter if only timidity or wildmidi or
nothing is found by configure. Fixes bug #528000.

16 years agogst-plugins-bad.spec.in: Remove souphttpsrc plugin from spec files, it's moved to...
Tim-Philipp Müller [Mon, 14 Apr 2008 20:09:24 +0000 (20:09 +0000)]
gst-plugins-bad.spec.in: Remove souphttpsrc plugin from spec files, it's moved to -good.

Original commit message from CVS:
* gst-plugins-bad.spec.in:
Remove souphttpsrc plugin from spec files, it's moved to -good.

16 years agotests/check/Makefile.am: Remove soup test certificates from the dist.
Jan Schmidt [Sun, 13 Apr 2008 23:11:09 +0000 (23:11 +0000)]
tests/check/Makefile.am: Remove soup test certificates from the dist.

Original commit message from CVS:
* tests/check/Makefile.am:
Remove soup test certificates from the dist.

16 years agoext/dirac/gstdiracenc.cc: Fix compilation by casting string constants.
Jan Schmidt [Sun, 13 Apr 2008 20:54:52 +0000 (20:54 +0000)]
ext/dirac/gstdiracenc.cc: Fix compilation by casting string constants.

Original commit message from CVS:
* ext/dirac/gstdiracenc.cc:
Fix compilation by casting string constants.
* sys/Makefile.am:
Fix WININET_DIR variable reference.

16 years agoRemove soup plugin that's moved to -good (#523124)
Jan Schmidt [Sat, 12 Apr 2008 23:32:14 +0000 (23:32 +0000)]
Remove soup plugin that's moved to -good (#523124)

Original commit message from CVS:
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins.args:
* docs/plugins/inspect/plugin-soup.xml:
* ext/Makefile.am:
* ext/soup/Makefile.am:
* ext/soup/gstsouphttpsrc.c:
* ext/soup/gstsouphttpsrc.h:
* tests/check/Makefile.am:
* tests/check/elements/souphttpsrc.c:
* tests/check/test-cert.pem:
* tests/check/test-key.pem:
Remove soup plugin that's moved to -good (#523124)

16 years agogst/flv/gstflvparse.c: Handle NULL returns from FLV_GET_STRING() more gracefully...
Tim-Philipp Müller [Fri, 11 Apr 2008 23:19:21 +0000 (23:19 +0000)]
gst/flv/gstflvparse.c: Handle NULL returns from FLV_GET_STRING() more gracefully. Fixes crash caused by a strlen on a...

Original commit message from CVS:
* gst/flv/gstflvparse.c: (gst_flv_parse_metadata_item),
(gst_flv_parse_tag_script):
Handle NULL returns from FLV_GET_STRING() more gracefully. Fixes
crash caused by a strlen on a NULL string (#527622).

16 years agosys/dshowsrcwrapper/gstdshowvideosrc.*: Don't increase latency by queuing buffers...
Ole André Vadla Ravnås [Fri, 11 Apr 2008 19:33:53 +0000 (19:33 +0000)]
sys/dshowsrcwrapper/gstdshowvideosrc.*: Don't increase latency by queuing buffers in an async queue when the streamin...

Original commit message from CVS:
Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
* sys/dshowsrcwrapper/gstdshowvideosrc.c: (PROP_DEVICE_NAME),
(gst_dshowvideosrc_class_init), (gst_dshowvideosrc_init),
(gst_dshowvideosrc_dispose), (gst_dshowvideosrc_stop),
(gst_dshowvideosrc_unlock), (gst_dshowvideosrc_unlock_stop),
(gst_dshowvideosrc_create), (gst_dshowvideosrc_push_buffer):
* sys/dshowsrcwrapper/gstdshowvideosrc.h:
Don't increase latency by queuing buffers in an async queue when
the streaming thread can't keep up or isn't scheduled often
enough for some other reason, but just drop the previous buffer
in that case. Also implement GstBaseSrc::unlock for faster
unlocking when shutting down. (#520892).

16 years agotests/icles/metadata_editor.*: Remove GstXOverlay stuff and use gdkpixbufsink plus...
Tim-Philipp Müller [Fri, 11 Apr 2008 18:46:31 +0000 (18:46 +0000)]
tests/icles/metadata_editor.*: Remove GstXOverlay stuff and use gdkpixbufsink plus some rather crude drawing/scaling ...

Original commit message from CVS:
* tests/icles/metadata_editor.c: (ENC_UNKNOWN), (last_pixbuf),
(draw_pixbuf), (change_tag_list), (update_draw_pixbuf),
(ui_drawing_size_allocate_cb), (on_drawingMain_expose_event),
(on_buttonSaveFile_clicked), (ui_create), (me_gst_bus_callback_view),
(me_gst_setup_view_pipeline), (process_file):
* tests/icles/metadata_editor.glade:
Remove GstXOverlay stuff and use gdkpixbufsink plus some rather crude
drawing/scaling logic to make this compile and work on all platforms.
Fixes #518227.

16 years agoconfigure.ac: Bump core/base requirements to released versions to avoid confusion.
Tim-Philipp Müller [Fri, 11 Apr 2008 13:57:03 +0000 (13:57 +0000)]
configure.ac: Bump core/base requirements to released versions to avoid confusion.

Original commit message from CVS:
* configure.ac:
Bump core/base requirements to released versions to avoid
confusion.
* gst/deinterlace/gstdeinterlace.c: (deinterlace_debug),
(GST_CAT_DEFAULT), (gst_deinterlace_base_init),
(gst_deinterlace_set_caps), (plugin_init):
Add debug category, use _set_element_details_simple and
remove special code path for Y42B to calculate offsets and
strides; libgstvideo knows how to handle this format now.

16 years agogst/cdxaparse/: Port VCD parser (formerly cdxastrip) from 0.8 to 0.10. Doesn't do...
Tim-Philipp Müller [Fri, 11 Apr 2008 13:08:24 +0000 (13:08 +0000)]
gst/cdxaparse/: Port VCD parser (formerly cdxastrip) from 0.8 to 0.10. Doesn't do anything the 0.8 version didn't do ...

Original commit message from CVS:
* gst/cdxaparse/Makefile.am:
* gst/cdxaparse/gstcdxaparse.c:
* gst/cdxaparse/gstcdxastrip.c:
* gst/cdxaparse/gstcdxastrip.h:
* gst/cdxaparse/gstvcdparse.c:
* gst/cdxaparse/gstvcdparse.h:
Port VCD parser (formerly cdxastrip) from 0.8 to 0.10. Doesn't do
anything the 0.8 version didn't do though.

16 years agosys/oss4/: Fix arguments format in debug statements.
Julien Moutte [Fri, 11 Apr 2008 08:13:22 +0000 (08:13 +0000)]
sys/oss4/: Fix arguments format in debug statements.

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

* sys/oss4/oss4-mixer-enum.c:
(gst_oss4_mixer_enum_get_values_locked):
* sys/oss4/oss4-source.c: (gst_oss4_source_delay): Fix arguments
format in debug statements.

16 years agoAdd wininetsrc for basic http/ftp support on windows (#520897).
Ole André Vadla Ravnås [Thu, 10 Apr 2008 15:29:44 +0000 (15:29 +0000)]
Add wininetsrc for basic http/ftp support on windows (#520897).

Original commit message from CVS:
Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
* configure.ac:
* sys/Makefile.am:
* sys/wininet/Makefile.am:
* sys/wininet/gstwininetsrc.c:
* sys/wininet/gstwininetsrc.h:
Add wininetsrc for basic http/ftp support on windows (#520897).

16 years agogst/nsf/nsf.h: Change prototype of process function here too to avoid 'incompatible...
Tim-Philipp Müller [Thu, 10 Apr 2008 10:01:48 +0000 (10:01 +0000)]
gst/nsf/nsf.h: Change prototype of process function here too to avoid 'incompatible assignment' warnings.

Original commit message from CVS:
* gst/nsf/nsf.h:
Change prototype of process function here too to avoid
'incompatible assignment' warnings.

16 years agotests/check/elements/souphttpsrc.c: Increase the timeout for the internet tests to...
Sebastian Dröge [Thu, 10 Apr 2008 07:11:51 +0000 (07:11 +0000)]
tests/check/elements/souphttpsrc.c: Increase the timeout for the internet tests to 250 seconds and check for NULL cap...

Original commit message from CVS:
* tests/check/elements/souphttpsrc.c: (got_buffer),
(souphttpsrc_suite):
Increase the timeout for the internet tests to 250 seconds
and check for NULL caps instead of just crashing.
The real fix would be to implement an shoutcast server for the unit test
instead of relying on a working internet connection.
Fixes bug #521749.

16 years agogst/rtpmanager/: Avoid leaking pads in the RTP manager.
Peter Kjellerstedt [Wed, 9 Apr 2008 22:27:50 +0000 (22:27 +0000)]
gst/rtpmanager/: Avoid leaking pads in the RTP manager.

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (free_session):
* gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_finalize):
Avoid leaking pads in the RTP manager.

16 years agogst/nsf/nes_apu.*: Don't do void pointer arithmetic - it's a gcc extension.
Jan Schmidt [Wed, 9 Apr 2008 13:43:51 +0000 (13:43 +0000)]
gst/nsf/nes_apu.*: Don't do void pointer arithmetic - it's a gcc extension.

Original commit message from CVS:
* gst/nsf/nes_apu.c: (apu_process):
* gst/nsf/nes_apu.h:
Don't do void pointer arithmetic - it's a gcc extension.

16 years agoext/jack/gstjackaudiosink.c: Work around missing bits of thread-safety on older GLibs...
Tim-Philipp Müller [Sun, 6 Apr 2008 20:18:16 +0000 (20:18 +0000)]
ext/jack/gstjackaudiosink.c: Work around missing bits of thread-safety on older GLibs some more to avoid assertions w...

Original commit message from CVS:
* ext/jack/gstjackaudiosink.c: (gst_jack_audio_sink_class_init):
Work around missing bits of thread-safety on older GLibs some
more to avoid assertions when starting up multiple playbin
objects concurrently (see #512382).

16 years agoext/soup/gstsouphttpsrc.c: Only ignore actual redirects not all responses when in...
Sjoerd Simons [Sun, 6 Apr 2008 09:01:42 +0000 (09:01 +0000)]
ext/soup/gstsouphttpsrc.c: Only ignore actual redirects not all responses when in state

Original commit message from CVS:
Patch by: Sjoerd Simons <sjoerd at luon dot net>
* ext/soup/gstsouphttpsrc.c: (gst_soup_http_src_response_cb):
Only ignore actual redirects not all responses when in state
GST_SOUP_HTTP_SRC_SESSION_IO_STATUS_RUNNING. Fixes bug #526337.

16 years agoconfigure.ac: Actually build dlls when cross-compiling with mingw32.
Damien Lespiau [Sun, 6 Apr 2008 08:58:39 +0000 (08:58 +0000)]
configure.ac: Actually build dlls when cross-compiling with mingw32.

Original commit message from CVS:
Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
* configure.ac:
Actually build dlls when cross-compiling with mingw32.
Fixes bug #526247.

16 years agotests/check/elements/ofa.c: Also check that we have processed at least 135 seconds...
Sebastian Dröge [Sat, 5 Apr 2008 11:03:13 +0000 (11:03 +0000)]
tests/check/elements/ofa.c: Also check that we have processed at least 135 seconds of audio until we stop and calcula...

Original commit message from CVS:
* tests/check/elements/ofa.c: (GST_START_TEST):
Also check that we have processed at least 135 seconds of audio
until we stop and calculated a fingerprint.

16 years agogst/subenc/gstsrtenc.*: GstSrtenc => GstSrtEnc and gst_srtenc_ => gst_srt_enc_.
Tim-Philipp Müller [Fri, 4 Apr 2008 20:43:18 +0000 (20:43 +0000)]
gst/subenc/gstsrtenc.*: GstSrtenc => GstSrtEnc and gst_srtenc_ => gst_srt_enc_.

Original commit message from CVS:
* gst/subenc/gstsrtenc.c:
* gst/subenc/gstsrtenc.h:
GstSrtenc => GstSrtEnc and gst_srtenc_ => gst_srt_enc_.

16 years agotests/check/: Add simple unit tests for the OFA plugin.
Sebastian Dröge [Fri, 4 Apr 2008 19:18:36 +0000 (19:18 +0000)]
tests/check/: Add simple unit tests for the OFA plugin.

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/ofa.c: (bus_handler), (GST_START_TEST),
(ofa_suite), (main):
Add simple unit tests for the OFA plugin.

16 years agoupdate spec file with new ossv4 plugin
Christian Schaller [Thu, 3 Apr 2008 14:23:47 +0000 (14:23 +0000)]
update spec file with new ossv4 plugin

Original commit message from CVS:
update spec file with new ossv4 plugin

16 years agoAdd initial support for OSSv4. Mixer still needs a bit more love, but even magic...
Tim-Philipp Müller [Wed, 2 Apr 2008 20:18:58 +0000 (20:18 +0000)]
Add initial support for OSSv4. Mixer still needs a bit more love, but even magic has its limits.

Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/oss4/Makefile.am:
* sys/oss4/oss4-audio.c:
* sys/oss4/oss4-audio.h:
* sys/oss4/oss4-mixer-enum.c:
* sys/oss4/oss4-mixer-enum.h:
* sys/oss4/oss4-mixer-slider.c:
* sys/oss4/oss4-mixer-slider.h:
* sys/oss4/oss4-mixer-switch.c:
* sys/oss4/oss4-mixer-switch.h:
* sys/oss4/oss4-mixer.c:
* sys/oss4/oss4-mixer.h:
* sys/oss4/oss4-property-probe.c:
* sys/oss4/oss4-property-probe.h:
* sys/oss4/oss4-sink.c:
* sys/oss4/oss4-sink.h:
* sys/oss4/oss4-soundcard.h:
* sys/oss4/oss4-source.c:
* sys/oss4/oss4-source.h:
Add initial support for OSSv4. Mixer still needs a bit more love,
but even magic has its limits.

16 years agoRename new srtenc plugin to subenc.
Tim-Philipp Müller [Tue, 1 Apr 2008 22:40:49 +0000 (22:40 +0000)]
Rename new srtenc plugin to subenc.

Original commit message from CVS:
* configure.ac:
* gst-plugins-bad.spec.in:
* gst/srtenc/Makefile.am:
* gst/srtenc/gstsrtenc.c:
* gst/srtenc/gstsrtenc.h:
* gst/subenc/Makefile.am:
* gst/subenc/gstsrtenc.c: (plugin_init):
Rename new srtenc plugin to subenc.

16 years agofix spec'a'lec
Christian Schaller [Tue, 1 Apr 2008 20:33:19 +0000 (20:33 +0000)]
fix spec'a'lec

Original commit message from CVS:
fix spec'a'lec

16 years agogst/mpegtsparse/mpegtspacketizer.c: Cable delivery subsystem descriptors' frequency...
Zaheer Abbas Merali [Tue, 1 Apr 2008 19:53:53 +0000 (19:53 +0000)]
gst/mpegtsparse/mpegtspacketizer.c: Cable delivery subsystem descriptors' frequency's bcd is measured in 100Hz units ...

Original commit message from CVS:
* gst/mpegtsparse/mpegtspacketizer.c:
Cable delivery subsystem descriptors' frequency's bcd
is measured in 100Hz units so adjust multiplier accordingly.

16 years agoAdd srt subtitle encoder
Thijs Vermeir [Tue, 1 Apr 2008 13:42:55 +0000 (13:42 +0000)]
Add srt subtitle encoder

Original commit message from CVS:
* configure.ac:
* gst/srtenc/Makefile.am:
* gst/srtenc/gstsrtenc.c:
* gst/srtenc/gstsrtenc.h:
Add srt subtitle encoder

16 years agoext/gsm/gstgsmdec.*: Increase the allowed samplerates for the ms-gsm format.
kapil [Mon, 31 Mar 2008 16:24:42 +0000 (16:24 +0000)]
ext/gsm/gstgsmdec.*: Increase the allowed samplerates for the ms-gsm format.

Original commit message from CVS:
Patch by: kapil <kapil at fluendo dot com>
* ext/gsm/gstgsmdec.c: (gst_gsmdec_sink_setcaps),
(gst_gsmdec_chain):
* ext/gsm/gstgsmdec.h:
Increase the allowed samplerates for the ms-gsm format.
Fixes #481354.

16 years agoconfigure.ac: Fix build with --disable-external (#525100).
Jan de Groot [Sun, 30 Mar 2008 21:06:58 +0000 (21:06 +0000)]
configure.ac: Fix build with --disable-external (#525100).

Original commit message from CVS:
Patch by: Jan de Groot <jan at jgc homeip net>
* configure.ac:
Fix build with --disable-external (#525100).

16 years agosys/dvb/gstdvbsrc.c: Repeat diseqc call to allow for some diseqc switches.
Zaheer Abbas Merali [Fri, 28 Mar 2008 09:48:27 +0000 (09:48 +0000)]
sys/dvb/gstdvbsrc.c: Repeat diseqc call to allow for some diseqc switches.

Original commit message from CVS:
* sys/dvb/gstdvbsrc.c:
Repeat diseqc call to allow for some diseqc switches.

16 years agoext/Makefile.am: Dist ofa correctly! Fixes non-uninstalled build.
Zaheer Abbas Merali [Thu, 27 Mar 2008 16:32:27 +0000 (16:32 +0000)]
ext/Makefile.am: Dist ofa correctly! Fixes non-uninstalled build.

Original commit message from CVS:
* ext/Makefile.am:
Dist ofa correctly! Fixes non-uninstalled build.

16 years agosys/dvb/gstdvbsrc.c: Make diseqc work more reliably.
Zaheer Abbas Merali [Thu, 27 Mar 2008 15:57:14 +0000 (15:57 +0000)]
sys/dvb/gstdvbsrc.c: Make diseqc work more reliably.

Original commit message from CVS:
* sys/dvb/gstdvbsrc.c:
Make diseqc work more reliably.

16 years agogst/nsf/: Remove memguard again and apply hopefully all previously dropped local...
Sebastian Dröge [Wed, 26 Mar 2008 07:40:58 +0000 (07:40 +0000)]
gst/nsf/: Remove memguard again and apply hopefully all previously dropped local patches. Should be really better tha...

Original commit message from CVS:
* gst/nsf/Makefile.am:
* gst/nsf/fds_snd.c:
* gst/nsf/mmc5_snd.c:
* gst/nsf/nsf.c:
* gst/nsf/types.h:
* gst/nsf/vrc7_snd.c:
* gst/nsf/vrcvisnd.c:
* gst/nsf/memguard.c:
* gst/nsf/memguard.h:
Remove memguard again and apply hopefully all previously dropped
local patches. Should be really better than the old version now.

16 years agogst/nsf/: Unbreak compilation by disabling memguard and doing some dirty hack fixes...
Wim Taymans [Tue, 25 Mar 2008 16:58:53 +0000 (16:58 +0000)]
gst/nsf/: Unbreak compilation by disabling memguard and doing some dirty hack fixes to make it compile on 64bits.

Original commit message from CVS:
* gst/nsf/memguard.c: (_my_free):
* gst/nsf/types.h:
Unbreak compilation by disabling memguard and doing some dirty hack
fixes to make it compile on 64bits.

16 years agogst/nsf/: Update our internal nosefart to nosefart-2.7-mls to fix segfaults on some...
Andreas Henriksson [Tue, 25 Mar 2008 15:56:13 +0000 (15:56 +0000)]
gst/nsf/: Update our internal nosefart to nosefart-2.7-mls to fix segfaults on some files. Fixes bug #498237.

Original commit message from CVS:
Patch by: Andreas Henriksson <andreas at fatal dot set>
* gst/nsf/Makefile.am:
* gst/nsf/dis6502.h:
* gst/nsf/fds_snd.c:
* gst/nsf/fds_snd.h:
* gst/nsf/fmopl.c:
* gst/nsf/fmopl.h:
* gst/nsf/gstnsf.c:
* gst/nsf/log.c:
* gst/nsf/log.h:
* gst/nsf/memguard.c:
* gst/nsf/memguard.h:
* gst/nsf/mmc5_snd.c:
* gst/nsf/mmc5_snd.h:
* gst/nsf/nes6502.c:
* gst/nsf/nes6502.h:
* gst/nsf/nes_apu.c:
* gst/nsf/nes_apu.h:
* gst/nsf/nsf.c:
* gst/nsf/nsf.h:
* gst/nsf/osd.h:
* gst/nsf/types.h:
* gst/nsf/vrc7_snd.c:
* gst/nsf/vrc7_snd.h:
* gst/nsf/vrcvisnd.c:
* gst/nsf/vrcvisnd.h:
Update our internal nosefart to nosefart-2.7-mls to fix segfaults
on some files. Fixes bug #498237.
Remove some // comments, fix some compiler warnings and use pow()
instead of a slow, selfmade implementation.

16 years agoconfigure.ac: Add support for neon 0.28, which didn't change API. Fixes bug #524035.
Ed Catmur [Tue, 25 Mar 2008 15:17:58 +0000 (15:17 +0000)]
configure.ac: Add support for neon 0.28, which didn't change API. Fixes bug #524035.

Original commit message from CVS:
Patch by: Ed Catmur <ed at catmur dot co dot uk>
* configure.ac:
Add support for neon 0.28, which didn't change API. Fixes bug #524035.

16 years agoMake rganalysis and rglimiter elements GAP-flag aware.
Rene Stadler [Mon, 24 Mar 2008 12:32:59 +0000 (12:32 +0000)]
Make rganalysis and rglimiter elements GAP-flag aware.

Original commit message from CVS:
* gst/replaygain/gstrganalysis.c (gst_rg_analysis_init),
(gst_rg_analysis_transform_ip):
* gst/replaygain/gstrglimiter.c (gst_rg_limiter_init),
(gst_rg_limiter_transform_ip):
Make rganalysis and rglimiter elements GAP-flag aware.
* tests/check/elements/rganalysis.c: (test_gap_buffers),
(rganalysis_suite):
* tests/check/elements/rglimiter.c (test_gap), (rglimiter_suite):
Add tests to verify gap-awareness.

16 years agoext/soup/gstsouphttpsrc.c: Don't autoplug souphttpsrc for dav/davs. This is better...
Sebastian Dröge [Sat, 22 Mar 2008 19:26:04 +0000 (19:26 +0000)]
ext/soup/gstsouphttpsrc.c: Don't autoplug souphttpsrc for dav/davs. This is better handled by

Original commit message from CVS:
* ext/soup/gstsouphttpsrc.c: (gst_soup_http_src_got_headers_cb),
(gst_soup_http_src_chunk_allocator),
(gst_soup_http_src_got_chunk_cb),
(gst_soup_http_src_uri_get_protocols):
Don't autoplug souphttpsrc for dav/davs. This is better handled by
GIO and GnomeVFS as they provide authentication.
Don't leak the icy caps if we already set them and get a new
icy-metaint header.
Try harder to set the icy caps on the output buffer to have correct
caps for the first buffer already.
* tests/check/elements/souphttpsrc.c: (got_buffer),
(GST_START_TEST):
Check that we get a buffer with application/x-icy caps if iradio-mode
is enabled and we have an icecast URL.

16 years agoext/soup/gstsouphttpsrc.c: Actually set the icy caps on our src pad if we have icecas...
Sebastian Dröge [Sat, 22 Mar 2008 18:18:46 +0000 (18:18 +0000)]
ext/soup/gstsouphttpsrc.c: Actually set the icy caps on our src pad if we have icecast data.

Original commit message from CVS:
* ext/soup/gstsouphttpsrc.c: (gst_soup_http_src_chunk_allocator):
Actually set the icy caps on our src pad if we have icecast data.
Fixes bug #523854.

16 years agoUse G_PARAM_STATIC_STRINGS everywhere for GParamSpecs that use static strings (i...
Sebastian Dröge [Sat, 22 Mar 2008 15:00:47 +0000 (15:00 +0000)]
Use G_PARAM_STATIC_STRINGS everywhere for GParamSpecs that use static strings (i.e. all). This gives us less memory u...

Original commit message from CVS:
* configure.ac:
* ext/alsa/gstalsamixerelement.c:
(gst_alsa_mixer_element_class_init):
* ext/alsa/gstalsasink.c: (gst_alsasink_class_init):
* ext/alsa/gstalsasrc.c: (gst_alsasrc_class_init):
* ext/cdparanoia/gstcdparanoiasrc.c:
(gst_cd_paranoia_src_class_init):
* ext/gio/gstgiosink.c: (gst_gio_sink_class_init):
* ext/gio/gstgiosrc.c: (gst_gio_src_class_init):
* ext/gio/gstgiostreamsink.c: (gst_gio_stream_sink_class_init):
* ext/gio/gstgiostreamsrc.c: (gst_gio_stream_src_class_init):
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnome_vfs_sink_class_init):
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_class_init):
* ext/ogg/gstoggmux.c: (gst_ogg_mux_class_init):
* ext/pango/gsttextoverlay.c: (gst_text_overlay_class_init):
* ext/pango/gsttextrender.c: (gst_text_render_class_init):
* ext/theora/theoradec.c: (gst_theora_dec_class_init):
* ext/theora/theoraenc.c: (gst_theora_enc_class_init):
* ext/theora/theoraparse.c: (gst_theora_parse_class_init):
* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_class_init):
* gst-libs/gst/audio/gstaudiofiltertemplate.c:
(gst_audio_filter_template_class_init):
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_class_init):
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_class_init):
* gst-libs/gst/cdda/gstcddabasesrc.c:
(gst_cdda_base_src_class_init):
* gst-libs/gst/interfaces/mixertrack.c:
(gst_mixer_track_class_init):
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_class_init):
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_class_init):
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_class_init):
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_class_init):
* gst/audioresample/gstaudioresample.c:
(gst_audioresample_class_init):
* gst/audiotestsrc/gstaudiotestsrc.c:
(gst_audio_test_src_class_init):
* gst/gdp/gstgdppay.c: (gst_gdp_pay_class_init):
* gst/playback/gstdecodebin2.c: (gst_decode_bin_class_init):
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
(preroll_unlinked):
* gst/playback/gstplaybin.c: (gst_play_bin_class_init):
* gst/playback/gstplaybin2.c: (gst_play_bin_class_init):
* gst/playback/gstplaysink.c: (gst_play_sink_class_init):
* gst/playback/gstqueue2.c: (gst_queue_class_init):
* gst/playback/gststreaminfo.c: (gst_stream_info_class_init):
* gst/playback/gststreamselector.c: (gst_selector_pad_class_init),
(gst_stream_selector_class_init):
* gst/playback/gsturidecodebin.c: (gst_uri_decode_bin_class_init):
* gst/subparse/gstsubparse.c: (gst_sub_parse_class_init):
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_class_init):
* gst/tcp/gsttcpclientsink.c: (gst_tcp_client_sink_class_init):
* gst/tcp/gsttcpclientsrc.c: (gst_tcp_client_src_class_init):
* gst/tcp/gsttcpserversink.c: (gst_tcp_server_sink_class_init):
* gst/tcp/gsttcpserversrc.c: (gst_tcp_server_src_class_init):
* gst/videorate/gstvideorate.c: (gst_video_rate_class_init):
* gst/videoscale/gstvideoscale.c: (gst_video_scale_class_init):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_video_test_src_class_init):
* gst/volume/gstvolume.c: (gst_volume_class_init):
* sys/v4l/gstv4lelement.c: (gst_v4lelement_class_init):
* sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_class_init):
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_class_init):
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_class_init):
* sys/ximage/ximagesink.c: (gst_ximagesink_class_init):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_class_init):
Use G_PARAM_STATIC_STRINGS everywhere for GParamSpecs that use
static strings (i.e. all). This gives us less memory usage,
fewer allocations and thus less memory defragmentation. Depend
on core CVS for this. Fixes bug #523806.

16 years agoconfigure.ac: Check if the compiler supports do { } while (0) macros. This fixes...
Sebastian Dröge [Fri, 21 Mar 2008 14:50:41 +0000 (14:50 +0000)]
configure.ac: Check if the compiler supports do { } while (0) macros. This fixes a warning when compiling with g++ 4....

Original commit message from CVS:
* configure.ac:
Check if the compiler supports do { } while (0) macros. This fixes
a warning when compiling with g++ 4.3, resulting in a build failure
because of -Werror.
* ext/mpeg2enc/gstmpeg2encpicturereader.cc:
* ext/mplex/gstmplex.cc:
Include <string.h> for memcpy and friends to fix the build with
gcc 4.3.
* tests/check/Makefile.am:
Remove trailing backslash.

16 years agogst/selector/gstinputselector.c: Do g_object_notify() only when not holding the lock...
Wim Taymans [Thu, 20 Mar 2008 18:10:29 +0000 (18:10 +0000)]
gst/selector/gstinputselector.c: Do g_object_notify() only when not holding the lock to get the property because othe...

Original commit message from CVS:
* gst/selector/gstinputselector.c:
(gst_input_selector_set_active_pad), (gst_input_selector_switch):
Do g_object_notify() only when not holding the lock to get the property
because otherwise we run into a deadlock with the deep-notify handlers
that are possibly installed.

16 years agogst/selector/gstinputselector.c: Release the selector lock when pad alloc happens...
Wim Taymans [Thu, 20 Mar 2008 17:48:49 +0000 (17:48 +0000)]
gst/selector/gstinputselector.c: Release the selector lock when pad alloc happens on a non selected pad.

Original commit message from CVS:
* gst/selector/gstinputselector.c: (gst_selector_pad_class_init),
(gst_selector_pad_event), (gst_selector_pad_bufferalloc),
(gst_selector_pad_chain), (gst_input_selector_set_active_pad):
Release the selector lock when pad alloc happens on a non selected pad.

16 years agogst/selector/gstinputselector.c: Add pad property to configure behaviour of the unsel...
Wim Taymans [Thu, 20 Mar 2008 17:07:07 +0000 (17:07 +0000)]
gst/selector/gstinputselector.c: Add pad property to configure behaviour of the unselected pad, it can return OK or N...

Original commit message from CVS:
* gst/selector/gstinputselector.c: (gst_selector_pad_class_init),
(gst_selector_pad_init), (gst_selector_pad_set_property),
(gst_selector_pad_get_property), (gst_selector_pad_event),
(gst_selector_pad_bufferalloc), (gst_selector_pad_chain),
(gst_input_selector_set_active_pad):
Add pad property to configure behaviour of the unselected pad, it can
return OK or NOT_LINKED, based on the use case.

16 years agogst/selector/gstinputselector.*: Figure out the locking a bit more.
Wim Taymans [Thu, 20 Mar 2008 16:48:46 +0000 (16:48 +0000)]
gst/selector/gstinputselector.*: Figure out the locking a bit more.

Original commit message from CVS:
* gst/selector/gstinputselector.c:
(gst_selector_pad_get_running_time), (gst_selector_pad_reset),
(gst_selector_pad_event), (gst_selector_pad_bufferalloc),
(gst_input_selector_wait), (gst_selector_pad_chain),
(gst_input_selector_class_init), (gst_input_selector_init),
(gst_input_selector_dispose), (gst_segment_set_start),
(gst_input_selector_set_active_pad),
(gst_input_selector_set_property),
(gst_input_selector_get_property),
(gst_input_selector_get_linked_pad),
(gst_input_selector_is_active_sinkpad),
(gst_input_selector_activate_sinkpad),
(gst_input_selector_request_new_pad),
(gst_input_selector_release_pad),
(gst_input_selector_change_state), (gst_input_selector_block),
(gst_input_selector_switch):
* gst/selector/gstinputselector.h:
Figure out the locking a bit more.
Mark buffers with discont after switching.
Fix initial segment forwarding, make sure to only forward one segment
regardless of what the sequence of buffers/segments is. See #522203.
Improve flushing when blocked.
Return NOT_LINKED when a stream is not selected.
Not API change for the switch signal in the docs.
Fix start/time/accum values of the new segment.
Correctly unlock and flush a blocking selector when going to READY.

16 years agoext/ladspa/: Add some thoughts and FIXME's.
Stefan Kost [Thu, 20 Mar 2008 15:54:23 +0000 (15:54 +0000)]
ext/ladspa/: Add some thoughts and FIXME's.

Original commit message from CVS:
* ext/ladspa/gstladspa.c:
* ext/ladspa/gstsignalprocessor.c:
Add some thoughts and FIXME's.

16 years agogst/bayer/gstbayer2rgb.c: Include stdlib.h for abs.
Stefan Kost [Thu, 20 Mar 2008 15:49:22 +0000 (15:49 +0000)]
gst/bayer/gstbayer2rgb.c: Include stdlib.h for abs.

Original commit message from CVS:
* gst/bayer/gstbayer2rgb.c:
Include stdlib.h for abs.

16 years agogst/freeze/: Add example to source code documentation blob and remove the 3 line
Stefan Kost [Wed, 19 Mar 2008 19:56:59 +0000 (19:56 +0000)]
gst/freeze/: Add example to source code documentation blob and remove the 3 line

Original commit message from CVS:
* gst/freeze/FAQ:
* gst/freeze/Makefile.am:
* gst/freeze/gstfreeze.c:
Add example to source code documentation blob and remove the 3 line
FAQ.
* gst/interleave/interleave.c:
Add a source code documentation blob.

16 years agoext/ofa/gstofa.c: Improve debugging, clean up a bit and really generate the fingerpri...
Sebastian Dröge [Wed, 19 Mar 2008 18:44:51 +0000 (18:44 +0000)]
ext/ofa/gstofa.c: Improve debugging, clean up a bit and really generate the fingerprint after 135 seconds.

Original commit message from CVS:
* ext/ofa/gstofa.c: (create_fingerprint), (gst_ofa_event),
(gst_ofa_transform_ip), (plugin_init):
Improve debugging, clean up a bit and really generate the fingerprint
after 135 seconds.

16 years agoext/ofa/gstofa.c: Use GPL as license, the plugin itself is LGPL but libofa is GPL.
Sebastian Dröge [Wed, 19 Mar 2008 18:19:12 +0000 (18:19 +0000)]
ext/ofa/gstofa.c: Use GPL as license, the plugin itself is LGPL but libofa is GPL.

Original commit message from CVS:
* ext/ofa/gstofa.c:
Use GPL as license, the plugin itself is LGPL but libofa is GPL.

16 years agoAdd an OFA element, the successor of MusicBrainz TRM fingerprinting.
Eric Buehl [Wed, 19 Mar 2008 18:14:17 +0000 (18:14 +0000)]
Add an OFA element, the successor of MusicBrainz TRM fingerprinting.

Original commit message from CVS:
Based on a patch by: Eric Buehl <eric dot buehl at gmail dot com>
* configure.ac:
* ext/ofa/Makefile.am:
* ext/ofa/gstofa.c: (gst_ofa_base_init), (gst_ofa_finalize),
(gst_ofa_class_init), (create_fingerprint), (gst_ofa_event),
(gst_ofa_init), (gst_ofa_transform_ip), (gst_ofa_get_property),
(plugin_init):
* ext/ofa/gstofa.h:
Add an OFA element, the successor of MusicBrainz TRM fingerprinting.
Fixes bug #351309.

16 years agoext/faad/gstfaad.c (gst_faad_chain): Fix a bad format argument, and a potential int...
Andy Wingo [Tue, 18 Mar 2008 10:12:40 +0000 (10:12 +0000)]
ext/faad/gstfaad.c (gst_faad_chain): Fix a bad format argument, and a potential int overflow.

Original commit message from CVS:
2008-03-18  Andy Wingo  <wingo@pobox.com>

* ext/faad/gstfaad.c (gst_faad_chain): Fix a bad format argument,
and a potential int overflow.

* ext/faad/gstfaad.h: Include <neaacdec.h> if faad is neaac.
Avoids a #warning about an ignored #pragma.