[vlc-commits] DShow: fix compilation after change on caching

Jean-Baptiste Kempf git at videolan.org
Tue Aug 30 22:04:45 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Aug 30 22:04:15 2011 +0200| [69ec06251eeda08638d8e35405402eecb298dcfa] | committer: Jean-Baptiste Kempf

DShow: fix compilation after change on caching

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

 modules/access/dshow/dshow.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/access/dshow/dshow.cpp b/modules/access/dshow/dshow.cpp
index d449304..c5ee319 100644
--- a/modules/access/dshow/dshow.cpp
+++ b/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:



More information about the vlc-commits mailing list