[vlc-devel] [PATCH] sout:record: fix invalid dts test

Steve Lhomme robux4 at ycbcr.xyz
Mon Jul 30 07:31:17 CEST 2018


---
 modules/stream_out/record.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/stream_out/record.c b/modules/stream_out/record.c
index d65896625c..65b6c8b6d9 100644
--- a/modules/stream_out/record.c
+++ b/modules/stream_out/record.c
@@ -572,7 +572,7 @@ static void OutputStart( sout_stream_t *p_stream )
                     break;
             }
 
-            if( !id_dts == VLC_TICK_INVALID )
+            if( id_dts != VLC_TICK_INVALID )
             {
                 p_cand = id;
                 canddts = VLC_TICK_INVALID;
-- 
2.17.0



More information about the vlc-devel mailing list