summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-08-18 11:19:58 +0200
committerwm4 <wm4@nowhere>2012-08-20 15:36:05 +0200
commitbd8b9ef6d1689f71ebcefd9a6ac7ff6aa74b676b (patch)
treedaa399b156383810d0a7f4e67dbe77916d2e8ecc /sub
parent53f6eba06cc5a44978c17faea1c2ec3ea8e0c117 (diff)
downloadmpv-bd8b9ef6d1689f71ebcefd9a6ac7ff6aa74b676b.tar.bz2
mpv-bd8b9ef6d1689f71ebcefd9a6ac7ff6aa74b676b.tar.xz
demux_gif: change format of packets to make it work again
The only decoder which could handle demux_gif's output was vd_raw, which has been removed recently. Instead of re-adding vd_raw, make it work with vd_ffmpeg. By coincidence, the FourCC "raw " fits our needs and it understood by the ffmpeg raw decoder (apparently used in mov files going by libavcodec/rawdec.c). Since there doesn't seem to be any good way to transport the palette in mplayer dmuxer packets, create an AVPacket for this purpose. (struct sh_video provides a "global" palette. Rather than hacking vd_ffmpeg to use it, it seems cleaner to make demux_gif use AVPacket, which supports a per-frame palette.)
Diffstat (limited to 'sub')
0 files changed, 0 insertions, 0 deletions