vaapi, playbin2 and last video frame issue

CCob ceri.coburn at gmail.com
Sat Oct 25 01:15:32 PDT 2014


Hi All,

I am currently using GStreamer VAAPI and playbin2 with GStreamer 0.36 on 
a custom embedded platform.

Whilst it's working quite well, I have a problem where the last video 
frame seems to remain in vaapisink buffer or similar.

When playback ends via EOS or user request my player application sets 
playbin2's state to READY, ready for the next playback.  I don't set it 
to NULL as playbin2 or some of it's children seem to leak GStreamer 
objects, particularly GstFFmpegCsp among a few others.

Does anyone know how I can get the playbin2's sink to flush out any 
remaining buffers from the pipeline to prevent this problem.

Thanks


More information about the gstreamer-devel mailing list