GNOME Bugzilla – Bug 591207
totem does display the following subtitle srt file.
Last modified: 2009-08-09 10:13:57 UTC
Please describe the problem: totem can display other srt subtitle file. but for this particular file, i do'nt know why but i got no subtitle at all. even i irename the file or load it explicitly there is still no subtitle displayed. Steps to reproduce: Actual results: Expected results: i can read the subtitle from this file Does this happen every time? yes for this subtitle Other information:
Created attachment 140260 [details] subtitle that fail to be displayed in totem
Looks like GStreamer's failing to correctly detect its MIME type. Confirmed with trunk Totem and GStreamer. 0:00:09.978194838 7905 0xec6660 INFO typefind gsttypefindelement.c:166:gst_type_find_element_have_type:<typefind> found caps text/plain, probability=95 0:00:09.978218340 7905 0xec6660 DEBUG GST_CAPS gstpad.c:2526:gst_pad_set_caps:<typefind:src> caps 0x1cf65c0 text/plain 0:00:09.978247666 7905 0xec6660 DEBUG decodebin2 gstdecodebin2.c:1501:type_found:<decodebin21> typefind found caps text/plain 0:00:09.978719321 7905 0xec6660 WARN decodebin2 gstdecodebin2.c:1509:type_found:<decodebin21> error: This appears to be a text file 0:00:09.978748261 7905 0xec6660 WARN decodebin2 gstdecodebin2.c:1509:type_found:<decodebin21> error: decodebin2 cannot decode plain text files 0:00:09.978765185 7905 0xec6660 DEBUG GST_MESSAGE gstelement.c:1731:gst_element_message_full:<decodebin21> start 0:00:09.978792539 7905 0xec6660 INFO GST_ERROR_SYSTEM gstelement.c:1762:gst_element_message_full:<decodebin21> posting message: This appears to be a text file 0:00:09.978816577 7905 0xec6660 DEBUG GST_BUS gstbus.c:308:gst_bus_post:<bus25> [msg 0x7ff78c001a30] posting on bus, type error, GstMessageError, gerror=(GstGError)NULL, debug=(string)"gstdecodebin2.c\(1509\):\ type_found\ \(\):\ /GstPlayBin2:play/GstURIDecodeBin:uridecodebin1/GstDecodeBin2:decodebin21:\012decodebin2\ cannot\ decode\ plain\ text\ files"; from source <decodebin21> 0:00:09.978855079 7905 0xec6660 DEBUG bin gstbin.c:2893:gst_bin_handle_message_func:<uridecodebin1> [msg 0x7ff78c001a30] handling child decodebin21 message of type error 0:00:09.978870042 7905 0xec6660 DEBUG bin gstbin.c:3164:gst_bin_handle_message_func:<uridecodebin1> posting message upward 0:00:09.978883719 7905 0xec6660 DEBUG GST_BUS gstbus.c:308:gst_bus_post:<bus0> [msg 0x7ff78c001a30] posting on bus, type error, GstMessageError, gerror=(GstGError)NULL, debug=(string)"gstdecodebin2.c\(1509\):\ type_found\ \(\):\ /GstPlayBin2:play/GstURIDecodeBin:uridecodebin1/GstDecodeBin2:decodebin21:\012decodebin2\ cannot\ decode\ plain\ text\ files"; from source <decodebin21> 0:00:09.978914477 7905 0xec6660 DEBUG bin gstbin.c:2893:gst_bin_handle_message_func:<play> [msg 0x7ff78c001a30] handling child decodebin21 message of type error 0:00:09.978928743 7905 0xec6660 DEBUG bin gstbin.c:3164:gst_bin_handle_message_func:<play> posting message upward 0:00:09.978941954 7905 0xec6660 DEBUG GST_BUS gstbus.c:308:gst_bus_post:<bus1> [msg 0x7ff78c001a30] posting on bus, type error, GstMessageError, gerror=(GstGError)NULL, debug=(string)"gstdecodebin2.c\(1509\):\ type_found\ \(\):\ /GstPlayBin2:play/GstURIDecodeBin:uridecodebin1/GstDecodeBin2:decodebin21:\012decodebin2\ cannot\ decode\ plain\ text\ files"; from source <decodebin21> 0:00:09.978975919 7905 0xec6660 DEBUG GST_BUS gstbus.c:338:gst_bus_post:<bus1> [msg 0x7ff78c001a30] pushing on async queue 0:00:09.978991295 7905 0xec6660 DEBUG GST_BUS gstbus.c:343:gst_bus_post:<bus1> [msg 0x7ff78c001a30] pushed on async queue 0:00:09.979006108 7905 0xec6660 DEBUG GST_BUS gstbus.c:334:gst_bus_post:<bus0> [msg 0x7ff78c001a30] dropped 0:00:09.979019739 7905 0xec6660 DEBUG GST_BUS gstbus.c:334:gst_bus_post:<bus25> [msg 0x7ff78c001a30] dropped 0:00:09.979032902 7905 0xec6660 INFO GST_ERROR_SYSTEM gstelement.c:1785:gst_element_message_full:<decodebin21> posted error message: This appears to be a text file
commit 88a55e6daec414916b74ba8cf688e914e2c6dfef Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Sun Aug 9 12:13:16 2009 +0200 subparse: Allow . instead of , as millisecond delimiter in srt subtitles Fixes bug #591207.