mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 08:40:28 +00:00
vo_postprocess.c: fixed running double_framerate
double_framerate takes input frame first and then nothing and it generates another frame with NULL input so modify the assert so.
This commit is contained in:
@@ -184,7 +184,7 @@ bool vo_postprocess(struct vo_postprocess_state *s, struct video_frame *in,
|
||||
if (s == NULL) {
|
||||
return FALSE;
|
||||
}
|
||||
assert(in == ((struct vo_postprocess_state_single *) simple_linked_list_first(s->postprocessors))->f);
|
||||
assert(in == ((struct vo_postprocess_state_single *) simple_linked_list_first(s->postprocessors))->f || in == NULL);
|
||||
|
||||
for(void *it = simple_linked_list_it_init(s->postprocessors); it != NULL; ) {
|
||||
struct vo_postprocess_state_single *state = simple_linked_list_it_next(&it);
|
||||
|
||||
Reference in New Issue
Block a user