platform/upstream/gstreamer.git
12 years agouridecodebin: fix template name
Wim Taymans [Fri, 4 Nov 2011 12:00:36 +0000 (13:00 +0100)]
uridecodebin: fix template name

12 years agooggdemux: fix somtimes pad
Wim Taymans [Fri, 4 Nov 2011 11:53:33 +0000 (12:53 +0100)]
oggdemux: fix somtimes pad

12 years agofix pad template names for request pads
Wim Taymans [Fri, 4 Nov 2011 09:48:50 +0000 (10:48 +0100)]
fix pad template names for request pads

12 years agortpbuffer: Fix compilation issues with gcc 4.6.1
Edward Hervey [Fri, 4 Nov 2011 07:41:00 +0000 (08:41 +0100)]
rtpbuffer: Fix compilation issues with gcc 4.6.1

12 years agowin32: Update for modified API
Edward Hervey [Fri, 4 Nov 2011 07:58:23 +0000 (08:58 +0100)]
win32: Update for modified API

12 years agoReally remove all mention of gstnetbuffer
Edward Hervey [Fri, 4 Nov 2011 07:57:45 +0000 (08:57 +0100)]
Really remove all mention of gstnetbuffer

12 years agoupdate for request pads change.
Wim Taymans [Thu, 3 Nov 2011 16:58:57 +0000 (17:58 +0100)]
update for request pads change.

12 years agonet: remove net library, it's now in core
Wim Taymans [Thu, 3 Nov 2011 15:48:51 +0000 (16:48 +0100)]
net: remove net library, it's now in core

12 years agotests: fix netbuffer test
Wim Taymans [Thu, 3 Nov 2011 13:19:50 +0000 (14:19 +0100)]
tests: fix netbuffer test

12 years agoupdate for tag API removal
Wim Taymans [Wed, 2 Nov 2011 11:08:22 +0000 (12:08 +0100)]
update for tag API removal

12 years agovideo: Add convenience macros for accessing GstVideoInfo flags
Edward Hervey [Wed, 2 Nov 2011 10:24:05 +0000 (11:24 +0100)]
video: Add convenience macros for accessing GstVideoInfo flags

12 years agonetbuffer: _netaddress_ -> _net_address_
Wim Taymans [Mon, 31 Oct 2011 01:39:48 +0000 (02:39 +0100)]
netbuffer: _netaddress_ -> _net_address_

12 years agonetaddress: updata api
Wim Taymans [Mon, 31 Oct 2011 01:35:36 +0000 (02:35 +0100)]
netaddress: updata api

12 years agorename meta* -> *meta
Wim Taymans [Mon, 31 Oct 2011 01:23:21 +0000 (02:23 +0100)]
rename meta* -> *meta

12 years agoalsa: update for new task api
Wim Taymans [Sat, 29 Oct 2011 07:28:57 +0000 (09:28 +0200)]
alsa: update for new task api

12 years agostructure: fix for api update
Wim Taymans [Sat, 29 Oct 2011 07:03:07 +0000 (09:03 +0200)]
structure: fix for api update

12 years agobufferlist: update for new API
Wim Taymans [Sat, 29 Oct 2011 06:25:07 +0000 (08:25 +0200)]
bufferlist: update for new API

12 years agoUpdate for pad API changes
Tim-Philipp Müller [Tue, 1 Nov 2011 00:34:28 +0000 (00:34 +0000)]
Update for pad API changes

GstProbeType, GstProbeReturn and GstActivateMode -> GstPad*

12 years agosubtitleoverlay: don't include header that's been removed
Tim-Philipp Müller [Mon, 31 Oct 2011 14:26:09 +0000 (14:26 +0000)]
subtitleoverlay: don't include header that's been removed

12 years agoMerge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Mon, 31 Oct 2011 14:22:58 +0000 (14:22 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11

12 years agoaudioencoder: save audio info parsed in setcaps in encoder context
Tim-Philipp Müller [Sun, 30 Oct 2011 14:51:48 +0000 (14:51 +0000)]
audioencoder: save audio info parsed in setcaps in encoder context

Otherwise we'll just error out when the first buffer gets pushed.
This is a porting artefact, in 0.10 the infos were allocated on the
heap, now we're doing everything with stack-allocated structs.

12 years agoext, gst, gst-libs, tests: update for tag list API changes
Tim-Philipp Müller [Sun, 30 Oct 2011 11:09:10 +0000 (11:09 +0000)]
ext, gst, gst-libs, tests: update for tag list API changes

12 years agoaudio: remove old C file generated from template
René Stadler [Mon, 31 Oct 2011 14:16:36 +0000 (15:16 +0100)]
audio: remove old C file generated from template

Not sure how this one got pulled into a merge. In 0.10, it was moved away to
gst-template a long time ago. gstaudiofilterexample.c got generated from
gstaudiofiltertemplate.c.

12 years agosubtitleoverlay: don't use soon-to-be-deprecated gst_filter_run()
Tim-Philipp Müller [Sun, 30 Oct 2011 20:00:47 +0000 (20:00 +0000)]
subtitleoverlay: don't use soon-to-be-deprecated gst_filter_run()

12 years agoconfigure.ac: Fix build
Edward Hervey [Fri, 28 Oct 2011 16:45:09 +0000 (18:45 +0200)]
configure.ac: Fix build

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Fri, 28 Oct 2011 14:24:44 +0000 (16:24 +0200)]
Merge branch 'master' into 0.11

12 years agofix compile for SEEK_TYPE_CUR removal
Wim Taymans [Fri, 28 Oct 2011 14:11:36 +0000 (16:11 +0200)]
fix compile for SEEK_TYPE_CUR removal

12 years agoaudiosink: avoid deadlocking audioringbuffer thread
Mersad Jelacic [Fri, 28 Oct 2011 11:58:47 +0000 (13:58 +0200)]
audiosink: avoid deadlocking audioringbuffer thread

... when it goes into wait for ringbuffer starting just after such
having been signalled.

Fixes #661738.

12 years agoaudiofilter: use BPF for unit_size
Wim Taymans [Fri, 28 Oct 2011 09:37:31 +0000 (11:37 +0200)]
audiofilter: use BPF for unit_size

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Fri, 28 Oct 2011 09:34:37 +0000 (11:34 +0200)]
Merge branch 'master' into 0.11

12 years agoaudiofilter: fix get_unit_size
René Stadler [Fri, 28 Oct 2011 08:44:38 +0000 (10:44 +0200)]
audiofilter: fix get_unit_size

12 years agoaudiofilter: init audio info sooner
René Stadler [Fri, 28 Oct 2011 09:13:52 +0000 (11:13 +0200)]
audiofilter: init audio info sooner

12 years agoaudio, video: init audio/video format info to UNKNOWN format
René Stadler [Fri, 28 Oct 2011 09:11:55 +0000 (11:11 +0200)]
audio, video: init audio/video format info to UNKNOWN format

This is to prevent e.g. GST_AUDIO_INFO_FORMAT() from crashing on a NULL pointer
dereference when used with an unset info.

12 years agotypefind: extract SOF marker in jpeg typefinder
Philip Jägenstedt [Tue, 26 Apr 2011 20:20:29 +0000 (22:20 +0200)]
typefind: extract SOF marker in jpeg typefinder

The SOF types are defined by http://www.w3.org/Graphics/JPEG/itu-t81.pdf

This is needed to make sure that we plug a jpeg decoder that
can handle the type of JPEG we have (e.g. lossless JPEG)

https://bugzilla.gnome.org/show_bug.cgi?id=556648

12 years agooggmux: port to gstcollectpads2
Thiago Santos [Mon, 10 Aug 2009 01:48:29 +0000 (01:48 +0000)]
oggmux: port to gstcollectpads2

12 years agobasertppay: rename caps fields
Wim Taymans [Thu, 27 Oct 2011 16:54:50 +0000 (18:54 +0200)]
basertppay: rename caps fields

Make the caps fields for timestamp and seqnum match the element
properties.

See #628773

12 years agobasedepay: remove old fields
Wim Taymans [Thu, 27 Oct 2011 16:50:32 +0000 (18:50 +0200)]
basedepay: remove old fields

12 years agotests: fix compilation
Wim Taymans [Thu, 27 Oct 2011 15:33:06 +0000 (17:33 +0200)]
tests: fix compilation

12 years agofix compilation
Wim Taymans [Thu, 27 Oct 2011 15:26:58 +0000 (17:26 +0200)]
fix compilation

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Thu, 27 Oct 2011 13:44:58 +0000 (15:44 +0200)]
Merge branch 'master' into 0.11

Conflicts:
configure.ac
gst-libs/gst/audio/gstbaseaudiosink.c
gst/audioconvert/channelmixtest.c
gst/playback/gstplaybasebin.c
gst/playback/gstsubtitleoverlay.c
tests/examples/Makefile.am
tests/examples/audio/Makefile.am

12 years agooverlay: fix compilation
Wim Taymans [Thu, 27 Oct 2011 13:29:36 +0000 (15:29 +0200)]
overlay: fix compilation

12 years agobuild: Fix build for moved volume subdir
Jan Schmidt [Thu, 27 Oct 2011 12:39:31 +0000 (23:39 +1100)]
build: Fix build for moved volume subdir

12 years agovolume: move volume example to audio
Stefan Sauer [Thu, 27 Oct 2011 07:51:46 +0000 (09:51 +0200)]
volume: move volume example to audio

12 years agoaudio examples. fix the makefile
Stefan Sauer [Thu, 27 Oct 2011 07:42:36 +0000 (09:42 +0200)]
audio examples. fix the makefile

12 years agovolume: make global vars static
Stefan Sauer [Thu, 27 Oct 2011 07:33:55 +0000 (09:33 +0200)]
volume: make global vars static

12 years agoaudiomix: add a simple audiomix example
Stefan Sauer [Thu, 27 Oct 2011 07:33:01 +0000 (09:33 +0200)]
audiomix: add a simple audiomix example

12 years agoplaysinkaudioconvert: Fix warning when there is no target pad yet
Jan Schmidt [Tue, 25 Oct 2011 09:04:06 +0000 (20:04 +1100)]
playsinkaudioconvert: Fix warning when there is no target pad yet

12 years agodecodebin2: Link elements before testing if they can reach the READY state
Nicolas Dufresne [Thu, 13 Oct 2011 15:34:49 +0000 (11:34 -0400)]
decodebin2: Link elements before testing if they can reach the READY state

This is made possible by filtering errors. This is required to let
harware accelerated element query the video context. The video context
is used to determine if the HW is capable, and thus if the element is
supported or not.

Fixes bug #662330.

12 years agoplaybasebin: remove avoidable call to gst_object_set_name
René Stadler [Fri, 21 Oct 2011 19:57:17 +0000 (21:57 +0200)]
playbasebin: remove avoidable call to gst_object_set_name

12 years agooggdemux: remove avoidable call to gst_object_set_name
René Stadler [Fri, 21 Oct 2011 19:41:03 +0000 (21:41 +0200)]
oggdemux: remove avoidable call to gst_object_set_name

12 years agoaudioconvert: bury dead test program
René Stadler [Fri, 21 Oct 2011 19:39:01 +0000 (21:39 +0200)]
audioconvert: bury dead test program

12 years agointerfaces: clean up the use of iface and class/klass
Stefan Sauer [Fri, 21 Oct 2011 12:37:31 +0000 (14:37 +0200)]
interfaces: clean up the use of iface and class/klass

12 years agoDisable ext/vorbis for the android ndk build
Reynaldo H. Verdejo Pinochet [Thu, 20 Oct 2011 13:13:46 +0000 (10:13 -0300)]
Disable ext/vorbis for the android ndk build

It currently makes the build fail. Idea is to enable
it back again once its building problems get sorted
out.

12 years agosubtitleoverlay: fix leaks of pad templates and internal proxy pads
René Stadler [Wed, 19 Oct 2011 17:44:06 +0000 (19:44 +0200)]
subtitleoverlay: fix leaks of pad templates and internal proxy pads

12 years agosubtitleoverlay: fix leak of element reference through pad block
René Stadler [Wed, 19 Oct 2011 17:37:07 +0000 (19:37 +0200)]
subtitleoverlay: fix leak of element reference through pad block

If the pad block never happens because there is no data flow at all, the
callback is never fired and the reference is never released. This causes a
reference cycle between the pad and element, so valgrind is not very vocal
about it (memory is still reachable).

12 years agoaudiodecoder: having gather queue contents implies some draining is in order
Mark Nauwelaerts [Tue, 18 Oct 2011 19:42:21 +0000 (21:42 +0200)]
audiodecoder: having gather queue contents implies some draining is in order

... which ensures e.g. processing and sending last fragment of reverse playback
downstream at EOS.

12 years agovorbisdec: do not try to read past the buffer array
Vincent Penquerc'h [Wed, 19 Oct 2011 14:28:44 +0000 (15:28 +0100)]
vorbisdec: do not try to read past the buffer array

https://bugzilla.gnome.org/show_bug.cgi?id=662108

12 years agovorbisdec: only finish header packet frame if received in-stream
Mark Nauwelaerts [Tue, 18 Oct 2011 19:40:54 +0000 (21:40 +0200)]
vorbisdec: only finish header packet frame if received in-stream

... rather than scaring audiodecoder with a frame extracted from caps.

Fixes #662108 (partially).

12 years agox(v)imagesink: make it more clean that "synchronous" props are not for avsync
Stefan Sauer [Wed, 19 Oct 2011 08:41:31 +0000 (10:41 +0200)]
x(v)imagesink: make it more clean that "synchronous" props are not for avsync

12 years agobaseaudiosink: fix unused variable compiler warning if debugging in core is disabled
Tim-Philipp Müller [Tue, 18 Oct 2011 23:32:13 +0000 (00:32 +0100)]
baseaudiosink: fix unused variable compiler warning if debugging in core is disabled

https://bugzilla.gnome.org/show_bug.cgi?id=660150

12 years agosubtitleoverlay: fix event unref in (rare) error case
René Stadler [Tue, 18 Oct 2011 11:00:29 +0000 (13:00 +0200)]
subtitleoverlay: fix event unref in (rare) error case

12 years agoaudiotestsrc: fix crash when setting the wave property before having negotiated a...
Tim-Philipp Müller [Mon, 17 Oct 2011 14:41:58 +0000 (15:41 +0100)]
audiotestsrc: fix crash when setting the wave property before having negotiated a format

https://bugzilla.gnome.org/show_bug.cgi?id=661911

12 years agodecodebin2: fire drained signal where appropriate
Vincent Penquerc'h [Fri, 7 Oct 2011 16:41:32 +0000 (17:41 +0100)]
decodebin2: fire drained signal where appropriate

This will allow playbin2 to send its about-to-finish signal.
Taken out (apparently by mistake) by the EOS rewrite in july.

https://bugzilla.gnome.org/show_bug.cgi?id=661202

12 years agoaudioconvert: We can handle channels conversion
Edward Hervey [Mon, 17 Oct 2011 10:28:58 +0000 (12:28 +0200)]
audioconvert: We can handle channels conversion

12 years agoaudio: Add some default channel positions
Edward Hervey [Mon, 17 Oct 2011 10:00:55 +0000 (12:00 +0200)]
audio: Add some default channel positions

12 years agoaudio: Properly handle signedness in gst_audio_format_build_integer()
Edward Hervey [Mon, 17 Oct 2011 10:00:16 +0000 (12:00 +0200)]
audio: Properly handle signedness in gst_audio_format_build_integer()

12 years agooggdemux: do not retry seeking indefinitely
Vincent Penquerc'h [Sun, 16 Oct 2011 10:32:41 +0000 (11:32 +0100)]
oggdemux: do not retry seeking indefinitely

https://bugzilla.gnome.org/show_bug.cgi?id=661897

12 years agoaudio: Indent and doc fixes
Edward Hervey [Mon, 17 Oct 2011 09:45:39 +0000 (11:45 +0200)]
audio: Indent and doc fixes

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Thu, 13 Oct 2011 06:53:34 +0000 (08:53 +0200)]
Merge branch 'master' into 0.11

12 years agodiscoverer: Only call gst_video_info_from_caps on raw video
Edward Hervey [Tue, 11 Oct 2011 15:42:35 +0000 (17:42 +0200)]
discoverer: Only call gst_video_info_from_caps on raw video

12 years agoaudiotestsrc: update blocksize when caps or samples-per-buffer change
Thiago Santos [Mon, 10 Oct 2011 15:15:37 +0000 (12:15 -0300)]
audiotestsrc: update blocksize when caps or samples-per-buffer change

Blocksize needs to be updated so we get a correct size buffer on
_fill function.

12 years agovideotestsrc: fix LDADD missing GST_LIBS
Brian Cameron [Mon, 10 Oct 2011 11:11:59 +0000 (13:11 +0200)]
videotestsrc: fix LDADD missing GST_LIBS

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Mon, 10 Oct 2011 09:45:49 +0000 (11:45 +0200)]
Merge branch 'master' into 0.11

Conflicts:
ext/vorbis/gstvorbisenc.c

12 years agoupdate for UNEXPECTED -> EOS flowreturn
Wim Taymans [Mon, 10 Oct 2011 09:39:52 +0000 (11:39 +0200)]
update for UNEXPECTED -> EOS flowreturn

12 years agolibs: video: Add protection against null strings
Thiago Santos [Sun, 9 Oct 2011 17:21:28 +0000 (14:21 -0300)]
libs: video: Add protection against null strings

Check and assert if input for gst_video_format_from_string is null.
Return GST_VIDEO_FORMAT_UNKNOWN as a fallback

12 years agotests: Updating some tests with GstXOverlayClass -> GstVideoOverlayIface
Thiago Santos [Sun, 9 Oct 2011 16:36:38 +0000 (13:36 -0300)]
tests: Updating some tests with GstXOverlayClass -> GstVideoOverlayIface

12 years agovorbisenc: only push header buffers following initial events
Mark Nauwelaerts [Sun, 9 Oct 2011 19:19:32 +0000 (21:19 +0200)]
vorbisenc: only push header buffers following initial events

12 years agoaudiodecoder: update to 0.11 API after merge
Tim-Philipp Müller [Sun, 9 Oct 2011 15:15:54 +0000 (16:15 +0100)]
audiodecoder: update to 0.11 API after merge

12 years agoMerge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Sun, 9 Oct 2011 15:08:36 +0000 (16:08 +0100)]
Merge remote-tracking branch 'origin/master' into 0.11

Conflicts:
tests/check/pipelines/vorbisdec.c
tests/check/pipelines/vorbisenc.c

12 years agoaudioencoder: fix compile warning
Alessandro Decina [Sun, 9 Oct 2011 14:48:18 +0000 (16:48 +0200)]
audioencoder: fix compile warning

12 years agotests: vorbisenc: adjust discontinuity checking to audioencoder behaviour
Mark Nauwelaerts [Sat, 8 Oct 2011 18:17:43 +0000 (20:17 +0200)]
tests: vorbisenc: adjust discontinuity checking to audioencoder behaviour

... which still detects gaps and marks DISCONT, depending on configuration,
but may come up with somewhat different timestamps when crossing the gap.

12 years agotests: vorbisdec: properly configure audiodecoder when requiring perfect ts
Mark Nauwelaerts [Sat, 8 Oct 2011 18:16:04 +0000 (20:16 +0200)]
tests: vorbisdec: properly configure audiodecoder when requiring perfect ts

12 years agotests: vorbisdec: remove empty header buffer check
Mark Nauwelaerts [Sat, 8 Oct 2011 18:14:27 +0000 (20:14 +0200)]
tests: vorbisdec: remove empty header buffer check

... as empty buffers are discarded, and header buffers are now
also optionally retrieved from caps anyway.

12 years agoaudioencoder: only resync to upstream upon discont in perfect ts mode
Mark Nauwelaerts [Sat, 8 Oct 2011 18:13:11 +0000 (20:13 +0200)]
audioencoder: only resync to upstream upon discont in perfect ts mode

... as documented, where discont is marked here if tolerance has been
exceeded.

12 years agoaudiodecoder: fix timestamp tolerance handling
Mark Nauwelaerts [Sat, 8 Oct 2011 18:11:22 +0000 (20:11 +0200)]
audiodecoder: fix timestamp tolerance handling

12 years agoaudiodecoder: handle empty input by discarding
Mark Nauwelaerts [Sat, 8 Oct 2011 18:09:09 +0000 (20:09 +0200)]
audiodecoder: handle empty input by discarding

12 years agovorbisdec: report to 0.11
Wim Taymans [Sat, 8 Oct 2011 09:05:29 +0000 (11:05 +0200)]
vorbisdec: report to 0.11

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Sat, 8 Oct 2011 08:19:06 +0000 (10:19 +0200)]
Merge branch 'master' into 0.11

Conflicts:
ext/vorbis/gstvorbisdec.c
ext/vorbis/gstvorbisenc.c
ext/vorbis/gstvorbisenc.h
gst/audiotestsrc/gstaudiotestsrc.c

12 years agovorbisdec: port to audiodecoder
Mark Nauwelaerts [Fri, 7 Oct 2011 12:52:33 +0000 (14:52 +0200)]
vorbisdec: port to audiodecoder

12 years agoaudioencoder: make upstream queries MT-safe
Mark Nauwelaerts [Fri, 7 Oct 2011 12:33:04 +0000 (14:33 +0200)]
audioencoder: make upstream queries MT-safe

12 years agoaudiodecoder: make upstream queries and events MT-safe
Mark Nauwelaerts [Fri, 7 Oct 2011 12:32:33 +0000 (14:32 +0200)]
audiodecoder: make upstream queries and events MT-safe

12 years agovorbisenc: port to audioencoder
Mark Nauwelaerts [Wed, 5 Oct 2011 13:43:35 +0000 (15:43 +0200)]
vorbisenc: port to audioencoder

12 years agooggdemux: don't leak scheduling query
René Stadler [Fri, 7 Oct 2011 12:05:19 +0000 (14:05 +0200)]
oggdemux: don't leak scheduling query

12 years agotests: actually test what we said we would
Vincent Penquerc'h [Thu, 6 Oct 2011 17:21:29 +0000 (18:21 +0100)]
tests: actually test what we said we would

All tests were testing the default sine wave

https://bugzilla.gnome.org/show_bug.cgi?id=661106

12 years agoaudiotestsrc: add missing break
Vincent Penquerc'h [Thu, 6 Oct 2011 17:20:32 +0000 (18:20 +0100)]
audiotestsrc: add missing break

And make violet noise usable

https://bugzilla.gnome.org/show_bug.cgi?id=661105

12 years agoplaysink: fix caps negotiation through the new convenience bins
Vincent Penquerc'h [Thu, 6 Oct 2011 14:38:49 +0000 (15:38 +0100)]
playsink: fix caps negotiation through the new convenience bins

The bins' getcaps was bypassing the inner elements, and thus
failing to account for the caps transformations they allow,
which caused YUV video pipelines to fail with ximagesink, which
does not support YUV, even though the convenience bin includes
a colorspace converter for just this purpose.

https://bugzilla.gnome.org/show_bug.cgi?id=660816

12 years agoplaybin2: fix mismatch between video/ and video/x-dvd-subpicture
Vincent Penquerc'h [Thu, 6 Oct 2011 10:53:26 +0000 (11:53 +0100)]
playbin2: fix mismatch between video/ and video/x-dvd-subpicture

The new code was checking for a prefix, and would find video/
first. Check in two passes, first checking for a perfect match,
and falling back to a prefix check if nothing was found.

https://bugzilla.gnome.org/show_bug.cgi?id=657261

12 years agoencodebin: Re-enable parsers
Thiago Santos [Wed, 5 Oct 2011 00:17:37 +0000 (21:17 -0300)]
encodebin: Re-enable parsers

Re-enable parsers in encodebin to allow more passthrough scenarios
to work. Specially the ones that require changing 'stream formats'.
i.e. h264 in mkv to mpegts.

12 years agoplaysink: Add audio- and text-sink props
Robert Swain [Wed, 5 Oct 2011 10:45:19 +0000 (12:45 +0200)]
playsink: Add audio- and text-sink props

12 years agoaudio: Make sure 'channels' and 'channel-positions' are coherent
Edward Hervey [Wed, 5 Oct 2011 09:57:54 +0000 (11:57 +0200)]
audio: Make sure 'channels' and 'channel-positions' are coherent

If channel-positions are present, check they match the reported
'channels' value.