gstreamer/gst
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
..
adder gst/: remove obsolete _factory_init protos 2006-11-24 08:56:10 +00:00
audioconvert ext/gnomevfs/: Fix URI interface implementation return type. 2006-10-10 12:49:03 +00:00
audiorate gst/audiorate/gstaudiorate.c: Delete bad debug code. 2006-12-01 10:36:50 +00:00
audioresample gst/audioresample/gstaudioresample.c: Another typo fix (#366212). 2006-10-28 16:00:51 +00:00
audiotestsrc gst/: remove obsolete _factory_init protos 2006-11-24 08:56:10 +00:00
ffmpegcolorspace gst/ffmpegcolorspace/gstffmpegcodecmap.c: Fix RGBA32 caps. Fixes #357038. 2006-11-20 15:01:09 +00:00
gdp gst/gdp/gstgdppay.c: Fix memory leaks and misleading debug messages, add a couple of comments. 2006-08-25 16:19:55 +00:00
playback 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
subparse Various gsize and gssize printf fixes. Fixes #372507. 2006-11-14 11:54:14 +00:00
tcp Various gsize and gssize printf fixes. Fixes #372507. 2006-11-14 11:54:14 +00:00
typefind gst/typefind/gsttypefindfunctions.c: Avoid integer underflow when the found probability for mp3 is smaller than the '... 2006-11-21 09:29:56 +00:00
videorate ext/gnomevfs/: Fix URI interface implementation return type. 2006-10-10 12:49:03 +00:00
videoscale Fix compilation on win32 under VS8 2006-12-01 10:27:54 +00:00
videotestsrc 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
volume gst/volume/gstvolume.c: Use stream time to synchronize volume property instead of rather random timestamps. This is n... 2006-10-27 17:13:35 +00:00
Makefile.am tcp elements need some system headers like sys/socket.h 2005-11-03 09:31:30 +00:00