aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mplayer/files/patch-mplayer.c
blob: 8fa3358f3950137d84929f1e8c035b3ecea064b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- mplayer.c.orig  2014-04-06 20:46:45.000000000 +0200
+++ mplayer.c   2014-06-07 14:40:43.756655422 +0200
@@ -3707,7 +3707,8 @@
         if (use_gui) {
             if (!gui(GUI_SET_VIDEO, mpctx->sh_video))
                 goto goto_next_file;
-            gui(GUI_SET_AUDIO, mpctx->sh_audio);
+            if (mpctx->sh_audio)
+                gui(GUI_SET_AUDIO, mpctx->sh_audio);
         }
 #endif