From 6d1481e91bb5cc8eff338510737c457a43bdfd6f Mon Sep 17 00:00:00 2001 From: compn Date: Mon, 12 May 2008 02:09:47 +0000 Subject: [PATCH] add ffptx , works on ptx samples git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26743 b3059339-0415-0410-9bf9-f77b7e298cf2 --- etc/codecs.conf | 8 ++++++++ libmpdemux/demux_mf.c | 1 + 2 files changed, 9 insertions(+) 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') },