Edward Hervey
12a8fff8ac
audio: Add some default channel positions
2011-10-17 12:00:55 +02:00
Edward Hervey
b4858253dc
audio: Properly handle signedness in gst_audio_format_build_integer()
2011-10-17 12:00:16 +02:00
Edward Hervey
45c4a19472
audio: Indent and doc fixes
2011-10-17 11:45:39 +02:00
Wim Taymans
5560d44e7a
Merge branch 'master' into 0.11
2011-10-13 08:53:34 +02:00
Edward Hervey
8268a7a20e
discoverer: Only call gst_video_info_from_caps on raw video
2011-10-11 17:42:35 +02:00
Thiago Santos
6eb5f5b13e
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.
2011-10-10 12:31:46 -03:00
Brian Cameron
ded27cc61a
videotestsrc: fix LDADD missing GST_LIBS
2011-10-10 13:11:59 +02:00
Wim Taymans
05ad8a3432
Merge branch 'master' into 0.11
...
Conflicts:
ext/vorbis/gstvorbisenc.c
2011-10-10 11:45:49 +02:00
Wim Taymans
f1088ed647
update for UNEXPECTED -> EOS flowreturn
2011-10-10 11:39:52 +02:00
Thiago Santos
123671bc05
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
2011-10-09 17:05:15 -03:00
Thiago Santos
d15756105a
tests: Updating some tests with GstXOverlayClass -> GstVideoOverlayIface
2011-10-09 17:05:12 -03:00
Mark Nauwelaerts
a7f508012c
vorbisenc: only push header buffers following initial events
2011-10-09 21:20:35 +02:00
Tim-Philipp Müller
ab949eebbd
audiodecoder: update to 0.11 API after merge
2011-10-09 16:15:54 +01:00
Tim-Philipp Müller
303dbaf84b
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
tests/check/pipelines/vorbisdec.c
tests/check/pipelines/vorbisenc.c
2011-10-09 16:08:36 +01:00
Alessandro Decina
bc6f00becb
audioencoder: fix compile warning
2011-10-09 16:48:18 +02:00
Mark Nauwelaerts
7b56261acf
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.
2011-10-08 20:50:10 +02:00
Mark Nauwelaerts
9e72c4790c
tests: vorbisdec: properly configure audiodecoder when requiring perfect ts
2011-10-08 20:50:08 +02:00
Mark Nauwelaerts
12b54cccd1
tests: vorbisdec: remove empty header buffer check
...
... as empty buffers are discarded, and header buffers are now
also optionally retrieved from caps anyway.
2011-10-08 20:50:06 +02:00
Mark Nauwelaerts
871b1584c9
audioencoder: only resync to upstream upon discont in perfect ts mode
...
... as documented, where discont is marked here if tolerance has been
exceeded.
2011-10-08 20:20:10 +02:00
Mark Nauwelaerts
a7ce550d04
audiodecoder: fix timestamp tolerance handling
2011-10-08 20:20:06 +02:00
Mark Nauwelaerts
d8312994aa
audiodecoder: handle empty input by discarding
2011-10-08 20:20:03 +02:00
Wim Taymans
889a7e89c9
vorbisdec: report to 0.11
2011-10-08 11:05:29 +02:00
Wim Taymans
73b894107a
Merge branch 'master' into 0.11
...
Conflicts:
ext/vorbis/gstvorbisdec.c
ext/vorbis/gstvorbisenc.c
ext/vorbis/gstvorbisenc.h
gst/audiotestsrc/gstaudiotestsrc.c
2011-10-08 10:19:06 +02:00
Mark Nauwelaerts
f63f09483f
vorbisdec: port to audiodecoder
2011-10-07 14:52:53 +02:00
Mark Nauwelaerts
37c629fcc6
audioencoder: make upstream queries MT-safe
2011-10-07 14:52:50 +02:00
Mark Nauwelaerts
77069f01b1
audiodecoder: make upstream queries and events MT-safe
2011-10-07 14:52:48 +02:00
Mark Nauwelaerts
f3cb93fc0c
vorbisenc: port to audioencoder
2011-10-07 14:52:46 +02:00
René Stadler
1d3980cda2
oggdemux: don't leak scheduling query
2011-10-07 14:06:57 +02:00
Vincent Penquerc'h
be39ab28c3
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
2011-10-06 20:46:03 +02:00
Vincent Penquerc'h
70239887e8
audiotestsrc: add missing break
...
And make violet noise usable
https://bugzilla.gnome.org/show_bug.cgi?id=661105
2011-10-06 20:45:09 +02:00
Vincent Penquerc'h
8d617f4037
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
2011-10-06 20:43:43 +02:00
Vincent Penquerc'h
76b29367e7
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
2011-10-06 20:41:53 +02:00
Thiago Santos
59f0b29c3f
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.
2011-10-05 14:55:42 -03:00
Robert Swain
ef4a4a0e94
playsink: Add audio- and text-sink props
2011-10-05 12:45:49 +02:00
Edward Hervey
b8219faa90
audio: Make sure 'channels' and 'channel-positions' are coherent
...
If channel-positions are present, check they match the reported
'channels' value.
2011-10-05 11:57:54 +02:00
Edward Hervey
70d967da7c
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.
2011-10-05 11:51:07 +02:00
Stefan Sauer
7ce811f1ed
auditestsrc: indent fix
2011-10-04 23:10:05 +02:00
Wim Taymans
1261c08a2f
playbin2: port new bits to 0.11
2011-10-04 18:06:07 +02:00
Wim Taymans
a00927ad03
Merge branch 'master' into 0.11
2011-10-04 17:58:49 +02:00
Wim Taymans
d8767a4ab6
Makefile: remove 0.11 fixme
2011-10-04 17:58:21 +02:00
Robert Swain
ddcda53714
playsink: Add video-sink property
...
The video-sink property allows manual specification via g_object_set ()
of the video sink element to be used.
2011-10-04 16:24:01 +02:00
Sebastian Dröge
12a54ae4dd
playbin2: Minor cleanup of decoder-sink compatibility checking code
2011-10-03 15:20:06 +02:00
Thibault Saunier
a123195dd0
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.
2011-10-03 15:17:54 +02:00
Vincent Penquerc'h
93900d47ed
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
2011-10-03 11:51:23 +02:00
Vincent Penquerc'h
c7282a5718
alsasrc: fail gracefully when ALSA does not give timestamps
...
https://bugzilla.gnome.org/show_bug.cgi?id=660170
2011-10-03 11:14:09 +02:00
Sebastian Dröge
9117681b35
decodebin2: Use a TIME limit for pre-rolling in live streams and not in non-live streams
...
Fixes bug #647769 for real.
2011-10-03 10:55:53 +02:00
Wim Taymans
e787c7a5e2
Merge branch 'master' into 0.11
...
Conflicts:
ext/pango/gsttextoverlay.c
gst/encoding/gstencodebin.c
2011-10-03 10:11:19 +02:00
Wim Taymans
8778cff7f0
video: add h264 transfer functions
2011-10-03 10:02:43 +02:00
Vincent Penquerc'h
15dc839467
textoverlay: add YV12 support
...
Basically the same as I420, just with chroma planes swapped.
https://bugzilla.gnome.org/show_bug.cgi?id=660604
2011-10-01 19:18:02 +01:00
Thiago Santos
a223775089
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.
2011-09-30 10:56:06 -03:00