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 575550 - srt subtitle file keeps playbin2 from playing
srt subtitle file keeps playbin2 from playing
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.22
Other All
: Normal major
: 0.10.23
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-16 13:09 UTC by Andreas Frisch
Modified: 2009-03-16 15:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
subtitle file, 8859-15 encoding with german characters (51.38 KB, text/plain)
2009-03-16 13:10 UTC, Andreas Frisch
Details

Description Andreas Frisch 2009-03-16 13:09:49 UTC
Please describe the problem:
when supplying a certain srt suburi with a playbin2, playback doesn't start

Steps to reproduce:
1. gst-launch playbin2 uri=file:///media/hdd/movie/mkv/artehd_2lang.mkv suburi=file:///media/hdd/movie/mkv/artehd_2lang.srt


Actual results:
Setting pipeline to PAUSED ...
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: connection-speed = 0
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: subtitle-encoding = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: uri = "file:///media/hdd/movie/mkv/artehd_2lang.mkv"
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-duration = -1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-size = -1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin1: connection-speed = 0
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin1: subtitle-encoding = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin1: uri = "file:///media/hdd/movie/mkv/artehd_2lang.srt"
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin1: source = (GstFileSrc) source
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin1/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind: Could not determine type of stream.
Additional debug info:
gsttypefindelement.c(807): gst_type_find_element_activate (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin1/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind
Setting pipeline to NULL ...
FREEING pipeline ...


Expected results:
to recognize the subtitle file as expected

Does this happen every time?
yes

Other information:
the problem is specific to this subtitle file
it's in german language and has special characters
codepage is 8859-15
actual subtitle file to be uploaded...
Comment 1 Andreas Frisch 2009-03-16 13:10:26 UTC
Created attachment 130742 [details]
subtitle file, 8859-15 encoding with german characters
Comment 2 Andreas Frisch 2009-03-16 13:13:19 UTC
i should probably mention, that setting the property subtitle-encoding=ISO-8859-15 doesn't change a thing
Comment 3 Wim Taymans 2009-03-16 15:19:25 UTC
commit ba6d3b5aca488f37c47f2b44f60db3fa1d2ffa8c
Author: Wim Taymans <wim.taymans@collabora.co.uk>
Date:   Mon Mar 16 16:16:30 2009 +0100

    playbin2: release the shutdown lock
    
    Release the shutdown lock when we wait for other groups to complete or else we
    have a deadlock when the other group completes and tries to grab the shutdown
    lock.
    Fixes #575550.