[Bug 683504] playsink: fix text sink getter when default subtitleoverlay is used

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed May 15 03:31:50 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=683504
  GStreamer | gst-plugins-base | git

--- Comment #2 from Arnaud Vrac <rawoul at gmail.com> 2013-05-15 10:31:45 UTC ---
As discussed, the proper way to do toggle subtitles is to add/remove the TEXT
flag from playbin/playsink.

However removing the flag causes a deadlock in playsink (in 1.0.7 at least):

set subtitle track -1
playsink: <playsink> Triggering reconfiguration
playsink: <playsink> locking from thread 0x80f48e0
playsink: <playsink> locked from thread 0x80f48e0
playsink: <playsink> unlocking from thread 0x80f48e0
playsink: <playsink> locking from thread 0x7559d5b0
playsink: <playsink> locked from thread 0x7559d5b0
playsink: <playsink:video_sink> Video pad blocked
playsink: <playsink> All pads blocked -- reconfiguring
playsink: <playsink> Video pad is raw: 1
playsink: <playsink> Audio pad is raw: 0
playsink: <playsink> reconfiguring
playsink: <playsink> locking from thread 0x7559d5b0
playsink: <playsink> locked from thread 0x7559d5b0
playsink: <playsink> audio:1, video:1, vis:0, text:0
playsink: <playsink> adding video, raw 1
playsink: <playsink> adding video chain
playsink: <playsink> adding audio
playsink: <playsink> adding audio chain
playsink: <playsink> no vis needed
playsink: <playsink> no text needed
streamsynchronizer: <streamsynchronizer0> Releasing stream 2
playsink: <playsink> locking from thread 0x74a07690

gst_pad_set_active(pad, false) in streamsynchronizer locks the streaming
thread, and playsink is also locked while reconfiguring.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list