Report video buffer downstream errors

Make the video buffer stop if its consumer could not receive a frame.
This commit is contained in:
Romain Vimont
2023-03-01 18:45:22 +01:00
parent 099445a77a
commit 9c0f8c7d2f
5 changed files with 10 additions and 22 deletions

View File

@@ -45,7 +45,7 @@ struct sc_video_buffer {
};
struct sc_video_buffer_callbacks {
void (*on_new_frame)(struct sc_video_buffer *vb, bool previous_skipped,
bool (*on_new_frame)(struct sc_video_buffer *vb, bool previous_skipped,
void *userdata);
};