Skip to content
Snippets Groups Projects
Commit 8c4ad927 authored by Steve Lhomme's avatar Steve Lhomme Committed by Felix Paul Kühne
Browse files

video_output: reset displayed date when current picture is flushed

The date is used to tell if+when we can redisplay the current picture.
If that picture is gone we should not try to redisplay it.
parent fefe9b60
No related branches found
No related tags found
1 merge request!2956video_output: reset displayed date when current picture is flushed
Pipeline #291689 passed with stage
in 10 minutes and 56 seconds
......@@ -761,6 +761,7 @@ static void FilterFlush(vout_thread_sys_t *sys, bool is_locked)
{
picture_Release( sys->displayed.current );
sys->displayed.current = NULL;
sys->displayed.date = VLC_TICK_INVALID;
}
if (!is_locked)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment