qt4/macosx: fixed the embedded vout setting
authorFelix Paul Kühne <fkuehne@videolan.org>
Wed, 13 Feb 2008 18:07:54 +0000 (18:07 +0000)
committerFelix Paul Kühne <fkuehne@videolan.org>
Wed, 13 Feb 2008 18:07:54 +0000 (18:07 +0000)
modules/gui/macosx/simple_prefs.m
modules/gui/macosx/vout.m
modules/gui/qt4/components/simple_preferences.cpp

index 7ece9f5..c91214b 100644 (file)
@@ -180,7 +180,7 @@ static VLCSimplePrefs *_o_sharedInstance = nil;
 
     [o_intf_meta_ckb setState: config_GetInt( p_intf, "fetch-meta" )];
     [o_intf_fspanel_ckb setState: config_GetInt( p_intf, "macosx-fspanel" )];
-    [o_intf_embedded_ckb setState: config_GetInt( p_intf, "embeded-video" )];
+    [o_intf_embedded_ckb setState: config_GetInt( p_intf, "embedded-video" )];
 
 
     /******************
@@ -305,6 +305,7 @@ static VLCSimplePrefs *_o_sharedInstance = nil;
     if( i_return == NSAlertAlternateReturn )
     {
         config_ResetAll( p_intf );
+        b_intfSettingChanged, b_videoSettingChanged, b_audioSettingChanged = YES;
         [self resetControls];
     }
 }
index 7ef24e7..bc7900e 100644 (file)
@@ -749,7 +749,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
         {
             if ( VLCIntf && !(p_vout->b_fullscreen) &&
                         !(var_GetBool( p_vout, "macosx-background" )) &&
-                        var_GetBool( p_vout, "video-embeded") )
+                        var_GetBool( p_vout, "embedded-video") )
             {
                 o_return = [[[VLCMain sharedInstance] getEmbeddedList]
                                                             getEmbeddedVout];
@@ -1030,7 +1030,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
     p_real_vout = [VLCVoutView getRealVout: p_vout];
     i_device = var_GetInteger( p_real_vout->p_libvlc, "video-device" );
     b_black = NO;
-    b_embedded = var_GetBool( p_vout, "video-embeded" );
+    b_embedded = var_GetBool( p_vout, "embedded-video" );
 
     /* Find out on which screen to open the window */
     o_screen = [NSScreen screenWithDisplayID: (CGDirectDisplayID)i_device];
index 31936d5..0d3874e 100644 (file)
@@ -451,7 +451,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
             ui.updatesDays->hide();
 #endif
             CONFIG_GENERIC( "qt-always-video", Bool, NULL, qtAlwaysVideo );
-            CONFIG_GENERIC( "embeded-video", Bool, NULL, embedVideo );
+            CONFIG_GENERIC( "embedded-video", Bool, NULL, embedVideo );
             CONFIG_GENERIC_FILE( "skins2-last", File, NULL, fileSkin,
                     skinBrowse );
 #if defined( WIN32 ) || defined( HAVE_DBUS_3 ) || defined(__APPLE__)