vlc | branch: master | Laurent Aimar <fen...@videolan.org> | Wed Nov 3 20:23:30 2010 +0100| [d22b9922f778d227b2b34a4aef46f6adc60fb370] | committer: Laurent Aimar
Small fix when changing a video filter option that wasn't created by the filter (qt4). It is more of a workaround, a cleaner way to configure video filters will need to be done. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d22b9922f778d227b2b34a4aef46f6adc60fb370 --- modules/gui/qt4/components/extended_panels.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/modules/gui/qt4/components/extended_panels.cpp b/modules/gui/qt4/components/extended_panels.cpp index fe74a0b..9e35baf 100644 --- a/modules/gui/qt4/components/extended_panels.cpp +++ b/modules/gui/qt4/components/extended_panels.cpp @@ -537,6 +537,8 @@ void ExtVideo::updateFilterOptions() else { i_type = var_Type( p_obj, qtu( option ) ); + if( i_type == 0 ) + i_type = config_GetType( p_intf, qtu( option ) ); b_is_command = ( i_type & VLC_VAR_ISCOMMAND ); } _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org http://mailman.videolan.org/listinfo/vlc-commits