summaryrefslogtreecommitdiff
path: root/multimedia/mpv/files
diff options
context:
space:
mode:
authorCarlos J. Puga Medina <cpm@FreeBSD.org>2017-02-13 17:21:16 +0000
committerCarlos J. Puga Medina <cpm@FreeBSD.org>2017-02-13 17:21:16 +0000
commitbedbea28e5193838ce28a1615a827101c385b69f (patch)
treed695c322a543fb79509772393278e624b4a76226 /multimedia/mpv/files
parentUpdate sysutils/lttng-tools from 2.9.0 to 2.9.3 (diff)
multimedia/mpv: update to 0.24.0
- Update PORTVERSION and distinfo checksum (0.24.0) - Remove unneeded patches Changelog: https://github.com/mpv-player/mpv/releases/tag/v0.24.0
Diffstat (limited to 'multimedia/mpv/files')
-rw-r--r--multimedia/mpv/files/patch-player_command.c11
-rw-r--r--multimedia/mpv/files/patch-video_out_opengl_hwdec__vaegl.c11
-rw-r--r--multimedia/mpv/files/patch-video_out_opengl_video.c38
3 files changed, 0 insertions, 60 deletions
diff --git a/multimedia/mpv/files/patch-player_command.c b/multimedia/mpv/files/patch-player_command.c
deleted file mode 100644
index 5b408f94b143..000000000000
--- a/multimedia/mpv/files/patch-player_command.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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;
-
diff --git a/multimedia/mpv/files/patch-video_out_opengl_hwdec__vaegl.c b/multimedia/mpv/files/patch-video_out_opengl_hwdec__vaegl.c
deleted file mode 100644
index 63d54302c417..000000000000
--- a/multimedia/mpv/files/patch-video_out_opengl_hwdec__vaegl.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- video/out/opengl/hwdec_vaegl.c.orig 2016-06-25 10:09:55 UTC
-+++ video/out/opengl/hwdec_vaegl.c
-@@ -367,7 +367,7 @@ static bool test_format(struct gl_hwdec
- va_surface_init_subformat(surface);
- struct mp_image_params params = surface->params;
- if (reinit(hw, &params) >= 0) {
-- struct gl_hwdec_frame frame = {0};
-+ struct gl_hwdec_frame frame = {{{0}}};
- ok = map_frame(hw, surface, &frame) >= 0;
- }
- unmap_frame(hw);
diff --git a/multimedia/mpv/files/patch-video_out_opengl_video.c b/multimedia/mpv/files/patch-video_out_opengl_video.c
deleted file mode 100644
index e512ec06bd01..000000000000
--- a/multimedia/mpv/files/patch-video_out_opengl_video.c
+++ /dev/null
@@ -1,38 +0,0 @@
---- video/out/opengl/video.c.orig 2016-06-25 01:23:40 UTC
-+++ video/out/opengl/video.c
-@@ -881,7 +881,7 @@ static void uninit_video(struct gl_video
- gl->DeleteTextures(1, &plane->gl_texture);
- gl->DeleteBuffers(1, &plane->gl_buffer);
- }
-- *vimg = (struct video_image){0};
-+ *vimg = (struct video_image){{{0}}};
-
- // Invalidate image_params to ensure that gl_video_config() will call
- // init_video() on uninitialized gl_video.
-@@ -933,7 +933,7 @@ static void pass_prepare_src_tex(struct
- static void render_pass_quad(struct gl_video *p, int vp_w, int vp_h,
- const struct mp_rect *dst)
- {
-- struct vertex va[4] = {0};
-+ struct vertex va[4] = {{{0}}};
-
- struct gl_transform t;
- gl_transform_ortho(&t, 0, vp_w, 0, vp_h);
-@@ -2931,7 +2931,7 @@ static bool map_image(struct gl_video *p
- // This assumes nv12, with textures set to GL_NEAREST filtering.
- static void reinterleave_vdpau(struct gl_video *p, struct gl_hwdec_frame *frame)
- {
-- struct gl_hwdec_frame res = {0};
-+ struct gl_hwdec_frame res = {{{0}}};
- for (int n = 0; n < 2; n++) {
- struct fbotex *fbo = &p->vdpau_deinterleave_fbo[n];
- // This is an array of the 2 to-merge planes.
-@@ -2989,7 +2989,7 @@ static bool gl_video_upload_image(struct
-
- if (p->hwdec_active) {
- // Hardware decoding
-- struct gl_hwdec_frame gl_frame = {0};
-+ struct gl_hwdec_frame gl_frame = {{{0}}};
- gl_timer_start(p->upload_timer);
- bool ok = p->hwdec->driver->map_frame(p->hwdec, vimg->mpi, &gl_frame) >= 0;
- gl_timer_stop(p->upload_timer);