[MPlayer-cvslog] r38425 - in trunk: etc/codecs.conf libmpdemux/mp_taglists.c

reimar subversion at mplayerhq.hu
Mon Jun 5 22:25:17 EEST 2023


Author: reimar
Date: Mon Jun  5 22:25:17 2023
New Revision: 38425

Log:
mp_taglists: Add AV_CODEC_ID_GIF to 'gif ' tag mapping.

Allows playing back gif files.
Not sure if FFmpeg should have this mapping itself,
given that this seems to be a FOURCC already established
by QuickTime...

Fixes trac issue #2413

Modified:
   trunk/etc/codecs.conf
   trunk/libmpdemux/mp_taglists.c

Modified: trunk/etc/codecs.conf
==============================================================================
--- trunk/etc/codecs.conf	Mon Jun  5 21:44:35 2023	(r38424)
+++ trunk/etc/codecs.conf	Mon Jun  5 22:25:17 2023	(r38425)
@@ -776,7 +776,7 @@ videocodec ffgif
   fourcc "gif " ; for GIF-encoded QuickTime files
   driver ffmpeg
   dll gif
-  out BGR8
+  out BGR8,BGRA
 
 videocodec fftiff
   info "FFmpeg TIFF"

Modified: trunk/libmpdemux/mp_taglists.c
==============================================================================
--- trunk/libmpdemux/mp_taglists.c	Mon Jun  5 21:44:35 2023	(r38424)
+++ trunk/libmpdemux/mp_taglists.c	Mon Jun  5 22:25:17 2023	(r38425)
@@ -165,6 +165,7 @@ static const struct AVCodecTag mp_bmp_ta
     { AV_CODEC_ID_DSICINVIDEO,       MKTAG('D', 'C', 'I', 'V') },
     { AV_CODEC_ID_DXA,               MKTAG('D', 'X', 'A', '1') },
     { AV_CODEC_ID_FLIC,              MKTAG('f', 'l', 'i', 'c') },
+    { AV_CODEC_ID_GIF,               MKTAG('g', 'i', 'f', ' ') },
     { AV_CODEC_ID_HEVC,              MKTAG('H', 'E', 'V', 'C') },
     { AV_CODEC_ID_HNM4_VIDEO,        MKTAG('H', 'N', 'M', '4') },
     { AV_CODEC_ID_IDCIN,             MKTAG('I', 'D', 'C', 'I') },


More information about the MPlayer-cvslog mailing list