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

Frédéric Yhuel git at videolan.org
Mon Oct 22 17:18:35 CEST 2012


vlc | branch: master | Frédéric Yhuel <yhuelf at gmail.com> | Mon Oct 22 14:48:24 2012 +0200| [3dd65c56305fc79615436f87e13731294cae542e] | committer: Rémi Denis-Courmont

src/input/stream_demux.c: fix DStreamThread()

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

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

 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 );



More information about the vlc-commits mailing list