summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mpv/Makefile3
-rw-r--r--multimedia/mpv/distinfo6
-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
5 files changed, 4 insertions, 65 deletions
diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile
index df75207fe895..7f9480cc37e2 100644
--- a/multimedia/mpv/Makefile
+++ b/multimedia/mpv/Makefile
@@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= mpv
-PORTVERSION= 0.23.0
+PORTVERSION= 0.24.0
DISTVERSIONPREFIX= v
-PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= multimedia audio
diff --git a/multimedia/mpv/distinfo b/multimedia/mpv/distinfo
index 38590bb0d6bb..bc1701bcdaa8 100644
--- a/multimedia/mpv/distinfo
+++ b/multimedia/mpv/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1482671558
-SHA256 (mpv-player-mpv-v0.23.0_GH0.tar.gz) = 8aeefe5970587dfc454d2b89726b603f156bd7a9ae427654eef0d60c68d94998
-SIZE (mpv-player-mpv-v0.23.0_GH0.tar.gz) = 2812103
+TIMESTAMP = 1486985239
+SHA256 (mpv-player-mpv-v0.24.0_GH0.tar.gz) = a41854fa0ac35b9c309ad692aaee67c8d4495c3546f11cb4cdd0a124195d3f15
+SIZE (mpv-player-mpv-v0.24.0_GH0.tar.gz) = 2835920
SHA256 (waf-project-waf-waf-1.8.12_GH0.tar.gz) = 5ba55fef2811a54c86c99270f3a43e6327f927b182c6e0af70647dfe7ee2973f
SIZE (waf-project-waf-waf-1.8.12_GH0.tar.gz) = 1349077
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);