[vlc-devel] commit: Fix --stop-time. (Antoine Cellerier )
git version control
git at videolan.org
Sun Jan 4 19:36:46 CET 2009
vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Sun Jan 4 19:36:51 2009 +0100| [721218c57bf26dbd8eb56ad812f694318fb30f0b] | committer: Antoine Cellerier
Fix --stop-time.
Looks like p_input->i_time is only used for --stop-time. Is that normal?
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=721218c57bf26dbd8eb56ad812f694318fb30f0b
---
src/input/input.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/input/input.c b/src/input/input.c
index 8ec2dc6..64d0cf0 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -678,6 +678,7 @@ static void MainLoopInterface( input_thread_t *p_input )
if( demux_Control( p_input->p->input.p_demux,
DEMUX_GET_TIME, &i_time ) )
i_time = 0;
+ p_input->i_time = i_time;
if( demux_Control( p_input->p->input.p_demux,
DEMUX_GET_LENGTH, &i_length ) )
More information about the vlc-devel
mailing list