After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 591207 - totem does display the following subtitle srt file.
totem does display the following subtitle srt file.
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other All
: Normal normal
: 0.10.25
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-08-09 09:09 UTC by solsTiCe d'Hiver
Modified: 2009-08-09 10:13 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
subtitle that fail to be displayed in totem (101.19 KB, application/x-subrip)
2009-08-09 09:10 UTC, solsTiCe d'Hiver
Details

Description solsTiCe d'Hiver 2009-08-09 09:09:39 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:
Comment 1 solsTiCe d'Hiver 2009-08-09 09:10:37 UTC
Created attachment 140260 [details]
subtitle that fail to be displayed in totem
Comment 2 Philip Withnall 2009-08-09 09:41:47 UTC
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
Comment 3 Sebastian Dröge (slomo) 2009-08-09 10:13:57 UTC
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.