[vlc-devel] commit: Correctly detect rewind (rtsp). (Laurent Aimar )
git version control
git at videolan.org
Sat May 16 01:08:49 CEST 2009
vlc | branch: 1.0-bugfix | Laurent Aimar <fenrir at videolan.org> | Fri May 15 23:46:05 2009 +0200| [10524df53cda24ba58619f2b45b4227ac2cd43da] | committer: Laurent Aimar
Correctly detect rewind (rtsp).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=10524df53cda24ba58619f2b45b4227ac2cd43da
---
src/input/input.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/input/input.c b/src/input/input.c
index aeeebe8..cfb3065 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -2433,7 +2433,7 @@ static int InputSourceInit( input_thread_t *p_input,
in->b_can_pause = false;
var_SetBool( p_input, "can-pause", in->b_can_pause || !in->b_can_pace_control ); /* XXX temporary because of es_out_timeshift*/
var_SetBool( p_input, "can-rate", !in->b_can_pace_control || in->b_can_rate_control ); /* XXX temporary because of es_out_timeshift*/
- var_SetBool( p_input, "can-rewind", !in->b_rescale_ts && !in->b_can_pace_control );
+ var_SetBool( p_input, "can-rewind", !in->b_rescale_ts && !in->b_can_pace_control && in->b_can_rate_control );
bool b_can_seek;
if( demux_Control( in->p_demux, DEMUX_CAN_SEEK, &b_can_seek ) )
More information about the vlc-devel
mailing list