summaryrefslogtreecommitdiff
path: root/multimedia/mpv/files/patch-player_command.c
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mpv/files/patch-player_command.c')
-rw-r--r--multimedia/mpv/files/patch-player_command.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/mpv/files/patch-player_command.c b/multimedia/mpv/files/patch-player_command.c
new file mode 100644
index 000000000000..5b408f94b143
--- /dev/null
+++ b/multimedia/mpv/files/patch-player_command.c
@@ -0,0 +1,11 @@
+--- player/command.c.orig 2016-06-25 10:10:43 UTC
++++ player/command.c
+@@ -2801,7 +2801,7 @@ static int mp_property_vo_performance(vo
+ return M_PROPERTY_OK;
+ }
+
+- struct voctrl_performance_data data = {0};
++ struct voctrl_performance_data data = {{0}};
+ if (vo_control(mpctx->video_out, VOCTRL_PERFORMANCE_DATA, &data) <= 0)
+ return M_PROPERTY_UNAVAILABLE;
+