[gst-devel] playbin and current-text

Tim-Philipp Müller t.i.m at zen.co.uk
Fri Nov 13 16:07:33 CET 2009


On Fri, 2009-11-13 at 07:25 -0700, Kevin DeKorte wrote:

> I am using a playbin (via the clutter-gst api) and when I set the
> current-text it doesn't seem to take effect unless I stop the media and
> restart it. I can turn off the subtitles by setting this to -1, but if I
> set it to anything other than 0 (file has multiple subtitles) I still
> get the subtitle from 0.
> 
> I looked at the older totem code that uses a playbin and that is all it
> seems to do.
> 
> Any ideas?

This is a known issue with the old playbin element. If I remember
correctly, it will usually show the new subtitles after a flushing seek
though. In totem this was ok when the user moved the seek slider, but it
didn't work reliably when doing a flushing seek to the current position
programmatically.

You could try the newer playbin2 element. I think the issue is fixed
there (but if not, we'll fix it).

Cheers
 -Tim






More information about the gstreamer-devel mailing list