diff --git a/etc/codecs.conf b/etc/codecs.conf index 0d51cdd853..f1c6d8880e 100644 --- a/etc/codecs.conf +++ b/etc/codecs.conf @@ -218,6 +218,14 @@ videocodec mpng driver mpng out BGR32,BGR24,BGR8,Y800 +videocodec ffptx + info "FFmpeg V.Flash PTX decoder" + status working + fourcc "ptx " + driver ffmpeg + dll ptx + out BGR32,BGR24,BGR8,Y800,RGB32,RGB24,RGB8 + videocodec fftga info "FFmpeg TGA decoder" status untested diff --git a/libmpdemux/demux_mf.c b/libmpdemux/demux_mf.c index ae2a839dae..f7c241feed 100644 --- a/libmpdemux/demux_mf.c +++ b/libmpdemux/demux_mf.c @@ -67,6 +67,7 @@ static const struct { { "jpg", mmioFOURCC('I', 'J', 'P', 'G') }, { "pcx", mmioFOURCC('p', 'c', 'x', ' ') }, { "png", mmioFOURCC('M', 'P', 'N', 'G') }, + { "ptx", mmioFOURCC('p', 't', 'x', ' ') }, { "tga", mmioFOURCC('M', 'T', 'G', 'A') }, { "tif", mmioFOURCC('t', 'i', 'f', 'f') }, { "sgi", mmioFOURCC('S', 'G', 'I', '1') },