[gst-devel] playbin and current-text

Bastien Nocera hadess at hadess.net
Fri Nov 13 19:19:05 CET 2009


On Fri, 2009-11-13 at 11:06 -0700, Kevin DeKorte wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 11/13/09 08:07, Tim-Philipp Müller wrote:
> > 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
> 
> Tim,
> 
> Even with using playbin2, the subtitles don't seem to change unless I do
> a seek in the media.
> 
> I'm using the mewmew-vorbis-ssa.mkv sample file for testing.

Probably because of your "old" (non-git) version of gst-plugins-base.
gst-plugins-base in git master should have this working.

Cheers





More information about the gstreamer-devel mailing list