mirror of
https://github.com/mpv-player/mpv
synced 2025-02-20 23:07:02 +00:00
factorizes variable check
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25664 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8944441a44
commit
1043075a0d
@ -2741,9 +2741,11 @@ play_next_file:
|
||||
mpctx->global_sub_size = 0;
|
||||
{ int i; for (i = 0; i < SUB_SOURCES; i++) mpctx->global_sub_indices[i] = -1; }
|
||||
|
||||
if (filename) load_per_protocol_config (mconfig, filename);
|
||||
if (filename) load_per_extension_config (mconfig, filename);
|
||||
if (filename) load_per_file_config (mconfig, filename);
|
||||
if (filename) {
|
||||
load_per_protocol_config (mconfig, filename);
|
||||
load_per_extension_config (mconfig, filename);
|
||||
load_per_file_config (mconfig, filename);
|
||||
}
|
||||
|
||||
// We must enable getch2 here to be able to interrupt network connection
|
||||
// or cache filling
|
||||
|
Loading…
Reference in New Issue
Block a user