GNOME Bugzilla – Bug 418383
Codec auto-download not working when movie has external subtitles
Last modified: 2007-04-03 12:43:22 UTC
The bug has been opened on https://launchpad.net/ubuntu/+source/totem/+bug/89302 "Binary package hint: totem-gstreamer Ubuntu 7.04 daily build (2nd Mar 2007) When doubleclicking on some movie with proprietary codecs, a dialog with auto-download codec feature appears. When doubleclicking on the same movie, but with external subtitles present (named eg. movie_name.srt), only this error dialog appears: An error occurred GstPlayBin: Only a subtitle stream was detected. Either you are loading a subtitle file or some other type of text file, or the media file was not recognized. This is a bug, totem should ignore the subtitles and offer to the user the same possibility to auto-download codecs, as it does with movies without subtitles. Because (at least at my country) most of all movies comes with subtitles, this renders the whole auto-download-codec feature only half-working... ProblemType: Bug Date: Fri Mar 2 20:54:05 2007 DistroRelease: Ubuntu 7.04 Uname: Linux ubuntu 2.6.20-9-generic #2 SMP Mon Feb 26 03:01:44 UTC 2007 i686 GNU/Linux"
Created attachment 85045 [details] [review] possible minimal fix Minimal fix (this should probably be fixed in playbin instead, but I am not sure yet what the best way to go about this is; quick-fixing it in totem seems best for now).
Sebastien, does this fix your problem?
The patch applied to totem 2.18.0 works fine on my Ubuntu desktop
Created attachment 85759 [details] [review] better fix / work-around
Committed slightly better version of the patch to trunk and 2.18 branch: 2007-04-02 Tim-Philipp Müller <tim at centricular dot net> * src/backend/bacon-video-widget-gst-0.10.c: (bvw_check_missing_plugins_error): Make the missing-plugins stuff work in the case where we have a subtitles streams but no video stream (presumably because we are missing the appropriate video decoder). This should probably be handled better in playbin itself, but for now we'll work around it. (Closes: #418383)