Callbacks are calling even decode fails
Posted: 26 Nov 2018 12:27
Hi,
I have an application running on h264 stream over rtsp.
On a network issue, when decode exception occurs, libvlc_video_set_callbacks are calling with the old data. So I get the same frame over and over again. (Buffer wont change)
Console prints;
How can I make it not to call callback function on this kind of error?
Or is there any way to catch these errors with a hook?
Thanks.
I have an application running on h264 stream over rtsp.
On a network issue, when decode exception occurs, libvlc_video_set_callbacks are calling with the old data. So I get the same frame over and over again. (Buffer wont change)
Console prints;
How can I make it not to call callback function on this kind of error?
Or is there any way to catch these errors with a hook?
Thanks.