aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--libvo/vo_dxr2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libvo/vo_dxr2.c b/libvo/vo_dxr2.c
index 9db04eb165..88565344f3 100644
--- a/libvo/vo_dxr2.c
+++ b/libvo/vo_dxr2.c
@@ -561,9 +561,9 @@ static uint32_t preinit(const char *arg) {
use_ol = 0;
}
}
-
- if(use_ol && !sub_vo) {
- if(arg)
+
+ if(!sub_vo) {
+ if(use_ol)
mp_msg(MSGT_VO,MSGL_WARN,"VO: [dxr2] Sub driver '%s' not found => no overlay\n",arg);
use_ol = 0;
} else {