Wim Taymans [Thu, 27 Oct 2011 15:26:58 +0000 (17:26 +0200)]
fix compilation
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
Wim Taymans [Thu, 27 Oct 2011 13:29:36 +0000 (15:29 +0200)]
overlay: fix compilation
Jan Schmidt [Thu, 27 Oct 2011 12:39:31 +0000 (23:39 +1100)]
build: Fix build for moved volume subdir
Stefan Sauer [Thu, 27 Oct 2011 07:51:46 +0000 (09:51 +0200)]
volume: move volume example to audio
Stefan Sauer [Thu, 27 Oct 2011 07:42:36 +0000 (09:42 +0200)]
audio examples. fix the makefile
Stefan Sauer [Thu, 27 Oct 2011 07:33:55 +0000 (09:33 +0200)]
volume: make global vars static
Stefan Sauer [Thu, 27 Oct 2011 07:33:01 +0000 (09:33 +0200)]
audiomix: add a simple audiomix example
Jan Schmidt [Tue, 25 Oct 2011 09:04:06 +0000 (20:04 +1100)]
playsinkaudioconvert: Fix warning when there is no target pad yet
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.
René Stadler [Fri, 21 Oct 2011 19:57:17 +0000 (21:57 +0200)]
playbasebin: 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
René Stadler [Fri, 21 Oct 2011 19:39:01 +0000 (21:39 +0200)]
audioconvert: bury dead test program
Stefan Sauer [Fri, 21 Oct 2011 12:37:31 +0000 (14:37 +0200)]
interfaces: clean up the use of iface and class/klass
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.
René Stadler [Wed, 19 Oct 2011 17:44:06 +0000 (19:44 +0200)]
subtitleoverlay: fix leaks of pad templates and internal proxy pads
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).
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.
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
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).
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
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
René Stadler [Tue, 18 Oct 2011 11:00:29 +0000 (13:00 +0200)]
subtitleoverlay: fix event unref in (rare) error case
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
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
Edward Hervey [Mon, 17 Oct 2011 10:28:58 +0000 (12:28 +0200)]
audioconvert: We can handle channels conversion
Edward Hervey [Mon, 17 Oct 2011 10:00:55 +0000 (12:00 +0200)]
audio: Add some default channel positions
Edward Hervey [Mon, 17 Oct 2011 10:00:16 +0000 (12:00 +0200)]
audio: Properly handle signedness in gst_audio_format_build_integer()
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
Edward Hervey [Mon, 17 Oct 2011 09:45:39 +0000 (11:45 +0200)]
audio: Indent and doc fixes
Wim Taymans [Thu, 13 Oct 2011 06:53:34 +0000 (08:53 +0200)]
Merge branch 'master' into 0.11
Edward Hervey [Tue, 11 Oct 2011 15:42:35 +0000 (17:42 +0200)]
discoverer: Only call gst_video_info_from_caps on raw video
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.
Brian Cameron [Mon, 10 Oct 2011 11:11:59 +0000 (13:11 +0200)]
videotestsrc: fix LDADD missing GST_LIBS
Wim Taymans [Mon, 10 Oct 2011 09:45:49 +0000 (11:45 +0200)]
Merge branch 'master' into 0.11
Conflicts:
ext/vorbis/gstvorbisenc.c
Wim Taymans [Mon, 10 Oct 2011 09:39:52 +0000 (11:39 +0200)]
update for UNEXPECTED -> EOS flowreturn
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
Thiago Santos [Sun, 9 Oct 2011 16:36:38 +0000 (13:36 -0300)]
tests: Updating some tests with GstXOverlayClass -> GstVideoOverlayIface
Mark Nauwelaerts [Sun, 9 Oct 2011 19:19:32 +0000 (21:19 +0200)]
vorbisenc: only push header buffers following initial events
Tim-Philipp Müller [Sun, 9 Oct 2011 15:15:54 +0000 (16:15 +0100)]
audiodecoder: update to 0.11 API after merge
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
Alessandro Decina [Sun, 9 Oct 2011 14:48:18 +0000 (16:48 +0200)]
audioencoder: fix compile warning
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.
Mark Nauwelaerts [Sat, 8 Oct 2011 18:16:04 +0000 (20:16 +0200)]
tests: vorbisdec: properly configure audiodecoder when requiring perfect ts
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.
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.
Mark Nauwelaerts [Sat, 8 Oct 2011 18:11:22 +0000 (20:11 +0200)]
audiodecoder: fix timestamp tolerance handling
Mark Nauwelaerts [Sat, 8 Oct 2011 18:09:09 +0000 (20:09 +0200)]
audiodecoder: handle empty input by discarding
Wim Taymans [Sat, 8 Oct 2011 09:05:29 +0000 (11:05 +0200)]
vorbisdec: report to 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
Mark Nauwelaerts [Fri, 7 Oct 2011 12:52:33 +0000 (14:52 +0200)]
vorbisdec: port to audiodecoder
Mark Nauwelaerts [Fri, 7 Oct 2011 12:33:04 +0000 (14:33 +0200)]
audioencoder: make upstream queries MT-safe
Mark Nauwelaerts [Fri, 7 Oct 2011 12:32:33 +0000 (14:32 +0200)]
audiodecoder: make upstream queries and events MT-safe
Mark Nauwelaerts [Wed, 5 Oct 2011 13:43:35 +0000 (15:43 +0200)]
vorbisenc: port to audioencoder
René Stadler [Fri, 7 Oct 2011 12:05:19 +0000 (14:05 +0200)]
oggdemux: don't leak scheduling query
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
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
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
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
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.
Robert Swain [Wed, 5 Oct 2011 10:45:19 +0000 (12:45 +0200)]
playsink: Add audio- and text-sink props
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.
Edward Hervey [Wed, 5 Oct 2011 09:51:07 +0000 (11:51 +0200)]
audio: Fix overread in channel positions
The array we're writing to is limited to 64 ... but the amount of
input positions might be lower than 64. Therefore use MIN and not
MAX to know how many values to read from the array.
Stefan Sauer [Tue, 4 Oct 2011 21:09:42 +0000 (23:09 +0200)]
auditestsrc: indent fix
Wim Taymans [Tue, 4 Oct 2011 16:06:07 +0000 (18:06 +0200)]
playbin2: port new bits to 0.11
Wim Taymans [Tue, 4 Oct 2011 15:58:49 +0000 (17:58 +0200)]
Merge branch 'master' into 0.11
Wim Taymans [Tue, 4 Oct 2011 15:56:19 +0000 (17:56 +0200)]
Makefile: remove 0.11 fixme
Robert Swain [Tue, 4 Oct 2011 14:22:55 +0000 (16:22 +0200)]
playsink: Add video-sink property
The video-sink property allows manual specification via g_object_set ()
of the video sink element to be used.
Sebastian Dröge [Mon, 3 Oct 2011 13:20:06 +0000 (15:20 +0200)]
playbin2: Minor cleanup of decoder-sink compatibility checking code
Thibault Saunier [Fri, 30 Sep 2011 15:29:34 +0000 (12:29 -0300)]
playbin2: Make sure that the decoders we plug are compatible with the fixed sink
The fact that a decoder is not compatible with the fixed sink
is currently happenning in the case where we have hardware accelerated
video decoders on the system (especially vaapi elements that are actually plugged),
and the user is providing a sink that doesn't support the surface.
A simple example that shows how it used to crash on a system where gstreamer-vaapi
is installed:
gst-launch playbin2 video-sink=xvimagesink uri=/codec/supported/by/vaapi
What we are now doing in this case, is avoid using the accelerated
decoder and plug a "normal" decoder instead (if avalaible).
This commit doesn't handle the case where we have hardware accelerated
demuxing.
Vincent Penquerc'h [Fri, 18 Feb 2011 11:48:37 +0000 (11:48 +0000)]
encoding-profile: add a function to create a profile from a discoverer info
Only A/V streams are added at the moment, there does not seem to be
a similar way to add other streams (eg, subtitles).
https://bugzilla.gnome.org/show_bug.cgi?id=642878
Vincent Penquerc'h [Mon, 26 Sep 2011 23:26:29 +0000 (00:26 +0100)]
alsasrc: fail gracefully when ALSA does not give timestamps
https://bugzilla.gnome.org/show_bug.cgi?id=660170
Sebastian Dröge [Mon, 3 Oct 2011 08:55:53 +0000 (10:55 +0200)]
decodebin2: Use a TIME limit for pre-rolling in live streams and not in non-live streams
Fixes bug #647769 for real.
Wim Taymans [Mon, 3 Oct 2011 08:11:19 +0000 (10:11 +0200)]
Merge branch 'master' into 0.11
Conflicts:
ext/pango/gsttextoverlay.c
gst/encoding/gstencodebin.c
Wim Taymans [Mon, 3 Oct 2011 08:02:21 +0000 (10:02 +0200)]
video: add h264 transfer functions
Vincent Penquerc'h [Sat, 1 Oct 2011 00:05:00 +0000 (01:05 +0100)]
textoverlay: add YV12 support
Basically the same as I420, just with chroma planes swapped.
https://bugzilla.gnome.org/show_bug.cgi?id=660604
Thiago Santos [Fri, 30 Sep 2011 12:44:12 +0000 (09:44 -0300)]
encodebin: Fix typo on formatter adding condition
The condition is if the muxer doesn't have tag setter *and* isn't
a formatter itself. Any of those two conditions makes the muxer
good enough to not need a formatter.
Tim-Philipp Müller [Fri, 30 Sep 2011 09:54:26 +0000 (10:54 +0100)]
audio: don't use GST_PTR_FORMAT for segments
Avoids crashes with debugging output enabled.
Wim Taymans [Fri, 30 Sep 2011 09:45:51 +0000 (11:45 +0200)]
Revert "sbutitleoverlay: fix compiler warning"
This reverts commit
ed792293e7fc2bd54f4627649bb836a05709b5ab.
Not needed anymore because of another commit
Wim Taymans [Fri, 30 Sep 2011 09:00:31 +0000 (11:00 +0200)]
video: add another color matrix for mpeg2
Wim Taymans [Fri, 30 Sep 2011 09:00:15 +0000 (11:00 +0200)]
sbutitleoverlay: fix compiler warning
Wim Taymans [Fri, 30 Sep 2011 08:59:52 +0000 (10:59 +0200)]
video: fix docs
Tim-Philipp Müller [Thu, 29 Sep 2011 20:50:59 +0000 (21:50 +0100)]
vorbisdec: set channel positions
Tim-Philipp Müller [Thu, 29 Sep 2011 20:30:52 +0000 (21:30 +0100)]
subitleoverlay: fix compiler warning
gstsubtitleoverlay.c: In function 'gst_subtitle_overlay_video_sink_event':
gstsubtitleoverlay.c:1736:22: error: 'target' may be used uninitialized in this function
Wim Taymans [Thu, 29 Sep 2011 15:43:57 +0000 (17:43 +0200)]
back to development
Wim Taymans [Thu, 29 Sep 2011 15:43:00 +0000 (17:43 +0200)]
RELEASE 0.11.1
Wim Taymans [Thu, 29 Sep 2011 15:41:34 +0000 (17:41 +0200)]
Update .po files
Wim Taymans [Thu, 29 Sep 2011 11:46:36 +0000 (13:46 +0200)]
tests: update for new audio caps
Wim Taymans [Thu, 29 Sep 2011 11:45:58 +0000 (13:45 +0200)]
defs: add new symbols
Wim Taymans [Wed, 28 Sep 2011 14:08:14 +0000 (16:08 +0200)]
audiodecoder: fix refcounting error
Wim Taymans [Wed, 28 Sep 2011 14:07:53 +0000 (16:07 +0200)]
ringbuffer: store info so we can debug it
Wim Taymans [Wed, 28 Sep 2011 13:46:40 +0000 (15:46 +0200)]
Merge branch 'master' into 0.11
Mark Nauwelaerts [Wed, 28 Sep 2011 13:41:16 +0000 (15:41 +0200)]
audiodecoder: really push pending events
Wim Taymans [Wed, 28 Sep 2011 13:35:56 +0000 (15:35 +0200)]
audiodecoder: add method to set output caps
Add a method to configure the output caps. Subclasses can't use
gst_pad_set_caps() anymore because then we won't see the caps.
Unbreak the padtemplate registration, the GTypeClass that is configured in the
object during _init is not the right one, we need to use the klass passed as the
argument to the init function..
Tim-Philipp Müller [Wed, 28 Sep 2011 13:32:20 +0000 (14:32 +0100)]
audioencoder: remove more tags from upstream tag events such as bitrate tags
We want to remove all codec specific tags.
Wim Taymans [Wed, 28 Sep 2011 09:35:46 +0000 (11:35 +0200)]
Merge branch 'master' into 0.11
Conflicts:
gst-libs/gst/audio/gstaudioencoder.c
gst/playback/gstplaybin2.c
gst/videotestsrc/videotestsrc.c
Raimo Järvi [Tue, 27 Sep 2011 22:56:42 +0000 (01:56 +0300)]
videotestsrc: Fix compiler warning on 64 bit mingw-w64
Fixes bug #660304.
Raimo Järvi [Tue, 27 Sep 2011 22:11:30 +0000 (01:11 +0300)]
playbin2: Fix compiler warnings on 64 bit mingw-w64
Fixes bug #660301.
Mark Nauwelaerts [Tue, 27 Sep 2011 14:18:05 +0000 (16:18 +0200)]
audioencoder: only got_data if we really got some
... which avoids going loopy with casual subclass.
Mark Nauwelaerts [Tue, 27 Sep 2011 14:57:45 +0000 (16:57 +0200)]
audioencoder: really push pending events