From 88ae690ea95b44fc61535588fa6aa43a85c05614 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Tue, 10 Jan 2023 15:12:59 +0100 Subject: [PATCH] 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. --- src/vo_postprocess.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vo_postprocess.c b/src/vo_postprocess.c index 0757e891d..806249b44 100644 --- a/src/vo_postprocess.c +++ b/src/vo_postprocess.c @@ -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);