Commit 3dd65c56 authored by Frédéric Yhuel's avatar Frédéric Yhuel Committed by Rémi Denis-Courmont

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

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 8dd70b01
......@@ -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 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment