From: Xavier B. <xav...@fr...> - 2002-11-27 12:51:43
|
Le mer 27/11/2002 =C3 13:18, Joshua N Pritikin a =C3=A9crit=C2 : > On Wed, Nov 27, 2002 at 01:15:36PM +0100, Xavier Bestel wrote: > > Le mer 27/11/2002 =C3 12:27, Joshua N Pritikin a =C3=A9crit=C2 : > > > 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? > >=20 > > Just disconnect it for 3 frames ? >=20 > 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 |