[vlc-devel] commit: macosx: fixed subtitle encoding selection ( Felix Paul Kühne )

git version control git at videolan.org
Sun Jul 26 18:01:22 CEST 2009


vlc | branch: 1.0-bugfix | Felix Paul Kühne <fkuehne at videolan.org> | Sun Jul 26 18:01:17 2009 +0200| [b8d90e93024e3e3f816f6a37d4c8933cdbbc8592] | committer: Felix Paul Kühne 

macosx: fixed subtitle encoding selection

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

 NEWS                              |    2 ++
 modules/gui/macosx/simple_prefs.m |    6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/NEWS b/NEWS
index 4cd49fd..e3288fd 100644
--- a/NEWS
+++ b/NEWS
@@ -24,6 +24,8 @@ Qt Interface:
 
 Mac OS X Interface:
  * Added options to disable support for Apple Remote and Media Keys
+ * Fixed options for Volume, Last.fm password and Subtitle Encoding
+ * Fixed redraw issues when autosizing the video window
  * Preferences panel now includes help through tool-tips
  * More reliable Information and Messages panels
  * Fix various crashes
diff --git a/modules/gui/macosx/simple_prefs.m b/modules/gui/macosx/simple_prefs.m
index 4f89e34..bbf4fc6 100644
--- a/modules/gui/macosx/simple_prefs.m
+++ b/modules/gui/macosx/simple_prefs.m
@@ -987,9 +987,9 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
     if( b_osdSettingChanged )
     {
         config_PutInt( p_intf, "osd", [o_osd_osd_ckb state] );
-
-        if( [o_osd_encoding_pop indexOfSelectedItem] >= 0 )
-            config_PutPsz( p_intf, "subsdec-encoding", [[[o_osd_encoding_pop selectedItem] title] UTF8String] );
+        SaveStringList( o_osd_encoding_pop, "subsdec-encoding" );
+//        if( [o_osd_encoding_pop indexOfSelectedItem] >= 0 )
+//            config_PutPsz( p_intf, "subsdec-encoding", [[[o_osd_encoding_pop selectedItem] title] UTF8String] );
 
         config_PutPsz( p_intf, "sub-language", [[o_osd_lang_fld stringValue] UTF8String] );
         




More information about the vlc-devel mailing list