[vlc-commits] Qt: profile_editor: fix inverted test

Francois Cartegnie git at videolan.org
Fri Sep 21 16:42:46 CEST 2012


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Sep 21 16:37:33 2012 +0200| [79f0eec796a2c574971800c84e48912cba6c300a] | committer: Francois Cartegnie

Qt: profile_editor: fix inverted test

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=79f0eec796a2c574971800c84e48912cba6c300a
---

 modules/gui/qt4/components/sout/profile_selector.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt4/components/sout/profile_selector.cpp b/modules/gui/qt4/components/sout/profile_selector.cpp
index ac5bdba..82e5415 100644
--- a/modules/gui/qt4/components/sout/profile_selector.cpp
+++ b/modules/gui/qt4/components/sout/profile_selector.cpp
@@ -545,7 +545,7 @@ void VLCProfileEditor::muxSelected()
     SETYESNOSTATE( capstream, "capstream" );
     SETYESNOSTATE( capchaps, "capchaps" );
     bool b = caps["muxers"].contains( "mux_" + current->property("sout").toString() );
-    if ( b )
+    if ( !b )
         ui.muxerwarning->setText(
                     QString( "<img src=\":/menu/info\"/> %1" )
                     .arg( qtr( "This muxer is not provided directly by VLC: It could be missing." ) )



More information about the vlc-commits mailing list