[vlc-devel] [PATCH] src/input/stream_demux.c: fix DStreamThread()

Frédéric Yhuel yhuelf at gmail.com
Mon Oct 22 14:48:24 CEST 2012


---
 src/input/stream_demux.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/stream_demux.c b/src/input/stream_demux.c
index a38d12e..5f05217 100644
--- a/src/input/stream_demux.c
+++ b/src/input/stream_demux.c
@@ -337,7 +337,7 @@ static void* DStreamThread( void *obj )
                 newpos = 0.;
             if( demux_Control( p_demux, DEMUX_GET_LENGTH, &newlen ) )
                 newlen = 0;
-            if( demux_Control( p_demux, DEMUX_GET_POSITION, &newtime ) )
+            if( demux_Control( p_demux, DEMUX_GET_TIME, &newtime ) )
                 newtime = 0;
 
             vlc_mutex_lock( &p_sys->lock );
-- 
1.7.9.5



More information about the vlc-devel mailing list