gstreamer/tests/check/elements
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
..
.gitignore ext/pango/gsttextoverlay.*: Some textoverlay fixes: for one, in the video chain function, actually wait for a text bu... 2006-11-21 18:39:34 +00:00
adder.c Make sure our checks and the videotestsrc plugin link against the local uninstalled gst libs and not any installed gs... 2006-11-16 14:35:30 +00:00
alsa.c tests/check/elements/alsa.c: Fix test case: don't try to free NULL GValueArray when there are no devices. 2006-05-18 20:30:26 +00:00
audioconvert.c tests/check/elements/audioconvert.c: Fix leaks. Wait for state transitions that might happen ASYNC, as well as some t... 2006-08-21 11:42:12 +00:00
audiorate.c tests/check/elements/audiorate.c: More tests for audiorate: inject buffers to check behaviour when buffers overlap. 2006-10-23 11:47:04 +00:00
audioresample.c tests/check/: Fix big batch of compiler warnings. 2006-09-16 22:30:50 +00:00
audiotestsrc.c tests/check/: Don't busy-wait in tests; this was causing test timeouts very frequently when running under valgrind. 2006-06-02 17:01:02 +00:00
decodebin.c 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
ffmpegcolorspace.c tests/check/: Enable ffmpegcolorspace test now that the RGBA32 issue is fixed (for now not for valgrinding though, si... 2006-11-20 16:44:28 +00:00
gdpdepay.c tests/check/: Some more compilation fixes. 2006-09-21 05:31:00 +00:00
gdppay.c gst/gdp/gstgdpdepay.c: proxying get/set caps is the wrong thing to do, since we really do change caps quite fundament... 2006-07-26 10:52:05 +00:00
multifdsink.c tests/check/: Fix some warnings. 2006-09-20 17:04:57 +00:00
playbin.c gst/playback/gstplaybasebin.c: Catch async errors when starting up the subtitle bin, so we can stop waiting and conti... 2006-10-18 12:57:54 +00:00
subparse.c gst/subparse/: Add support for TMPlayer-type subtitles (#362845). 2006-10-23 12:06:44 +00:00
textoverlay.c ext/pango/gsttextoverlay.*: Some textoverlay fixes: for one, in the video chain function, actually wait for a text bu... 2006-11-21 18:39:34 +00:00
videorate.c tests/check/: Fix some warnings. 2006-09-20 17:04:57 +00:00
videotestsrc.c ext/gnomevfs/gstgnomevfssrc.c: Fix misleading docs addition. 2006-09-22 14:50:01 +00:00
volume.c Printf format fixes. 2006-10-05 15:55:21 +00:00
vorbisdec.c tests/check/: Fix big batch of compiler warnings. 2006-09-16 22:30:50 +00:00
vorbistag.c ext/vorbis/: Add new vorbistag element which derives from vorbisparse and is essentially the same as well, only that ... 2006-10-03 11:51:48 +00:00