git: ab92b4f2e048 - main - multimedia/mpv: unbreak audio with YTDLP=on after 35a7667ec445

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 24 Mar 2023 23:56:22 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ab92b4f2e04872d9c850ec48c89ade33a99501e4

commit ab92b4f2e04872d9c850ec48c89ade33a99501e4
Author:     Ivan Rozhuk <rozhuk.im@gmail.com>
AuthorDate: 2023-03-24 21:59:01 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-03-24 23:55:23 +0000

    multimedia/mpv: unbreak audio with YTDLP=on after 35a7667ec445
    
    [ytdl_hook] EDL doesn't support fragmentswithout duration with MP4 DASH
    EDL specifies no segments.'
    EDL parsing failed.
    Error in EDL.
    EDL: source file 'edl://!mp4_dash,init=%910%https://...' has unknown duration.
    
    PR:             270437
---
 multimedia/mpv/Makefile | 4 +++-
 multimedia/mpv/distinfo | 4 ++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile
index 599f281242c2..aa6e02f99987 100644
--- a/multimedia/mpv/Makefile
+++ b/multimedia/mpv/Makefile
@@ -1,12 +1,14 @@
 PORTNAME=	mpv
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.35.1
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	multimedia audio
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
 PATCHFILES+=	b95111dda879.patch:-p1 # https://github.com/mpv-player/mpv/pull/10871
+PATCHFILES+=	94c189dae76b.patch:-p1 # https://github.com/mpv-player/mpv/pull/11398
+PATCHFILES+=	362256edbc4f.patch:-p1 # https://github.com/mpv-player/mpv/pull/11398
 
 MAINTAINER=	multimedia@FreeBSD.org
 COMMENT=	Free and open-source general-purpose video player
diff --git a/multimedia/mpv/distinfo b/multimedia/mpv/distinfo
index 7becfd8da248..32eb5627d0f3 100644
--- a/multimedia/mpv/distinfo
+++ b/multimedia/mpv/distinfo
@@ -3,3 +3,7 @@ SHA256 (mpv-player-mpv-v0.35.1_GH0.tar.gz) = 41df981b7b84e33a2ef4478aaf81d6f4f5c
 SIZE (mpv-player-mpv-v0.35.1_GH0.tar.gz) = 3367913
 SHA256 (b95111dda879.patch) = c70c62f01d65c701a161954ef480d60aa8cc19454f9e04c4c61ef115cd4f75b2
 SIZE (b95111dda879.patch) = 1474
+SHA256 (94c189dae76b.patch) = c6e2b219f448f0711033c5618854fc4c323f0860cdc268e01f61015f9ec79757
+SIZE (94c189dae76b.patch) = 1151
+SHA256 (362256edbc4f.patch) = 5e048085eb1ac3bf6f81c99daf471177a5cad1100be84fe2a5a7436687bc81e1
+SIZE (362256edbc4f.patch) = 1587