Commit d22b9922 authored by Laurent Aimar's avatar 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.
parent 9ce38b5f
...@@ -537,6 +537,8 @@ void ExtVideo::updateFilterOptions() ...@@ -537,6 +537,8 @@ void ExtVideo::updateFilterOptions()
else else
{ {
i_type = var_Type( p_obj, qtu( option ) ); 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 ); b_is_command = ( i_type & VLC_VAR_ISCOMMAND );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment