[gst-devel] seeking VBR
Xavier Bestel
xavier.bestel at free.fr
Wed Nov 27 04:52:02 CET 2002
Le mer 27/11/2002 à 13:18, Joshua N Pritikin a écrit :
> On Wed, Nov 27, 2002 at 01:15:36PM +0100, Xavier Bestel wrote:
> > Le mer 27/11/2002 à 12:27, Joshua N Pritikin a écrit :
> > > Yah, that's fine too. However, we still need to provide an API
> > > to accomplish it. Currently, i don't think there is a way to tell
> > > xvideosink to skip the next 3 frames or osssink to drop the next
> > > 3/25 seconds. (Correct me if i am mistaken.) Something like a
> > > semi-flush event?
> >
> > Just disconnect it for 3 frames ?
>
> But how do you know when to reconnect it? Currently, i get frame
> notifications only via the frame-displayed signal emitted by
> xvideosink.
You connect it to a fakesink, and you have a notification signal for
each buffer, with a timestamp. The only problem I see with this approach
is that you will miss 1 frame.
Xav
More information about the gstreamer-devel
mailing list