Commit 57016d54 authored by Steve Lhomme's avatar Steve Lhomme Committed by Rémi Denis-Courmont

video_filter:fps: fix invalid PTS check

Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <>
parent 10bfd403
......@@ -73,7 +73,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_picture)
/* If input picture doesn't have actual valid timestamp,
we don't really have currently a way to know what else
to do with it other than drop it for now*/
if( unlikely( p_picture->date < VLC_TS_0) )
if( unlikely( p_picture->date == VLC_TS_INVALID) )
msg_Dbg( p_filter, "skipping non-dated picture");
picture_Release( p_picture );
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment