From 6f37b8a7b6ae4e0396bc9c85f0ca965018f848d5 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 30 Apr 2013 12:10:03 +0400 Subject: [PATCH] neutrino.cpp, settings: add key for file play subtitle select --- src/neutrino.cpp | 2 ++ src/system/settings.h | 1 + 2 files changed, 3 insertions(+) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index c8b9f5ef5..26c5af5df 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -3701,6 +3701,7 @@ void CNeutrinoApp::loadKeys(const char * fname) g_settings.mpkey_time = tconfig.getInt32( "mpkey.time", CRCInput::RC_setup ); g_settings.mpkey_bookmark = tconfig.getInt32( "mpkey.bookmark", CRCInput::RC_blue ); g_settings.mpkey_plugin = tconfig.getInt32( "mpkey.plugin", CRCInput::RC_red ); + g_settings.mpkey_subtitle = tconfig.getInt32( "mpkey.subtitle", CRCInput::RC_sub ); /* options */ g_settings.menu_left_exit = tconfig.getInt32( "menu_left_exit", 0 ); @@ -3764,6 +3765,7 @@ void CNeutrinoApp::saveKeys(const char * fname) tconfig.setInt32( "mpkey.time", g_settings.mpkey_time ); tconfig.setInt32( "mpkey.bookmark", g_settings.mpkey_bookmark ); tconfig.setInt32( "mpkey.plugin", g_settings.mpkey_plugin ); + tconfig.setInt32( "mpkey.subtitle", g_settings.mpkey_subtitle ); tconfig.setInt32( "menu_left_exit", g_settings.menu_left_exit ); tconfig.setInt32( "audio_run_player", g_settings.audio_run_player ); diff --git a/src/system/settings.h b/src/system/settings.h index c5fb45755..54ccf2847 100644 --- a/src/system/settings.h +++ b/src/system/settings.h @@ -393,6 +393,7 @@ struct SNeutrinoSettings int mpkey_time; int mpkey_bookmark; int mpkey_plugin; + int mpkey_subtitle; int key_timeshift; int key_plugin;