[vlc-devel] commit: Updated "can-pause" value. (Laurent Aimar )
git version control
git at videolan.org
Mon Nov 17 20:16:45 CET 2008
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Nov 17 19:36:37 2008 +0100| [90548d3f9cb2f1234a19b41e76d220c12f7bfd99] | committer: Laurent Aimar
Updated "can-pause" value.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=90548d3f9cb2f1234a19b41e76d220c12f7bfd99
---
src/input/input.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/input/input.c b/src/input/input.c
index 6f65464..e3b7b03 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -2351,7 +2351,7 @@ static int InputSourceInit( input_thread_t *p_input,
if( demux_Control( in->p_demux, DEMUX_CAN_PAUSE,
&in->b_can_pause ) )
in->b_can_pause = false;
- var_SetBool( p_input, "can-pause", in->b_can_pause );
+ var_SetBool( p_input, "can-pause", in->b_can_pause || !in->b_can_pace_control ); /* XXX temporary because of es_out_timeshift*/
int ret = demux_Control( in->p_demux, DEMUX_CAN_SEEK,
&val.b_bool );
@@ -2435,7 +2435,7 @@ static int InputSourceInit( input_thread_t *p_input,
access_Control( in->p_access, ACCESS_CAN_PAUSE,
&in->b_can_pause );
- var_SetBool( p_input, "can-pause", in->b_can_pause );
+ var_SetBool( p_input, "can-pause", in->b_can_pause || !in->b_can_pace_control ); /* XXX temporary because of es_out_timeshift*/
access_Control( in->p_access, ACCESS_CAN_SEEK,
&val.b_bool );
var_Set( p_input, "seekable", val );
More information about the vlc-devel
mailing list