From patchwork Sat Aug 22 04:16:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: hax@riseup.net X-Patchwork-Id: 21811 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 8CA6A448413 for ; Sat, 22 Aug 2020 07:17:02 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 71DDF68B5B7; Sat, 22 Aug 2020 07:17:02 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C25E96881FE for ; Sat, 22 Aug 2020 07:16:55 +0300 (EEST) Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4BYQ7m59QHzFc8b for ; Fri, 21 Aug 2020 21:16:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1598069812; bh=Z7m2u+DYDqRSylRBNkDUKnE/rPdQyPfM27XP60dk/hg=; h=Date:From:To:Subject:From; b=Yv85FHq1KnCixQYM/Hpv80g2pnoHvGu0wHoVoBST+09yHg1N60U8O0F0WJGpE6JWG UEQJpAXaR1pjx5JoUIAV1pEpRM9/Sw8sPVDeCMjqzftW3QFPVKFQ4xfM4TXdnc5JNz f0GJvfWAUUtWpWvof4DSJvMUc8tp9wPCRf+6f7Cc= X-Riseup-User-ID: 987285480CFD15339945A86EF8CFD887FFE4A47BCBE909BB8CB59BCA5084B597 Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 4BYQ7m4JskzJnJx for ; Fri, 21 Aug 2020 21:16:52 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 21 Aug 2020 21:16:52 -0700 From: hax@riseup.net To: ffmpeg-devel@ffmpeg.org Message-ID: <4cfec311eadc4ed13d7daad22a751c99@riseup.net> Subject: [FFmpeg-devel] [PATCH 1/1] libavformat/nut: Support SSA and ASS subtitles X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" ffmpeg documentation says the NUT container supports SubStation Alpha This brings actual functionality in line with documentation. --- libavformat/nut.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.27.0 diff --git a/libavformat/nut.c b/libavformat/nut.c index d6993239a3..47ed152529 100644 --- a/libavformat/nut.c +++ b/libavformat/nut.c @@ -27,6 +27,8 @@ const AVCodecTag ff_nut_subtitle_tags[] = { { AV_CODEC_ID_TEXT, MKTAG('U', 'T', 'F', '8') }, + { AV_CODEC_ID_ASS, MKTAG('S', 'S', 'A', 0 ) }, + { AV_CODEC_ID_ASS, MKTAG('A', 'S', 'S', 0 ) }, { AV_CODEC_ID_DVD_SUBTITLE, MKTAG('D', 'V', 'D', 'S') }, { AV_CODEC_ID_DVB_SUBTITLE, MKTAG('D', 'V', 'B', 'S') }, { AV_CODEC_ID_DVB_TELETEXT, MKTAG('D', 'V', 'B', 'T') },