Page 1 of 1

Check invalid frame

Posted: 29 May 2015 23:07
by carl
Hi,
What would be the best way to check when a frame is invalid or 'no frame'?

Thanks.

Re: Check invalid frame

Posted: 30 May 2015 16:16
by RĂ©mi Denis-Courmont
It depends, what exactly do you mean by that?

Re: Check invalid frame

Posted: 30 May 2015 22:21
by carl
Hi,
I'm using libvlc to show a video from a file that is written sequentially in real time, it may try to read X bytes of the file that is not yet written.
I need to check the validity/existence of a frame before show it.

Regars.