platform/upstream/gst-plugins-good.git
16 years agotests/check/elements/: Don't use declarations after statements.
Sebastian Dröge [Mon, 14 Jul 2008 17:15:42 +0000 (17:15 +0000)]
tests/check/elements/: Don't use declarations after statements.

Original commit message from CVS:
* tests/check/elements/cmmldec.c: (GST_START_TEST):
* tests/check/elements/rtp-payloading.c: (rtp_pipeline_create),
(rtp_pipeline_run):
* tests/check/elements/souphttpsrc.c: (souphttpsrc_suite):
Don't use declarations after statements.

16 years agoext/jpeg/gstjpegdec.c: Align documentation with reality.
Mark Nauwelaerts [Mon, 14 Jul 2008 16:28:25 +0000 (16:28 +0000)]
ext/jpeg/gstjpegdec.c: Align documentation with reality.

Original commit message from CVS:
* ext/jpeg/gstjpegdec.c:
Align documentation with reality.

16 years agogst/udp/gstudpnetutils.c: EAI_ADDRFAMILY was obsoleted in BSD at some point. Define...
Sebastian Dröge [Mon, 14 Jul 2008 13:11:14 +0000 (13:11 +0000)]
gst/udp/gstudpnetutils.c: EAI_ADDRFAMILY was obsoleted in BSD at some point. Define it to the old value (1) if it's n...

Original commit message from CVS:
* gst/udp/gstudpnetutils.c:
EAI_ADDRFAMILY was obsoleted in BSD at some point. Define it to the
old value (1) if it's not defined which should not cause any problems
as we're using it internal only anyway.

16 years agogst/avi/gstavidemux.c: Fix build of avidemux on big endian architectures.
Alessandro Decina [Mon, 14 Jul 2008 13:02:48 +0000 (13:02 +0000)]
gst/avi/gstavidemux.c: Fix build of avidemux on big endian architectures.

Original commit message from CVS:
Patch by: Alessandro Decina <alessandro at nnva dot org>
* gst/avi/gstavidemux.c: (gst_avi_demux_riff_parse_vprp):
Fix build of avidemux on big endian architectures.

16 years agogst/qtdemux/qtdemux.c: Correctly distinguish 8bit vs 16bit raw audio. Fixes #542410.
Thiago Sousa Santos [Thu, 10 Jul 2008 20:47:56 +0000 (20:47 +0000)]
gst/qtdemux/qtdemux.c: Correctly distinguish 8bit vs 16bit raw audio.  Fixes #542410.

Original commit message from CVS:
Patch by: Thiago Sousa Santos <thiagoss at lcc dot ufcg dot edu dot br>
* gst/qtdemux/qtdemux.c: (qtdemux_audio_caps):
Correctly distinguish 8bit vs 16bit raw audio.  Fixes #542410.

16 years agogst/qtdemux/qtdemux.c: Set pixel-aspect-ratio in caps using display width and height...
Mark Nauwelaerts [Tue, 8 Jul 2008 21:05:18 +0000 (21:05 +0000)]
gst/qtdemux/qtdemux.c: Set pixel-aspect-ratio in caps using display width and height provided in track.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream),
(qtdemux_parse_trak):
Set pixel-aspect-ratio in caps using display width and height
provided in track.

16 years agoconfigure.ac: Don't include ERROR_CFLAGS in GST_CXXFLAGS as it might include flags...
Sebastian Dröge [Tue, 8 Jul 2008 13:59:51 +0000 (13:59 +0000)]
configure.ac: Don't include ERROR_CFLAGS in GST_CXXFLAGS as it might include flags that are invalid for C++. Fixes bu...

Original commit message from CVS:
* configure.ac:
Don't include ERROR_CFLAGS in GST_CXXFLAGS as it might include
flags that are invalid for C++. Fixes bug #516509.

16 years agoDon't use declarations after statements and variable length arrays.
Sebastian Dröge [Tue, 8 Jul 2008 12:51:34 +0000 (12:51 +0000)]
Don't use declarations after statements and variable length arrays.

Original commit message from CVS:
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_uri_set_uri):
* ext/speex/gstspeexenc.c: (gst_speex_enc_sink_getcaps):
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_set_wp_config):
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_fixate):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_probe_caps_for_format):
* tests/examples/equalizer/demo.c: (message_handler):
* tests/examples/spectrum/demo-audiotest.c: (message_handler):
* tests/examples/spectrum/demo-osssrc.c: (message_handler):
Don't use declarations after statements and variable length arrays.

16 years agosys/v4l2/v4l2src_calls.c: Try progressive video if interlaced fails. Fixes bug #54195...
Daniel Drake [Mon, 7 Jul 2008 21:28:58 +0000 (21:28 +0000)]
sys/v4l2/v4l2src_calls.c: Try progressive video if interlaced fails. Fixes bug #541956 and the usage of v4l2src on OLPC.

Original commit message from CVS:
Patch by: Daniel Drake <dsd at gentoo dot org>
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_set_capture),
(gst_v4l2src_get_nearest_size):
Try progressive video if interlaced fails. Fixes bug #541956
and the usage of v4l2src on OLPC.

16 years agogst/rtp/gstrtpspeexdepay.*: Revert last change: Only the jitterbuffer is able to...
Sebastian Dröge [Mon, 7 Jul 2008 15:34:12 +0000 (15:34 +0000)]
gst/rtp/gstrtpspeexdepay.*: Revert last change: Only the jitterbuffer is able to convert RTP to

Original commit message from CVS:
* gst/rtp/gstrtpspeexdepay.c: (gst_rtp_speex_depay_init),
(gst_rtp_speex_depay_process):
* gst/rtp/gstrtpspeexdepay.h:
Revert last change: Only the jitterbuffer is able to convert RTP to
Gstreamer timestamps and normal (de)payloaders should simply copy it.
Reopens bug #541787.

16 years agogst/rtp/gstrtpvrawdepay.c: Include stdlib.h for atoi().
Stefan Kost [Mon, 7 Jul 2008 10:30:51 +0000 (10:30 +0000)]
gst/rtp/gstrtpvrawdepay.c: Include stdlib.h for atoi().

Original commit message from CVS:
* gst/rtp/gstrtpvrawdepay.c:
Include stdlib.h for atoi().
* gst/rtsp/gstrtspsrc.c:
Use floating point math for latencies < 0 sec in log output.

16 years agogst/rtp/gstrtpspeexdepay.*: Take timestamp from the RTP packet as a first step to...
Tomasz Grobelny [Mon, 7 Jul 2008 10:16:07 +0000 (10:16 +0000)]
gst/rtp/gstrtpspeexdepay.*: Take timestamp from the RTP packet as a first step to fix problems with transmission over...

Original commit message from CVS:
Patch by: Tomasz Grobelny <tomasz at grobelny dot oswiecenia dot net>
* gst/rtp/gstrtpspeexdepay.c: (gst_rtp_speex_depay_init),
(gst_rtp_speex_depay_process):
* gst/rtp/gstrtpspeexdepay.h:
Take timestamp from the RTP packet as a first step to fix problems
with transmission over RTP when the network is not reliable.
Fixes bug #541787.

16 years agogst/udp/gstudpsrc.c: Fix parsing of udp:// URIs containing IPv6 addresses.
Tero Saarni [Sat, 5 Jul 2008 19:01:28 +0000 (19:01 +0000)]
gst/udp/gstudpsrc.c: Fix parsing of udp:// URIs containing IPv6 addresses.

Original commit message from CVS:
Patch by: Tero Saarni <tero dot saarni at gmail dot com>
* gst/udp/gstudpsrc.c: (gst_udpsrc_set_uri):
Fix parsing of udp:// URIs containing IPv6 addresses.
Fixes bug #541650.

16 years agoext/gdk_pixbuf/gstgdkpixbuf.c: Do not leak incoming buffers.
Mark Nauwelaerts [Fri, 4 Jul 2008 20:43:07 +0000 (20:43 +0000)]
ext/gdk_pixbuf/gstgdkpixbuf.c: Do not leak incoming buffers.

Original commit message from CVS:
* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_chain):
Do not leak incoming buffers.

16 years agoconfigure.ac: Fix build of the RTP plugin with mingw32 by linking to ws2_32 for htons...
Damien Lespiau [Thu, 3 Jul 2008 19:27:53 +0000 (19:27 +0000)]
configure.ac: Fix build of the RTP plugin with mingw32 by linking to ws2_32 for htons() and htonl(). Fixes bug #541412.

Original commit message from CVS:
Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
* configure.ac:
Fix build of the RTP plugin with mingw32 by linking to ws2_32
for htons() and htonl(). Fixes bug #541412.

16 years agogst/matroska/matroska-demux.c: Handle position and duration query in DEFAULT format...
Sebastian Dröge [Wed, 2 Jul 2008 09:51:16 +0000 (09:51 +0000)]
gst/matroska/matroska-demux.c: Handle position and duration query in DEFAULT format if the pad's track has a default ...

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_class_init),
(gst_matroska_demux_add_stream), (gst_matroska_demux_query),
(gst_matroska_demux_element_query),
(gst_matroska_demux_handle_src_query),
(gst_matroska_demux_handle_seek_event):
Handle position and duration query in DEFAULT format if the
pad's track has a default frame duration set.
Fix seeking now that the segment's duration doesn't contain the
(possibly wrong or inaccurate) duration of the Matroska file.

16 years agogst/matroska/ebml-read.c: Use NAN constant instead of 0.0/0.0 if possible. NAN is...
Sebastian Dröge [Wed, 2 Jul 2008 09:04:50 +0000 (09:04 +0000)]
gst/matroska/ebml-read.c: Use NAN constant instead of 0.0/0.0 if possible. NAN is defined in math.h except on MSVC wh...

Original commit message from CVS:
* gst/matroska/ebml-read.c: (_ext2dbl):
Use NAN constant instead of 0.0/0.0 if possible. NAN is defined
in math.h except on MSVC where it is defined in xmath.h.
Fixes compilation with MSVC.

16 years agogst/matroska/matroska-demux.*: Don't set the segment duration to the duration from...
Sebastian Dröge [Wed, 2 Jul 2008 08:57:04 +0000 (08:57 +0000)]
gst/matroska/matroska-demux.*: Don't set the segment duration to the duration from the Matroska header as this value ...

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_reset),
(gst_matroska_demux_handle_src_query),
(gst_matroska_demux_parse_info),
(gst_matroska_demux_loop_stream_parse_id):
* gst/matroska/matroska-demux.h:
Don't set the segment duration to the duration from the Matroska
header as this value could be wrong and is just informational.

16 years agogst/matroska/matroska-demux.c: If no Tracks element is found until the first Cluster...
Sebastian Dröge [Wed, 2 Jul 2008 08:47:00 +0000 (08:47 +0000)]
gst/matroska/matroska-demux.c: If no Tracks element is found until the first Cluster is found search it and error out...

Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_loop_stream_parse_id):
If no Tracks element is found until the first Cluster is found
search it and error out if none is found in the complete file.

16 years agogst/matroska/matroska-demux.c: Resync non-subtitle tracks too if a too large gap...
Sebastian Dröge [Wed, 2 Jul 2008 08:14:35 +0000 (08:14 +0000)]
gst/matroska/matroska-demux.c: Resync non-subtitle tracks too if a too large gap compared to other tracks is detected.

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_sync_streams):
Resync non-subtitle tracks too if a too large gap compared to other
tracks is detected.

16 years agogst/rtp/: Add raw video pay and depayloaders, see RFC4175.
Wim Taymans [Tue, 1 Jul 2008 13:28:02 +0000 (13:28 +0000)]
gst/rtp/: Add raw video pay and depayloaders, see RFC4175.

Original commit message from CVS:
* gst/rtp/Makefile.am:
* gst/rtp/gstrtp.c: (plugin_init):
* gst/rtp/gstrtpvrawdepay.c: (gst_rtp_vraw_depay_base_init),
(gst_rtp_vraw_depay_class_init), (gst_rtp_vraw_depay_init),
(gst_rtp_vraw_depay_setcaps), (gst_rtp_vraw_depay_process),
(gst_rtp_vraw_depay_change_state),
(gst_rtp_vraw_depay_plugin_init):
* gst/rtp/gstrtpvrawdepay.h:
* gst/rtp/gstrtpvrawpay.c: (gst_rtp_vraw_pay_get_type),
(gst_rtp_vraw_pay_base_init), (gst_rtp_vraw_pay_class_init),
(gst_rtp_vraw_pay_init), (gst_rtp_vraw_pay_finalize),
(gst_rtp_vraw_pay_setcaps), (gst_rtp_vraw_pay_handle_buffer),
(gst_rtp_vraw_pay_plugin_init):
* gst/rtp/gstrtpvrawpay.h:
Add raw video pay and depayloaders, see RFC4175.

16 years agoext/libpng/gstpngdec.c: Don't return GST_FLOW_ERROR when buffer_alloc fails - return...
Jan Schmidt [Mon, 30 Jun 2008 22:53:39 +0000 (22:53 +0000)]
ext/libpng/gstpngdec.c: Don't return GST_FLOW_ERROR when buffer_alloc fails - return whatever it returned.

Original commit message from CVS:
* ext/libpng/gstpngdec.c:
Don't return GST_FLOW_ERROR when buffer_alloc fails - return
whatever it returned.

16 years agogst/avi/avi-ids.h: Add vprp chunk related structures.
Mark Nauwelaerts [Sun, 29 Jun 2008 19:52:51 +0000 (19:52 +0000)]
gst/avi/avi-ids.h: Add vprp chunk related structures.

Original commit message from CVS:
* gst/avi/avi-ids.h:
Add vprp chunk related structures.
* gst/avi/gstavidemux.c: (gst_avi_demux_riff_parse_vprp),
(gst_avi_demux_parse_stream):
Parse optional vprp chunk and add calculated pixel-aspect-ratio
to caps.  Fixes #539482.
* gst/avi/gstavimux.h:
* gst/avi/gstavimux.c: (gst_avi_mux_pad_reset),
(gst_avi_mux_vidsink_set_caps), (gst_avi_mux_riff_get_avi_header):
Add a vprp chunk if non-trival pixel-aspect-ratio provided in caps.

16 years agotests/check/elements/avimux.c: Adjust avimux unit test according to increased streamh...
Mark Nauwelaerts [Sat, 28 Jun 2008 19:31:46 +0000 (19:31 +0000)]
tests/check/elements/avimux.c: Adjust avimux unit test according to increased streamheader size.

Original commit message from CVS:
* tests/check/elements/avimux.c: (check_avimux_pad):
Adjust avimux unit test according to increased streamheader size.

16 years agogst/qtdemux/qtdemux.c: Add Dirac stream type
David Schleef [Fri, 27 Jun 2008 18:11:01 +0000 (18:11 +0000)]
gst/qtdemux/qtdemux.c: Add Dirac stream type

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: Add Dirac stream type

16 years agogst/avi/gstavimux.*: Add 8 bytes to current streamheader to make for a complete one...
Mark Nauwelaerts [Fri, 27 Jun 2008 15:25:00 +0000 (15:25 +0000)]
gst/avi/gstavimux.*: Add 8 bytes to current streamheader to make for a complete one and to make more players happy.  ...

Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avi_mux_riff_get_avi_header):
* gst/avi/gstavimux.h:
Add 8 bytes to current streamheader to make for a complete one
and to make more players happy.  Fixes #519460.

16 years agosys/v4l2/v4l2_calls.c: Don't include unused gstv4l2xoverlay.h. Fixes build in case...
Tim-Philipp Müller [Thu, 26 Jun 2008 16:36:47 +0000 (16:36 +0000)]
sys/v4l2/v4l2_calls.c: Don't include unused gstv4l2xoverlay.h. Fixes build in case where X11 headers are not installed.

Original commit message from CVS:
* sys/v4l2/v4l2_calls.c::
Don't include unused gstv4l2xoverlay.h. Fixes build
in case where X11 headers are not installed.

16 years agoext/dv/gstdv.c: Fix compilation.
Wim Taymans [Thu, 26 Jun 2008 10:07:46 +0000 (10:07 +0000)]
ext/dv/gstdv.c: Fix compilation.

Original commit message from CVS:
* ext/dv/gstdv.c: (plugin_init):
Fix compilation.

16 years agoext/dv/gstdv.c: Marking rank of dvdec as GST_RANK_MARGINAL since it's the slowest
Edward Hervey [Thu, 26 Jun 2008 09:37:23 +0000 (09:37 +0000)]
ext/dv/gstdv.c: Marking rank of dvdec as GST_RANK_MARGINAL since it's the slowest

Original commit message from CVS:
* ext/dv/gstdv.c: (plugin_init):
Marking rank of dvdec as GST_RANK_MARGINAL since it's the slowest
DV decoder available.
Fixes #532393

16 years agogst/udp/gstudpsrc.c: Call getsockname() after the call to bind() to get updated value...
Sebastian Dröge [Wed, 25 Jun 2008 08:12:18 +0000 (08:12 +0000)]
gst/udp/gstudpsrc.c: Call getsockname() after the call to bind() to get updated values for the port, etc. This fixes ...

Original commit message from CVS:
* gst/udp/gstudpsrc.c: (gst_udpsrc_start):
Call getsockname() after the call to bind() to get updated values
for the port, etc. This fixes the usage of udpsrc on anonymous
binding and it's usage by rtspsrc. Fixes bugs #539372, #539548.
Thanks to Aurelien Grimaud for pointing out the obvious fix.

16 years agotests/check/pipelines/wavpack.c: Remove workaround for a bug in identity that is...
Sebastian Dröge [Wed, 25 Jun 2008 07:57:26 +0000 (07:57 +0000)]
tests/check/pipelines/wavpack.c: Remove workaround for a bug in identity that is fixed in 0.10.20.

Original commit message from CVS:
* tests/check/pipelines/wavpack.c: (bus_handler):
Remove workaround for a bug in identity that is fixed in 0.10.20.

16 years agoext/soup/gstsouphttpsrc.c: Fix HTTP auth support with user/password passed via the...
Jason Donenfeld [Wed, 25 Jun 2008 06:36:58 +0000 (06:36 +0000)]
ext/soup/gstsouphttpsrc.c: Fix HTTP auth support with user/password passed via the URI.

Original commit message from CVS:
Patch by: Jason Donenfeld <BugZilla at zx2c4 dot com>
* ext/soup/gstsouphttpsrc.c: (gst_soup_http_src_got_headers_cb):
Fix HTTP auth support with user/password passed via the URI.
Fixes bug #540067.

16 years agoconfigure.ac: Depend on released versions of core and -base.
Tim-Philipp Müller [Tue, 24 Jun 2008 15:42:33 +0000 (15:42 +0000)]
configure.ac: Depend on released versions of core and -base.

Original commit message from CVS:
* configure.ac:
Depend on released versions of core and -base.

16 years agogst/matroska/matroska-demux.c: Fix buggy format strings in macros. (makes it build...
Julien Moutte [Mon, 23 Jun 2008 16:13:40 +0000 (16:13 +0000)]
gst/matroska/matroska-demux.c: Fix buggy format strings in macros. (makes it build on OS X again...)

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

* gst/matroska/matroska-demux.c:
(gst_matroska_demux_read_track_encoding),
(gst_matroska_demux_parse_blockgroup_or_simpleblock): Fix buggy
format strings in macros. (makes it build on OS X again...)

16 years agogst/: Added debug.
Thomas Vander Stichele [Fri, 20 Jun 2008 16:24:11 +0000 (16:24 +0000)]
gst/: Added debug.

Original commit message from CVS:
* gst/rtp/gstrtptheorapay.c:
* gst/udp/gstmultiudpsink.c:
Added debug.

16 years agoswitch v4l2src from experimental to normal build. Fixes #536831
Christian Schaller [Fri, 20 Jun 2008 15:21:59 +0000 (15:21 +0000)]
switch v4l2src from experimental to normal build. Fixes #536831

Original commit message from CVS:
switch v4l2src from experimental to normal build. Fixes #536831

16 years agogst/rtp/gstrtpg726pay.c: Remove unused variable so that we can compile again.
Wim Taymans [Thu, 19 Jun 2008 11:24:54 +0000 (11:24 +0000)]
gst/rtp/gstrtpg726pay.c: Remove unused variable so that we can compile again.

Original commit message from CVS:
* gst/rtp/gstrtpg726pay.c: (gst_rtp_g726_pay_setcaps):
Remove unused variable so that we can compile again.

16 years agogst/rtp/gstrtpg726pay.c: No need to check for audio/G723 and audio/32KADPCM here...
Peter Kjellerstedt [Thu, 19 Jun 2008 11:06:29 +0000 (11:06 +0000)]
gst/rtp/gstrtpg726pay.c: No need to check for audio/G723 and audio/32KADPCM here as they are no longer supported.

Original commit message from CVS:
* gst/rtp/gstrtpg726pay.c: (gst_rtp_g726_pay_setcaps):
No need to check for audio/G723 and audio/32KADPCM here as they are
no longer supported.

16 years agoext/wavpack/gstwavpackparse.c: Use G_GINT64_CONSTANT, this fixes the duration query...
Sebastian Dröge [Thu, 19 Jun 2008 10:58:57 +0000 (10:58 +0000)]
ext/wavpack/gstwavpackparse.c: Use G_GINT64_CONSTANT, this fixes the duration query on files without known length.

Original commit message from CVS:
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_reset),
(gst_wavpack_parse_src_query), (gst_wavpack_parse_create_src_pad):
Use G_GINT64_CONSTANT, this fixes the duration query on files without
known length.

16 years agogst/matroska/: Fix demuxing of WavPack files. Muxing is still broken.
Sebastian Dröge [Thu, 19 Jun 2008 10:48:57 +0000 (10:48 +0000)]
gst/matroska/: Fix demuxing of WavPack files. Muxing is still broken.

Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_add_wvpk_header),
(gst_matroska_demux_audio_caps):
* gst/matroska/matroska-ids.h:
Fix demuxing of WavPack files. Muxing is still broken.

16 years agogst/matroska/: Add a "vfunc" to the track context for postprocessing frames and conve...
Sebastian Dröge [Thu, 19 Jun 2008 09:12:55 +0000 (09:12 +0000)]
gst/matroska/: Add a "vfunc" to the track context for postprocessing frames and convert the wavpack and subtitle post...

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_track_free),
(gst_matroska_demux_add_mpeg_seq_header),
(gst_matroska_demux_add_wvpk_header),
(gst_matroska_demux_check_subtitle_buffer),
(gst_matroska_demux_parse_blockgroup_or_simpleblock),
(gst_matroska_demux_video_caps), (gst_matroska_demux_audio_caps),
(gst_matroska_demux_subtitle_caps):
* gst/matroska/matroska-ids.h:
Add a "vfunc" to the track context for postprocessing frames and
convert the wavpack and subtitle postprocessing to this vfunc.
Copy buffer flags in those functions to the new buffers too.
Parse CodecState elements of Blocks.
Add a postprocessing function for MPEG video that adds the sequence
header from the codec private data or codec state to the frames if
it's not already there.

16 years agogst/matroska/matroska-demux.c: If a gap of more than 1/2 second is found in one strea...
Sebastian Dröge [Thu, 19 Jun 2008 08:22:16 +0000 (08:22 +0000)]
gst/matroska/matroska-demux.c: If a gap of more than 1/2 second is found in one stream send a

Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_blockgroup_or_simpleblock):
If a gap of more than 1/2 second is found in one stream send a
NEWSEGMENT event to not stall the pipeline if the gap is too large.
This also fixes Matroska files where the first buffer doesn't start
at timestamp 0. Fixes bug #429322.
The duration of a block is the default duration multiplied with the
number of laces. Every lace is one frame and the default duration
is the duration of one frame. This fixes playback of files that use
lacing for some tracks.

16 years agogst/matroska/matroska-demux.c: Update FIXME/TODOs and only ignore EOS at the central...
Sebastian Dröge [Wed, 18 Jun 2008 20:09:28 +0000 (20:09 +0000)]
gst/matroska/matroska-demux.c: Update FIXME/TODOs and only ignore EOS at the central, important place instead of seve...

Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_contents_seekentry):
Update FIXME/TODOs and only ignore EOS at the central, important place
instead of several places.

16 years agogst/rtp/gstrtpg726pay.c: Fix caps, See #538891.
Wim Taymans [Wed, 18 Jun 2008 16:55:05 +0000 (16:55 +0000)]
gst/rtp/gstrtpg726pay.c: Fix caps, See #538891.

Original commit message from CVS:
* gst/rtp/gstrtpg726pay.c:
Fix caps, See #538891.

16 years agogst/matroska/matroska-demux.c: Improve debug output everywhere and fix the EOS logic.
Sebastian Dröge [Wed, 18 Jun 2008 10:28:20 +0000 (10:28 +0000)]
gst/matroska/matroska-demux.c: Improve debug output everywhere and fix the EOS logic.

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_reset),
(gst_matroska_demux_stream_from_num),
(gst_matroska_demux_encoding_cmp),
(gst_matroska_demux_encoding_order_unique),
(gst_matroska_demux_read_track_encoding),
(gst_matroska_demux_read_track_encodings),
(gst_matroska_demux_tracknumber_unique),
(gst_matroska_demux_add_stream), (gst_matroska_demux_init_stream),
(gst_matroska_demux_parse_tracks),
(gst_matroska_demux_parse_index_cuetrack),
(gst_matroska_demux_parse_index_pointentry),
(gst_matroska_demux_parse_index), (gst_matroska_demux_parse_info),
(gst_matroska_demux_parse_metadata_id_simple_tag),
(gst_matroska_demux_parse_metadata_id_tag),
(gst_matroska_demux_parse_metadata),
(gst_matroska_demux_parse_attached_file),
(gst_matroska_demux_parse_attachments),
(gst_matroska_demux_parse_chapters),
(gst_matroska_demux_sync_streams), (gst_matroska_decode_buffer),
(gst_matroska_demux_parse_blockgroup_or_simpleblock),
(gst_matroska_demux_parse_cluster),
(gst_matroska_demux_parse_contents_seekentry),
(gst_matroska_demux_parse_contents),
(gst_matroska_demux_loop_stream_parse_id),
(gst_matroska_demux_loop):
Improve debug output everywhere and fix the EOS logic.
Check the values of the ContentEncoding elements more strictly and
don't use tracks for which it's invalid.
Check that the track number is unique for this stream.
Check that seek positions are below G_MAXINT64 as our seeks are
int64-based and overflows will fail badly.
After seeks also don't push SimpleBlocks until the first one
containing a keyframe is found. Before this was done only for normal
Blocks.
Update some FIXME/TODOs.
* gst/matroska/ebml-read.c: (gst_ebml_read_peek_bytes),
(gst_ebml_read_utf8), (gst_ebml_read_header):
Improve debug output.
* gst/matroska/matroska-ids.c:
(gst_matroska_track_init_video_context):
* gst/matroska/matroska-ids.h:
* gst/matroska/matroska-mux.c:
(gst_matroska_mux_video_pad_setcaps):
Remove eye mode and don't parse it anymore. We can't use that
information in GStreamer yet so it's useless.

16 years agogst/rtp/: Added G726 pay/depayloaders. Fixes #538891.
mersad [Wed, 18 Jun 2008 10:12:57 +0000 (10:12 +0000)]
gst/rtp/: Added G726 pay/depayloaders. Fixes #538891.

Original commit message from CVS:
Patch by: mersad <mersad at axis dot com>
* gst/rtp/Makefile.am:
* gst/rtp/gstrtp.c: (plugin_init):
* gst/rtp/gstrtpg726depay.c: (gst_rtp_g726_depay_base_init),
(gst_rtp_g726_depay_class_init), (gst_rtp_g726_depay_init),
(gst_rtp_g726_depay_setcaps), (gst_rtp_g726_depay_process),
(gst_rtp_g726_depay_plugin_init):
* gst/rtp/gstrtpg726depay.h:
* gst/rtp/gstrtpg726pay.c: (gst_rtp_g726_pay_base_init),
(gst_rtp_g726_pay_class_init), (gst_rtp_g726_pay_init),
(gst_rtp_g726_pay_setcaps), (gst_rtp_g726_pay_plugin_init):
* gst/rtp/gstrtpg726pay.h:
Added G726 pay/depayloaders. Fixes #538891.

16 years agogst/rtsp/URLS: Some more urls.
Wim Taymans [Tue, 17 Jun 2008 10:14:47 +0000 (10:14 +0000)]
gst/rtsp/URLS: Some more urls.

Original commit message from CVS:
* gst/rtsp/URLS:
Some more urls.
* gst/smpte/barboxwipes.c:
Add a comment
* tests/examples/rtp/server-v4l2-H264-alsasrc-PCMA.sh:
Fix typo, add audioresample to the pipeline.

16 years agoext/libmng/: Somewhat port mngenc and mngdec to 0.10. Does not work yet and has many...
Wim Taymans [Tue, 17 Jun 2008 10:05:55 +0000 (10:05 +0000)]
ext/libmng/: Somewhat port mngenc and mngdec to 0.10. Does not work yet and has many bits ifdeffed out still.

Original commit message from CVS:
* ext/libmng/Makefile.am:
* ext/libmng/gstmng.c: (plugin_init):
* ext/libmng/gstmngdec.c: (gst_mng_dec_base_init),
(gst_mng_dec_class_init), (gst_mng_dec_sink_setcaps),
(gst_mng_dec_init), (gst_mng_dec_src_getcaps), (gst_mng_dec_loop),
(gst_mng_dec_get_property), (gst_mng_dec_set_property),
(mngdec_error), (mngdec_openstream), (mngdec_closestream),
(gst_mng_dec_sink_event), (mngdec_readdata), (mngdec_settimer),
(mngdec_processheader), (mngdec_getcanvasline), (mngdec_refresh),
(gst_mng_dec_change_state):
* ext/libmng/gstmngdec.h:
* ext/libmng/gstmngenc.c: (gst_mng_enc_base_init),
(gst_mng_enc_class_init), (gst_mng_enc_sink_setcaps),
(gst_mng_enc_init), (gst_mng_enc_chain),
(gst_mng_enc_get_property), (gst_mng_enc_set_property):
* ext/libmng/gstmngenc.h:
Somewhat port mngenc and mngdec to 0.10. Does not work yet and has many
bits ifdeffed out still.

16 years agogst/matroska/matroska-demux.c: When comparing index elements with the same time compa...
Sebastian Dröge [Mon, 16 Jun 2008 11:34:54 +0000 (11:34 +0000)]
gst/matroska/matroska-demux.c: When comparing index elements with the same time compare their block number.

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_index_compare):
When comparing index elements with the same time compare their
block number.

16 years agogst/matroska/matroska-demux.c: (gst_matroska_demux_parse_attached_file)
Tim-Philipp Müller [Mon, 16 Jun 2008 11:31:06 +0000 (11:31 +0000)]
gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_attached_file)

Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_attached_file)
Init variable to NULL to avoid compiler warning.

16 years agogst/matroska/: Parse Attachments and post them as GST_TAG_IMAGE if we detect it as...
Sebastian Dröge [Mon, 16 Jun 2008 10:59:39 +0000 (10:59 +0000)]
gst/matroska/: Parse Attachments and post them as GST_TAG_IMAGE if we detect it as image and otherwise as GST_TAG_ATT...

Original commit message from CVS:
* gst/matroska/Makefile.am:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_reset),
(gst_matroska_demux_parse_attached_file),
(gst_matroska_demux_parse_attachments),
(gst_matroska_demux_parse_contents_seekentry),
(gst_matroska_demux_loop_stream_parse_id):
* gst/matroska/matroska-demux.h:
* gst/matroska/matroska-ids.c: (gst_matroska_register_tags):
* gst/matroska/matroska-ids.h:
* gst/matroska/matroska.c: (plugin_init):
Parse Attachments and post them as GST_TAG_IMAGE if we detect
it as image and otherwise as GST_TAG_ATTACHMENT. Include filename
and description of the attachments in the caps. Fixes bug #537622.

16 years agoext/speex/gstspeexenc.c: Add mode property.
Wim Taymans [Mon, 16 Jun 2008 10:09:03 +0000 (10:09 +0000)]
ext/speex/gstspeexenc.c: Add mode property.

Original commit message from CVS:
* ext/speex/gstspeexenc.c: (gst_speex_enc_mode_get_type),
(gst_speex_enc_class_init), (gst_speex_enc_sink_getcaps),
(gst_speex_enc_get_latency), (gst_speex_enc_get_query_types),
(gst_speex_enc_src_query), (gst_speex_enc_init),
(gst_speex_enc_setup), (gst_speex_enc_push_buffer),
(gst_speex_enc_chain), (gst_speex_enc_get_property),
(gst_speex_enc_set_property):
Add mode property.
Some cleanups, add more debug info.
Add latency query.

16 years agogst/matroska/ebml-read.c: Return GST_FLOW_UNEXPECTED instead of GST_FLOW_ERROR on...
Sebastian Dröge [Mon, 16 Jun 2008 09:54:27 +0000 (09:54 +0000)]
gst/matroska/ebml-read.c: Return GST_FLOW_UNEXPECTED instead of GST_FLOW_ERROR on short reads.

Original commit message from CVS:
* gst/matroska/ebml-read.c: (gst_ebml_read_peek_bytes):
Return GST_FLOW_UNEXPECTED instead of GST_FLOW_ERROR on short reads.
If we get less bytes than requested we can't do anything except doing
our EOS logic.

16 years agogst/matroska/: Use a GArray for storing the Cue (i.e. seek) information, store the...
Sebastian Dröge [Sun, 15 Jun 2008 19:09:54 +0000 (19:09 +0000)]
gst/matroska/: Use a GArray for storing the Cue (i.e. seek) information, store the CueTrackPositions for every track,...

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_reset),
(gst_matroskademux_do_index_seek),
(gst_matroska_demux_parse_index_cuetrack),
(gst_matroska_demux_parse_index_pointentry),
(gst_matroska_index_compare), (gst_matroska_demux_parse_index),
(gst_matroska_demux_parse_metadata):
* gst/matroska/matroska-demux.h:
* gst/matroska/matroska-ids.h:
Use a GArray for storing the Cue (i.e. seek) information, store
the CueTrackPositions for every track, store the block number
and optimize searching in the array by sorting it after the last
element was added.
Fix a small memory leak when trying to parse a tags element that was
already parsed.

16 years agogst/matroska/matroska-mux.*: Don't write another SeekHead which indexes all Clusters...
Sebastian Dröge [Sun, 15 Jun 2008 15:29:29 +0000 (15:29 +0000)]
gst/matroska/matroska-mux.*: Don't write another SeekHead which indexes all Clusters to the end of the file. This isn...

Original commit message from CVS:
* gst/matroska/matroska-mux.c: (gst_matroska_mux_reset),
(gst_matroska_mux_start), (gst_matroska_mux_finish),
(gst_matroska_mux_write_data):
* gst/matroska/matroska-mux.h:
Don't write another SeekHead which indexes all Clusters to the end of
the file. This isn't useful for anything and just increases filesize.

16 years agogst/matroska/ebml-read.c: Prevent unaligned memory access when reading floats.
Sebastian Dröge [Sun, 15 Jun 2008 15:01:30 +0000 (15:01 +0000)]
gst/matroska/ebml-read.c: Prevent unaligned memory access when reading floats.

Original commit message from CVS:
* gst/matroska/ebml-read.c: (_ext2dbl), (gst_ebml_read_float):
Prevent unaligned memory access when reading floats.

16 years agogst/matroska/: Make sure that every Tags element is only parsed once and it's contain...
Sebastian Dröge [Sun, 15 Jun 2008 14:08:41 +0000 (14:08 +0000)]
gst/matroska/: Make sure that every Tags element is only parsed once and it's containing tags are only posted once.

Original commit message from CVS:
* gst/matroska/ebml-read.c:
* gst/matroska/ebml-read.h:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_reset),
(gst_matroska_demux_parse_metadata):
* gst/matroska/matroska-demux.h:
Make sure that every Tags element is only parsed once and it's
containing tags are only posted once.

16 years agogst/matroska/: Handle EBML elements like Void or CRC32 in the EbmlRead base class...
Sebastian Dröge [Sun, 15 Jun 2008 09:43:25 +0000 (09:43 +0000)]
gst/matroska/: Handle EBML elements like Void or CRC32 in the EbmlRead base class already. They're not useful in the ...

Original commit message from CVS:
* gst/matroska/ebml-read.c: (gst_ebml_peek_id),
(gst_ebml_read_header):
* gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream),
(gst_matroska_demux_parse_tracks),
(gst_matroska_demux_parse_index_cuetrack),
(gst_matroska_demux_parse_index_pointentry),
(gst_matroska_demux_parse_index), (gst_matroska_demux_parse_info),
(gst_matroska_demux_parse_metadata_id_simple_tag),
(gst_matroska_demux_parse_metadata_id_tag),
(gst_matroska_demux_parse_metadata),
(gst_matroska_demux_parse_attachments),
(gst_matroska_demux_parse_chapters),
(gst_matroska_demux_parse_blockgroup_or_simpleblock),
(gst_matroska_demux_parse_cluster),
(gst_matroska_demux_parse_contents_seekentry),
(gst_matroska_demux_parse_contents),
(gst_matroska_demux_loop_stream_parse_id):
Handle EBML elements like Void or CRC32 in the EbmlRead base class
already. They're not useful in the matroska parser and only cause
additional code.

16 years agogst/matroska/: Reverse the level list as we usually are only interested in the first...
Sebastian Dröge [Sat, 14 Jun 2008 15:51:25 +0000 (15:51 +0000)]
gst/matroska/: Reverse the level list as we usually are only interested in the first element or want to add a new fir...

Original commit message from CVS:
* gst/matroska/ebml-read.c: (gst_ebml_level_free),
(gst_ebml_finalize), (gst_ebml_read_change_state),
(gst_ebml_read_element_level_up), (gst_ebml_read_master):
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_contents_seekentry):
Reverse the level list as we usually are only interested in the
first element or want to add a new first element. Having the
first element stored at the end and calling g_list_last() and
g_list_append() is more expensive.
Also use GSlice for allocating the GstEbmlLevel structs.

16 years agogst/debug/gsttaginject.c: Don't unref NULL taglist in finalize. Don't use c++ style...
Tim-Philipp Müller [Fri, 13 Jun 2008 21:13:46 +0000 (21:13 +0000)]
gst/debug/gsttaginject.c: Don't unref NULL taglist in finalize. Don't use c++ style comments.

Original commit message from CVS:
* gst/debug/gsttaginject.c: (gst_tag_inject_finalize),
(gst_tag_inject_class_init), (gst_tag_inject_init):
Don't unref NULL taglist in finalize. Don't use c++ style
comments.

16 years agogst/matroska/: Use gst_value_serialize() and gst_value_deserialize() for transforming...
Sebastian Dröge [Fri, 13 Jun 2008 19:14:41 +0000 (19:14 +0000)]
gst/matroska/: Use gst_value_serialize() and gst_value_deserialize() for transforming tags from some GType to a strin...

Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_metadata_id_simple_tag):
* gst/matroska/matroska-mux.c: (gst_matroska_mux_write_simple_tag),
(gst_matroska_mux_write_data):
Use gst_value_serialize() and gst_value_deserialize() for transforming
tags from some GType to a string and the other way around. The default
transformations in GLib don't include transformations from string to
number types.

16 years agogst/matroska/matroska-demux.*: Only parse Tracks, SeekHead and SegmentInfo elements...
Sebastian Dröge [Fri, 13 Jun 2008 19:07:03 +0000 (19:07 +0000)]
gst/matroska/matroska-demux.*: Only parse Tracks, SeekHead and SegmentInfo elements once but allow

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_reset),
(gst_matroska_demux_parse_tracks),
(gst_matroska_demux_parse_index), (gst_matroska_demux_parse_info),
(gst_matroska_demux_parse_attachments),
(gst_matroska_demux_parse_chapters),
(gst_matroska_demux_parse_contents_seekentry),
(gst_matroska_demux_loop_stream_parse_id):
* gst/matroska/matroska-demux.h:
Only parse Tracks, SeekHead and SegmentInfo elements once but allow
Tags multiple times. The first ones can appear more than once but must
contain the same content as the first for backup purposes so we ignore
all but the first one. Tags can appear multiple times with different
content.
Jump to all elements except Clusters that are available from a
SeekHead to make it more likely to have all required informations
before getting to the first Clusters.
Add dummy functions for parsing Attachments and Chapters.

16 years agogst/replaygain/: More doc updates.
Stefan Kost [Fri, 13 Jun 2008 14:33:52 +0000 (14:33 +0000)]
gst/replaygain/: More doc updates.

Original commit message from CVS:
* gst/replaygain/gstrganalysis.c:
* gst/replaygain/gstrglimiter.c:
* gst/replaygain/gstrgvolume.c:
More doc updates.

16 years agodocs/plugins/: docs/plugins/inspect/plugin-mythtv.xml
Stefan Kost [Fri, 13 Jun 2008 11:59:23 +0000 (11:59 +0000)]
docs/plugins/: docs/plugins/inspect/plugin-mythtv.xml

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins.args:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
* docs/plugins/gst-plugins-bad-plugins.interfaces:
* docs/plugins/gst-plugins-bad-plugins.prerequisites:
* docs/plugins/gst-plugins-bad-plugins.signals:
* docs/plugins/inspect/plugin-alsaspdif.xml:
* docs/plugins/inspect/plugin-amrwb.xml:
* docs/plugins/inspect/plugin-app.xml:
* docs/plugins/inspect/plugin-bayer.xml:
* docs/plugins/inspect/plugin-bz2.xml:
* docs/plugins/inspect/plugin-cdaudio.xml:
* docs/plugins/inspect/plugin-cdxaparse.xml:
* docs/plugins/inspect/plugin-dtsdec.xml:
* docs/plugins/inspect/plugin-dvb.xml:
* docs/plugins/inspect/plugin-dvdspu.xml:
* docs/plugins/inspect/plugin-faac.xml:
* docs/plugins/inspect/plugin-faad.xml:
* docs/plugins/inspect/plugin-fbdevsink.xml:
* docs/plugins/inspect/plugin-festival.xml:
* docs/plugins/inspect/plugin-filter.xml:
* docs/plugins/inspect/plugin-flvdemux.xml:
* docs/plugins/inspect/plugin-freeze.xml:
* docs/plugins/inspect/plugin-gsm.xml:
* docs/plugins/inspect/plugin-gstinterlace.xml:
* docs/plugins/inspect/plugin-gstrtpmanager.xml:
* docs/plugins/inspect/plugin-h264parse.xml:
* docs/plugins/inspect/plugin-interleave.xml:
* docs/plugins/inspect/plugin-jack.xml:
* docs/plugins/inspect/plugin-ladspa.xml:
* docs/plugins/inspect/plugin-metadata.xml:
* docs/plugins/inspect/plugin-mms.xml:
* docs/plugins/inspect/plugin-modplug.xml:
* docs/plugins/inspect/plugin-mpeg2enc.xml:
* docs/plugins/inspect/plugin-mpeg4videoparse.xml:
* docs/plugins/inspect/plugin-mpegtsparse.xml:
* docs/plugins/inspect/plugin-mpegvideoparse.xml:
* docs/plugins/inspect/plugin-musepack.xml:
* docs/plugins/inspect/plugin-musicbrainz.xml:
* docs/plugins/inspect/plugin-mve.xml:
* docs/plugins/inspect/plugin-mythtv.xml
* docs/plugins/inspect/plugin-nas.xml:
* docs/plugins/inspect/plugin-neon.xml:
* docs/plugins/inspect/plugin-nsfdec.xml:
* docs/plugins/inspect/plugin-nuvdemux.xml:
* docs/plugins/inspect/plugin-oss4.xml
* docs/plugins/inspect/plugin-rawparse.xml:
* docs/plugins/inspect/plugin-real.xml:
* docs/plugins/inspect/plugin-replaygain.xml:
* docs/plugins/inspect/plugin-rfbsrc.xml:
* docs/plugins/inspect/plugin-sdl.xml:
* docs/plugins/inspect/plugin-sdp.xml:
* docs/plugins/inspect/plugin-selector.xml:
* docs/plugins/inspect/plugin-sndfile.xml:
* docs/plugins/inspect/plugin-soundtouch.xml:
* docs/plugins/inspect/plugin-spcdec.xml:
* docs/plugins/inspect/plugin-speed.xml:
* docs/plugins/inspect/plugin-speexresample.xml:
* docs/plugins/inspect/plugin-stereo.xml:
* docs/plugins/inspect/plugin-subenc.xml
* docs/plugins/inspect/plugin-timidity.xml:
* docs/plugins/inspect/plugin-tta.xml:
* docs/plugins/inspect/plugin-vcdsrc.xml:
* docs/plugins/inspect/plugin-videosignal.xml:
* docs/plugins/inspect/plugin-vmnc.xml:
* docs/plugins/inspect/plugin-wildmidi.xml:
* docs/plugins/inspect/plugin-x264.xml:
* docs/plugins/inspect/plugin-xvid.xml:
* docs/plugins/inspect/plugin-y4menc.xml:
* ext/amrwb/gstamrwbdec.c:
* ext/amrwb/gstamrwbenc.c:
* ext/amrwb/gstamrwbparse.c:
* ext/dc1394/gstdc1394.c:
* ext/directfb/dfbvideosink.c:
* ext/ivorbis/vorbisdec.c:
* ext/jack/gstjackaudiosink.c:
* ext/mpeg2enc/gstmpeg2enc.cc:
* ext/mplex/gstmplex.cc:
* ext/musicbrainz/gsttrm.c:
* ext/mythtv/gstmythtvsrc.c:
* ext/theora/theoradec.c:
* ext/timidity/gsttimidity.c:
* ext/timidity/gstwildmidi.c:
* gst-libs/gst/app/gstappsink.c:
* gst/deinterlace/gstdeinterlace.c:
* gst/dvdspu/gstdvdspu.c:
* gst/festival/gstfestival.c:
* gst/freeze/gstfreeze.c:
* gst/interleave/deinterleave.c:
* gst/interleave/interleave.c:
* gst/modplug/gstmodplug.cc:
* gst/nuvdemux/gstnuvdemux.c:
Add missing elements to docs. Fix doc-markup: use convinience syntax
for examples (produces valid docbook), add several refsec2 when we
have several titles. Fix some types.

16 years agogst/udp/gstudpsrc.*: Add property to control automatic join/leave of multicast groups.
Wim Taymans [Fri, 13 Jun 2008 11:54:05 +0000 (11:54 +0000)]
gst/udp/gstudpsrc.*: Add property to control automatic join/leave of multicast groups.

Original commit message from CVS:
* gst/udp/gstudpsrc.c: (gst_udpsrc_class_init), (gst_udpsrc_init),
(gst_udpsrc_create), (gst_udpsrc_set_property),
(gst_udpsrc_get_property), (gst_udpsrc_start), (gst_udpsrc_stop):
* gst/udp/gstudpsrc.h:
Add property to control automatic join/leave of multicast groups.
Add G_LIKELY.
Remove setting caps on buffers explicitly, basesrc does that for us now.
Improve debug info.
Convert some non-fatal error into warnings.
Use g_ntohs for better portability.
Leave multicast groups when stopping.
When using external sockets, use getsockname() on them to fill up the
addr structure before calling methods that use the structure.
Should all fix #536903.
API: GstUDPSrc::auto-multicast property

16 years agogst/udp/gstudpnetutils.c: Use g_ntohl for better portability.
Wim Taymans [Fri, 13 Jun 2008 11:47:28 +0000 (11:47 +0000)]
gst/udp/gstudpnetutils.c: Use g_ntohl for better portability.

Original commit message from CVS:
* gst/udp/gstudpnetutils.c: (gst_udp_is_multicast):
Use g_ntohl for better portability.

16 years agogst/udp/gstmultiudpsink.c: Fix a typo and do some small cleanups.
Wim Taymans [Fri, 13 Jun 2008 11:45:54 +0000 (11:45 +0000)]
gst/udp/gstmultiudpsink.c: Fix a typo and do some small cleanups.

Original commit message from CVS:
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_init_send),
(gst_multiudpsink_remove):
Fix a typo and do some small cleanups.

16 years agogst/rtp/gstrtptheoradepay.c: Make the delivery-method mandatory on the caps and only...
Olivier Crete [Fri, 13 Jun 2008 09:39:41 +0000 (09:39 +0000)]
gst/rtp/gstrtptheoradepay.c: Make the delivery-method mandatory on the caps and only accept inline for now.

Original commit message from CVS:
Patch by: Olivier Crete <tester at tester dot ca>
* gst/rtp/gstrtptheoradepay.c: (gst_rtp_theora_depay_setcaps):
Make the delivery-method mandatory on the caps and only accept inline
for now.
Reverse strcmp checks for delivery-method.
* gst/rtp/gstrtpvorbisdepay.c: (gst_rtp_vorbis_depay_setcaps):
Make delivery method optional when parsing caps and note this in the
caps.
Reverse strcmp checks for delivery-method.
* gst/rtp/gstrtpvorbispay.c:
Update a comment to note that the delivery-method is optional,
Fixes #537675.

16 years agogst/rtsp/gstrtspsrc.c: Set udpsrc for receiving data from multicast groups to PAUSED...
Wim Taymans [Thu, 12 Jun 2008 17:30:06 +0000 (17:30 +0000)]
gst/rtsp/gstrtspsrc.c: Set udpsrc for receiving data from multicast groups to PAUSED instead of leaving them in READY...

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_stream_configure_mcast):
Set udpsrc for receiving data from multicast groups to PAUSED instead of
leaving them in READY. Fixes #537832.

16 years agogst/avi/gstavimux.c: Simplify code. gst_tag_list_merge() does the NULL checks. Add...
Stefan Kost [Thu, 12 Jun 2008 12:14:38 +0000 (12:14 +0000)]
gst/avi/gstavimux.c: Simplify code. gst_tag_list_merge() does the NULL checks. Add a FIXME for a random constant in t...

Original commit message from CVS:
* gst/avi/gstavimux.c:
Simplify code. gst_tag_list_merge() does the NULL checks. Add a FIXME
for a random constant in tagmuxing code.

16 years agogst/debug/gsttaginject.*: Now actually adding the new element.
Stefan Kost [Wed, 11 Jun 2008 14:28:44 +0000 (14:28 +0000)]
gst/debug/gsttaginject.*: Now actually adding the new element.

Original commit message from CVS:
* gst/debug/gsttaginject.c:
* gst/debug/gsttaginject.h:
Now actually adding the new element.

16 years agoRemove dummy plugin_init. Remove some undefined entries from doc- section file. Add...
Stefan Kost [Wed, 11 Jun 2008 14:11:16 +0000 (14:11 +0000)]
Remove dummy plugin_init. Remove some undefined entries from doc- section file. Add taginject element and rebuild doc...

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.args:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
* docs/plugins/gst-plugins-good-plugins.interfaces:
* docs/plugins/gst-plugins-good-plugins.prerequisites:
* docs/plugins/inspect/plugin-aasink.xml:
* docs/plugins/inspect/plugin-alaw.xml:
* docs/plugins/inspect/plugin-alpha.xml:
* docs/plugins/inspect/plugin-alphacolor.xml:
* docs/plugins/inspect/plugin-annodex.xml:
* docs/plugins/inspect/plugin-apetag.xml:
* docs/plugins/inspect/plugin-audiofx.xml:
* docs/plugins/inspect/plugin-auparse.xml:
* docs/plugins/inspect/plugin-autodetect.xml:
* docs/plugins/inspect/plugin-avi.xml:
* docs/plugins/inspect/plugin-cacasink.xml:
* docs/plugins/inspect/plugin-cairo.xml:
* docs/plugins/inspect/plugin-cdio.xml:
* docs/plugins/inspect/plugin-cutter.xml:
* docs/plugins/inspect/plugin-debug.xml:
* docs/plugins/inspect/plugin-dv.xml:
* docs/plugins/inspect/plugin-efence.xml:
* docs/plugins/inspect/plugin-effectv.xml:
* docs/plugins/inspect/plugin-equalizer.xml:
* docs/plugins/inspect/plugin-esdsink.xml:
* docs/plugins/inspect/plugin-flac.xml:
* docs/plugins/inspect/plugin-flxdec.xml:
* docs/plugins/inspect/plugin-gamma.xml:
* docs/plugins/inspect/plugin-gconfelements.xml:
* docs/plugins/inspect/plugin-gdkpixbuf.xml:
* docs/plugins/inspect/plugin-goom.xml:
* docs/plugins/inspect/plugin-goom2k1.xml:
* docs/plugins/inspect/plugin-halelements.xml:
* docs/plugins/inspect/plugin-icydemux.xml:
* docs/plugins/inspect/plugin-id3demux.xml:
* docs/plugins/inspect/plugin-jpeg.xml:
* docs/plugins/inspect/plugin-level.xml:
* docs/plugins/inspect/plugin-matroska.xml:
* docs/plugins/inspect/plugin-monoscope.xml:
* docs/plugins/inspect/plugin-mulaw.xml:
* docs/plugins/inspect/plugin-multifile.xml:
* docs/plugins/inspect/plugin-multipart.xml:
* docs/plugins/inspect/plugin-navigationtest.xml:
* docs/plugins/inspect/plugin-ossaudio.xml:
* docs/plugins/inspect/plugin-png.xml:
* docs/plugins/inspect/plugin-quicktime.xml:
* docs/plugins/inspect/plugin-rtp.xml:
* docs/plugins/inspect/plugin-rtsp.xml:
* docs/plugins/inspect/plugin-smpte.xml:
* docs/plugins/inspect/plugin-soup.xml:
* docs/plugins/inspect/plugin-spectrum.xml:
* docs/plugins/inspect/plugin-speex.xml:
* docs/plugins/inspect/plugin-taglib.xml:
* docs/plugins/inspect/plugin-udp.xml:
* docs/plugins/inspect/plugin-video4linux2.xml:
* docs/plugins/inspect/plugin-videobalance.xml:
* docs/plugins/inspect/plugin-videobox.xml:
* docs/plugins/inspect/plugin-videocrop.xml:
* docs/plugins/inspect/plugin-videoflip.xml:
* docs/plugins/inspect/plugin-videomixer.xml:
* docs/plugins/inspect/plugin-wavenc.xml:
* docs/plugins/inspect/plugin-wavpack.xml:
* docs/plugins/inspect/plugin-wavparse.xml:
* docs/plugins/inspect/plugin-ximagesrc.xml:
* gst/debug/Makefile.am:
* gst/debug/breakmydata.c:
* gst/debug/efence.c:
* gst/debug/gstdebug.c:
* gst/debug/gstnavseek.c:
* gst/debug/gstpushfilesrc.c:
* gst/debug/gstpushfilesrc.h:
* gst/debug/negotiation.c:
* gst/debug/progressreport.c:
* gst/debug/progressreport.h:
* gst/debug/rndbuffersize.c:
* gst/debug/testplugin.c:
Remove dummy plugin_init. Remove some undefined entries from doc-
section file. Add taginject element and rebuild docs for it.

16 years agogst/matroska/matroska-mux.c: Update the counter for the number of streams when pads...
Sebastian Dröge [Wed, 11 Jun 2008 11:27:46 +0000 (11:27 +0000)]
gst/matroska/matroska-mux.c: Update the counter for the number of streams when pads are added or removed. This will m...

Original commit message from CVS:
* gst/matroska/matroska-mux.c: (gst_matroska_mux_request_new_pad),
(gst_matroska_mux_release_pad), (gst_matroska_mux_write_data):
Update the counter for the number of streams when pads are added or
removed. This will make sure that a seek table is generated for
files with just one audio stream.

16 years agogst/matroska/: Add some more tags, improve debugging a bit and make sure that
Sebastian Dröge [Wed, 11 Jun 2008 11:18:23 +0000 (11:18 +0000)]
gst/matroska/: Add some more tags, improve debugging a bit and make sure that

Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_metadata_id_simple_tag):
* gst/matroska/matroska-ids.h:
* gst/matroska/matroska-mux.c: (gst_matroska_mux_write_simple_tag):
Add some more tags, improve debugging a bit and make sure that
GValue transformation has succeeded before using the result
as a tag.

16 years agogst/rtp/gstrtptheorapay.c: The Theora RTP payloader only supports the "inline" deliev...
Olivier Crete [Wed, 11 Jun 2008 08:56:16 +0000 (08:56 +0000)]
gst/rtp/gstrtptheorapay.c: The Theora RTP payloader only supports the "inline" delievery method so let's declare this...

Original commit message from CVS:
Patch by: Olivier Crete <tester at tester dot ca>
* gst/rtp/gstrtptheorapay.c:
The Theora RTP payloader only supports the "inline" delievery method
so let's declare this on the caps of the static pad template.
Fixes bug #537675.

16 years agogst/videomixer/videomixer.c: Remove bogus check.
Wim Taymans [Tue, 10 Jun 2008 17:20:45 +0000 (17:20 +0000)]
gst/videomixer/videomixer.c: Remove bogus check.

Original commit message from CVS:
* gst/videomixer/videomixer.c: (gst_videomixer_fill_queues),
(gst_videomixer_blend_buffers), (gst_videomixer_update_queues):
Remove bogus check.

16 years agogst/videomixer/videomixer.c: Use stream_time to synchronize the object properties.
Wim Taymans [Tue, 10 Jun 2008 16:25:24 +0000 (16:25 +0000)]
gst/videomixer/videomixer.c: Use stream_time to synchronize the object properties.

Original commit message from CVS:
* gst/videomixer/videomixer.c: (gst_videomixer_fill_queues),
(gst_videomixer_blend_buffers):
Use stream_time to synchronize the object properties.
Use running_time of the master pad to timestamp outgoing buffers.
Fix the initial segment event to extend an unknown amount of time.
Fixes #537361.

16 years agogst/avi/gstavidemux.c: Try to ignore unparsable/unknown streams and give a warning...
Wim Taymans [Tue, 10 Jun 2008 11:05:30 +0000 (11:05 +0000)]
gst/avi/gstavidemux.c: Try to ignore unparsable/unknown streams and give a warning instead of erroring out. Fixes #53...

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_parse_stream),
(gst_avi_demux_parse_index), (gst_avi_demux_massage_index),
(gst_avi_demux_calculate_durations_from_index),
(gst_avi_demux_stream_header_push),
(gst_avi_demux_stream_header_pull):
Try to ignore unparsable/unknown streams and give a warning instead of
erroring out. Fixes #537377.

16 years agogst/matroska/ebml-write.c: Use GDOUBLE_TO_BE() instead of (probably slower) custom...
Sebastian Dröge [Tue, 10 Jun 2008 10:44:53 +0000 (10:44 +0000)]
gst/matroska/ebml-write.c: Use GDOUBLE_TO_BE() instead of (probably slower) custom code.

Original commit message from CVS:
* gst/matroska/ebml-write.c: (gst_ebml_write_float):
Use GDOUBLE_TO_BE() instead of (probably slower) custom code.
* gst/matroska/matroska-demux.c: (gst_matroska_demux_base_init),
(gst_matroska_demux_class_init), (gst_matroska_demux_init),
(gst_matroska_track_free), (gst_matroska_demux_encoding_cmp),
(gst_matroska_demux_read_track_encodings),
(gst_matroska_demux_add_stream),
(gst_matroska_demux_handle_src_query),
(gst_matroska_demux_init_stream),
(gst_matroska_demux_parse_index_cuetrack),
(gst_matroska_demux_parse_index_pointentry),
(gst_matroska_demux_parse_info),
(gst_matroska_demux_parse_metadata_id_simple_tag),
(gst_matroska_demux_parse_metadata),
(gst_matroska_demux_add_wvpk_header), (gst_matroska_decode_buffer),
(gst_matroska_demux_parse_blockgroup_or_simpleblock),
(gst_matroska_demux_parse_cluster),
(gst_matroska_demux_parse_contents_seekentry),
(gst_matroska_demux_loop_stream_parse_id),
(gst_matroska_demux_loop), (gst_matroska_demux_video_caps),
(gst_matroska_demux_audio_caps),
(gst_matroska_demux_subtitle_caps):
* gst/matroska/matroska-demux.h:
* gst/matroska/matroska-ids.c:
(gst_matroska_track_init_subtitle_context):
* gst/matroska/matroska-ids.h:
* gst/matroska/matroska-mux.c: (gst_matroska_mux_base_init),
(gst_matroska_mux_class_init), (gst_matroska_mux_init),
(gst_matroska_mux_create_uid), (gst_matroska_mux_reset),
(gst_matroska_mux_video_pad_setcaps),
(gst_matroska_mux_audio_pad_setcaps),
(gst_matroska_mux_subtitle_pad_setcaps),
(gst_matroska_mux_request_new_pad),
(gst_matroska_mux_track_header), (gst_matroska_mux_start),
(gst_matroska_mux_write_simple_tag), (gst_matroska_mux_finish),
(gst_matroska_mux_write_data), (gst_matroska_mux_collected),
(gst_matroska_mux_set_property):
Add many FIXMEs/TODOs all over the matroska muxer and demuxer
elements, do some checks for valid values in the demuxer, handle
tracktimecodescale in the demuxer, set correct default values for all
settings in the demuxer, review and add all missing matroska
IDs and some more raw YUV formats, and some trivial cleanup.

16 years agoext/pulse/: Some smaller cleanup. Use G_PARAM_STATIC_STRINGS, gst_element_class_set_d...
Sebastian Dröge [Tue, 10 Jun 2008 08:59:17 +0000 (08:59 +0000)]
ext/pulse/: Some smaller cleanup. Use G_PARAM_STATIC_STRINGS, gst_element_class_set_details_simple() and fix coding s...

Original commit message from CVS:
* ext/pulse/pulsemixer.c: (gst_pulsemixer_base_init),
(gst_pulsemixer_class_init):
* ext/pulse/pulsesink.c: (gst_pulsesink_base_init),
(gst_pulsesink_class_init), (gst_pulsesink_prepare):
* ext/pulse/pulsesrc.c: (gst_pulsesrc_interface_supported),
(gst_pulsesrc_base_init), (gst_pulsesrc_class_init),
(gst_pulsesrc_prepare):
Some smaller cleanup. Use G_PARAM_STATIC_STRINGS,
gst_element_class_set_details_simple() and fix coding style a bit
more.

16 years agoAdd documentation to the pulseaudio plugin and run make update in docs/plugins.
Sebastian Dröge [Tue, 10 Jun 2008 08:22:17 +0000 (08:22 +0000)]
Add documentation to the pulseaudio plugin and run make update in docs/plugins.

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

16 years agosys/sunaudio/gstsunaudiomixerctrl.c: Improvements for the SunAudio mixer by handling...
Brian Cameron [Tue, 10 Jun 2008 06:52:44 +0000 (06:52 +0000)]
sys/sunaudio/gstsunaudiomixerctrl.c: Improvements for the SunAudio mixer by handling mute as no gain for tracks that ...

Original commit message from CVS:
Patch by: Brian Cameron <brian.cameron at sun dot com>
* sys/sunaudio/gstsunaudiomixerctrl.c:
(gst_sunaudiomixer_ctrl_get_volume),
(gst_sunaudiomixer_ctrl_set_volume):
Improvements for the SunAudio mixer by handling mute as no gain
for tracks that have a gain property but no mute property.
Fixes bug #536067.

16 years agoAdd pulseaudio GStreamer element from gst-pulse. Development will continue here inste...
Sebastian Dröge [Tue, 10 Jun 2008 06:45:33 +0000 (06:45 +0000)]
Add pulseaudio GStreamer element from gst-pulse. Development will continue here instead of pulseaudio SVN. Fixes bug ...

Original commit message from CVS:
* configure.ac:
* ext/pulse/Makefile.am:
* ext/pulse/plugin.c: (plugin_init):
* ext/pulse/pulsemixer.c: (gst_pulsemixer_interface_supported),
(gst_pulsemixer_implements_interface_init),
(gst_pulsemixer_init_interfaces), (gst_pulsemixer_base_init),
(gst_pulsemixer_class_init), (gst_pulsemixer_init),
(gst_pulsemixer_finalize), (gst_pulsemixer_set_property),
(gst_pulsemixer_get_property), (gst_pulsemixer_change_state):
* ext/pulse/pulsemixer.h:
* ext/pulse/pulsemixerctrl.c:
(gst_pulsemixer_ctrl_context_state_cb),
(gst_pulsemixer_ctrl_sink_info_cb),
(gst_pulsemixer_ctrl_source_info_cb),
(gst_pulsemixer_ctrl_subscribe_cb),
(gst_pulsemixer_ctrl_success_cb), (gst_pulsemixer_ctrl_open),
(gst_pulsemixer_ctrl_close), (gst_pulsemixer_ctrl_new),
(gst_pulsemixer_ctrl_free), (gst_pulsemixer_ctrl_list_tracks),
(gst_pulsemixer_ctrl_timeout_event), (restart_time_event),
(gst_pulsemixer_ctrl_set_volume), (gst_pulsemixer_ctrl_get_volume),
(gst_pulsemixer_ctrl_set_record), (gst_pulsemixer_ctrl_set_mute):
* ext/pulse/pulsemixerctrl.h:
* ext/pulse/pulsemixertrack.c: (gst_pulsemixer_track_class_init),
(gst_pulsemixer_track_init), (gst_pulsemixer_track_new):
* ext/pulse/pulsemixertrack.h:
* ext/pulse/pulseprobe.c: (gst_pulseprobe_context_state_cb),
(gst_pulseprobe_sink_info_cb), (gst_pulseprobe_source_info_cb),
(gst_pulseprobe_invalidate), (gst_pulseprobe_open),
(gst_pulseprobe_enumerate), (gst_pulseprobe_close),
(gst_pulseprobe_new), (gst_pulseprobe_free),
(gst_pulseprobe_get_properties), (gst_pulseprobe_needs_probe),
(gst_pulseprobe_probe_property), (gst_pulseprobe_get_values),
(gst_pulseprobe_set_server):
* ext/pulse/pulseprobe.h:
* ext/pulse/pulsesink.c: (gst_pulsesink_base_init),
(gst_pulsesink_class_init), (gst_pulsesink_init),
(gst_pulsesink_destroy_stream), (gst_pulsesink_destroy_context),
(gst_pulsesink_finalize), (gst_pulsesink_dispose),
(gst_pulsesink_set_property), (gst_pulsesink_get_property),
(gst_pulsesink_context_state_cb), (gst_pulsesink_stream_state_cb),
(gst_pulsesink_stream_request_cb),
(gst_pulsesink_stream_latency_update_cb), (gst_pulsesink_open),
(gst_pulsesink_close), (gst_pulsesink_prepare),
(gst_pulsesink_unprepare), (gst_pulsesink_write),
(gst_pulsesink_delay), (gst_pulsesink_success_cb),
(gst_pulsesink_reset), (gst_pulsesink_change_title),
(gst_pulsesink_event), (gst_pulsesink_get_type):
* ext/pulse/pulsesink.h:
* ext/pulse/pulsesrc.c: (gst_pulsesrc_interface_supported),
(gst_pulsesrc_implements_interface_init),
(gst_pulsesrc_init_interfaces), (gst_pulsesrc_base_init),
(gst_pulsesrc_class_init), (gst_pulsesrc_init),
(gst_pulsesrc_destroy_stream), (gst_pulsesrc_destroy_context),
(gst_pulsesrc_finalize), (gst_pulsesrc_dispose),
(gst_pulsesrc_set_property), (gst_pulsesrc_get_property),
(gst_pulsesrc_context_state_cb), (gst_pulsesrc_stream_state_cb),
(gst_pulsesrc_stream_request_cb), (gst_pulsesrc_open),
(gst_pulsesrc_close), (gst_pulsesrc_prepare),
(gst_pulsesrc_unprepare), (gst_pulsesrc_read),
(gst_pulsesrc_delay), (gst_pulsesrc_change_state),
(gst_pulsesrc_get_type):
* ext/pulse/pulsesrc.h:
* ext/pulse/pulseutil.c: (gst_pulse_fill_sample_spec),
(gst_pulse_client_name), (gst_pulse_gst_to_channel_map):
* ext/pulse/pulseutil.h:
Add pulseaudio GStreamer element from gst-pulse. Development will
continue here instead of pulseaudio SVN. Fixes bug #400679.
Only changes over gst-pulse SVN are added copyright to the top of
files and coding style changes.

16 years agoext/cdio/: Also extract album title and album genre from CD-TEXT if available (#537021).
Benjamin Kampmann [Mon, 9 Jun 2008 20:02:05 +0000 (20:02 +0000)]
ext/cdio/: Also extract album title and album genre from CD-TEXT if available (#537021).

Original commit message from CVS:
Patch by: Benjamin Kampmann  <benjamin at fluendo dot com>
* ext/cdio/gstcdio.c: (gst_cdio_get_cdtext),
(gst_cdio_add_cdtext_album_tags):
* ext/cdio/gstcdio.h:
* ext/cdio/gstcdiocddasrc.c: (gst_cdio_cdda_src_open):
Also extract album title and album genre from CD-TEXT if
available (#537021).

16 years agosys/v4l2/gstv4l2src.c: Improve negotiation a bit more by picking the smallest possibl...
Sjoerd Simons [Mon, 9 Jun 2008 08:52:04 +0000 (08:52 +0000)]
sys/v4l2/gstv4l2src.c: Improve negotiation a bit more by picking the smallest possible resolution that is larger than...

Original commit message from CVS:
Patch by: Sjoerd Simons <sjoerd at luon dot net>
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_negotiate):
Improve negotiation a bit more by picking the smallest possible
resolution that is larger than the resolution specified in the
first caps entry of the peer caps. Fixes bug #536994.

16 years agosys/v4l2/: Fix compilation with newer GIT kernels that deprecated
Bastien Nocera [Mon, 9 Jun 2008 08:42:49 +0000 (08:42 +0000)]
sys/v4l2/: Fix compilation with newer GIT kernels that deprecated

Original commit message from CVS:
Patch by: Bastien Nocera <hadess at hadess dot net>
* sys/v4l2/gstv4l2vidorient.c:
* sys/v4l2/v4l2_calls.c: (gst_v4l2_fill_lists):
Fix compilation with newer GIT kernels that deprecated
V4L2_CID_HCENTER and V4L2_CID_VCENTER. Fixes bug #536317.

16 years agoRequire libcdio >= 0.76.
Tim-Philipp Müller [Sat, 7 Jun 2008 18:48:54 +0000 (18:48 +0000)]
Require libcdio >= 0.76.

Original commit message from CVS:
* configure.ac:
* ext/cdio/gstcdio.c:
* ext/cdio/gstcdio.h:
* ext/cdio/gstcdiocddasrc.c: (gst_cdio_cdda_src_open):
Require libcdio >= 0.76.

16 years agogst/interleave/: Properly implement duration and position queries in bytes format...
Sebastian Dröge [Thu, 5 Jun 2008 11:07:17 +0000 (11:07 +0000)]
gst/interleave/: Properly implement duration and position queries in bytes format. We have to take the upstream reply...

Original commit message from CVS:
* gst/interleave/deinterleave.c: (gst_deinterleave_add_new_pads),
(gst_deinterleave_src_query):
* gst/interleave/interleave.c: (gst_interleave_src_query_duration),
(gst_interleave_src_query):
Properly implement duration and position queries in bytes format. We
have to take the upstream reply and divide/multiply it by the number
of channels to get the correct result.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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