[vlc-commits] sout:record: fix invalid dts test

Steve Lhomme git at videolan.org
Mon Jul 30 14:13:59 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jul 30 07:31:07 2018 +0200| [7afd8e917908df71b353896a214b87d26321c773] | committer: Steve Lhomme

sout:record: fix invalid dts test

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7afd8e917908df71b353896a214b87d26321c773
---

 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..c6d750c8ee 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;



More information about the vlc-commits mailing list