]> git.sesse.net Git - vlc/blobdiff - modules/demux/ps.c
Qt: CaptureOpenPanel: check and prefill with usual devices
[vlc] / modules / demux / ps.c
index 7bdb388f8652fe2655539ee2c69b2b4edfcf7ea3..f21be2de6c5b79cdca29dfcc27e9d3b73c808fb1 100644 (file)
@@ -240,7 +240,7 @@ static void FindLength( demux_t *p_demux )
     int64_t i_current_pos = -1, i_size = 0, i_end = 0;
     int i;
 
-    if( !var_CreateGetInteger( p_demux, "ps-trust-timestamps" ) )
+    if( !var_CreateGetBool( p_demux, "ps-trust-timestamps" ) )
         return;
 
     if( p_sys->i_length == -1 ) /* First time */