[vlc-commits] video_filter:fps: fix invalid PTS check
Steve Lhomme
git at videolan.org
Fri May 4 12:15:29 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu May 3 17:05:20 2018 +0200| [57016d543126fff6a3fb9d2c477fffbc52602c5c] | committer: Rémi Denis-Courmont
video_filter:fps: fix invalid PTS check
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=57016d543126fff6a3fb9d2c477fffbc52602c5c
---
modules/video_filter/fps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_filter/fps.c b/modules/video_filter/fps.c
index 5d28d5040e..689efc9632 100644
--- a/modules/video_filter/fps.c
+++ b/modules/video_filter/fps.c
@@ -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 );
More information about the vlc-commits
mailing list