Ver código fonte

DShow: fix compilation after change on caching

Jean-Baptiste Kempf 14 anos atrás
pai
commit
69ec06251e
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      modules/access/dshow/dshow.cpp

+ 2 - 2
modules/access/dshow/dshow.cpp

@@ -1986,8 +1986,8 @@ static int DemuxControl( demux_t *p_demux, int i_query, va_list args )
 
     case DEMUX_GET_PTS_DELAY:
         pi64 = (int64_t*)va_arg( args, int64_t * );
-        *pi_64 =
-            INT64_C(1000) * var_InheritInteger( p_access, "live-caching" );
+        *pi64 =
+            INT64_C(1000) * var_InheritInteger( p_demux, "live-caching" );
         return VLC_SUCCESS;
 
     case DEMUX_GET_TIME: