From: Antoine Cellerier Date: Sun, 1 Apr 2007 17:22:15 +0000 (+0000) Subject: Remove some debug messages and fix the sub-picture chain update target. X-Git-Tag: 0.9.0-test0~7883 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=3bf0dec45b8d1cc11d01aad606f990b2b809e439;p=vlc Remove some debug messages and fix the sub-picture chain update target. --- diff --git a/modules/gui/qt4/components/extended_panels.cpp b/modules/gui/qt4/components/extended_panels.cpp index d9531eb619..71ca7d69ee 100644 --- a/modules/gui/qt4/components/extended_panels.cpp +++ b/modules/gui/qt4/components/extended_panels.cpp @@ -38,6 +38,7 @@ #include #include #include +#include #include @@ -297,7 +298,10 @@ void ExtVideo::ChangeVFiltersString( char *psz_name, vlc_bool_t b_add ) FIND_ANYWHERE ); if( p_vout ) { - var_SetString( p_vout, psz_filter_type, psz_string ); + if( !strcmp( psz_filter_type, "sub-filter" ) ) + var_SetString( p_vout->p_spu, psz_filter_type, psz_string ); + else + var_SetString( p_vout, psz_filter_type, psz_string ); vlc_object_release( p_vout ); } @@ -307,7 +311,7 @@ void ExtVideo::ChangeVFiltersString( char *psz_name, vlc_bool_t b_add ) void ExtVideo::updateFilters() { QString module = ModuleFromWidgetName( sender() ); - std::cout << "Module name: " << module.toStdString() << std::endl; + //std::cout << "Module name: " << module.toStdString() << std::endl; QCheckBox *checkbox = qobject_cast(sender()); QGroupBox *groupbox = qobject_cast(sender()); @@ -403,9 +407,9 @@ void ExtVideo::setWidgetValue( QObject *widget ) void ExtVideo::updateFilterOptions() { QString module = ModuleFromWidgetName( sender()->parent() ); - std::cout << "Module name: " << module.toStdString() << std::endl; + //std::cout << "Module name: " << module.toStdString() << std::endl; QString option = OptionFromWidgetName( sender() ); - std::cout << "Option name: " << option.toStdString() << std::endl; + //std::cout << "Option name: " << option.toStdString() << std::endl; vlc_object_t *p_obj = (vlc_object_t *) vlc_object_find_name( p_intf->p_libvlc,