[vlc-devel] [PATCH] Qt4: Set the current rate properly

Rémi Denis-Courmont remi at remlab.net
Fri Apr 20 08:08:53 CEST 2012


On Thu, 19 Apr 2012 20:23:14 -0400, Edward Wang
<edward.c.wang at compdigitec.com> wrote:
> Close #6646

Looks good to me.

Did you check if there were other instances of similar bug?

I think the rate control should be usable even when there is no input by
the way.

> ---
>  If possible, a backport to vlc-2.0.git is also requested.
> 
>  modules/gui/qt4/components/interface_widgets.cpp |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/modules/gui/qt4/components/interface_widgets.cpp
> b/modules/gui/qt4/components/interface_widgets.cpp
> index 0ca799a..e3fcc17 100644
> --- a/modules/gui/qt4/components/interface_widgets.cpp
> +++ b/modules/gui/qt4/components/interface_widgets.cpp
> @@ -352,7 +352,7 @@ SpeedLabel::SpeedLabel( intf_thread_t *_p_intf,
> QWidget *parent )
>      setFrameStyle( QFrame::StyledPanel | QFrame::Raised );
>      setLineWidth( 1 );
>  
> -    setRate( var_InheritFloat( p_intf, "rate" ) );
> +    setRate( var_InheritFloat( THEPL, "rate" ) );
>  }
>  
>  SpeedLabel::~SpeedLabel()

-- 
Rémi Denis-Courmont
Sent from my collocated server



More information about the vlc-devel mailing list