gstreamer/tests/check
Tim-Philipp Müller a4c0d0b8c3 gst/playback/gstdecodebin.c: Special-case the text/plain media type: we only want to recognise it as a 'raw' decoded ...
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (type_found):
Special-case the text/plain media type: we only want to recognise it
as a 'raw' decoded media type if it comes from a demuxer or subtitle
parser, but not if the entire stream is of text/plain type. If the
entire stream is text/plain, we should just error out.
This fixes playback of audio files with lyrics in totem. Totem can't
distinguish between text files and subtitle files and passes any
.txt file with the same basename as the main file to playbin as
suburi, and playbin will then throw a 'subtitle found, but no video
stream' error, which isn't entirely helpful. See #380342.
Also, with this change we'll show a slightly more correct error
message in case totem passes a playlist file to us (although a
custom error message wording instead of the default text would
probably not be a bad idea either).
Same problem also needs to be fixed for playbin+decodebin2.
* tests/check/Makefile.am:
* tests/check/elements/decodebin.c: (src_handoff_cb),
(decodebin_new_decoded_pad_cb), (GST_START_TEST),
(decodebin_suite):
Add simple unit test for decodebin for the above.
2006-12-16 13:59:09 +00:00
..
elements gst/playback/gstdecodebin.c: Special-case the text/plain media type: we only want to recognise it as a 'raw' decoded ... 2006-12-16 13:59:09 +00:00
generic properly fail if we can't make an element 2006-05-30 14:31:43 +00:00
libs gst-libs/gst/tag/gstvorbistag.c: Parse dates that are followed by a time as well (#357532). 2006-09-25 10:21:31 +00:00
pipelines tests/check/pipelines/theoraenc.c: It would be very bad if, after a discont buffer, we thought every single following... 2006-11-30 12:50:42 +00:00
.gitignore add tests to gst-plugins-base add a volume element test clean up volume a little more for basetransform 2005-08-20 18:07:10 +00:00
gst-plugins-base.supp tests/check/: so that FC4 buildslaves can pass. 2006-04-10 20:32:46 +00:00
Makefile.am gst/playback/gstdecodebin.c: Special-case the text/plain media type: we only want to recognise it as a 'raw' decoded ... 2006-12-16 13:59:09 +00:00