changeset 34509:bdca973d87a5

Fix 32-bit targa playback with current FFmpeg on big-endian.
author cehoyos
date Tue, 24 Jan 2012 18:24:00 +0000
parents 8e09c663aaff
children 82c2971d8e1e
files codec-cfg.c etc/codecs.conf
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/codec-cfg.c	Tue Jan 24 18:14:18 2012 +0000
+++ b/codec-cfg.c	Tue Jan 24 18:24:00 2012 +0000
@@ -213,6 +213,7 @@
     {"BGR16",       IMGFMT_BGR16},
     {"BGR24",       IMGFMT_BGR24},
     {"BGR32",       IMGFMT_BGR32},
+    {"BGRA",        IMGFMT_BGRA},
     {"RGB1",        IMGFMT_RGB1},
     {"BGR1",        IMGFMT_BGR1},
     {"GBR24P",      IMGFMT_GBR24P},
--- a/etc/codecs.conf	Tue Jan 24 18:14:18 2012 +0000
+++ b/etc/codecs.conf	Tue Jan 24 18:24:00 2012 +0000
@@ -623,7 +623,7 @@
   fourcc "tga " ; for TGA-encoded QuickTime files
   driver ffmpeg
   dll targa
-  out BGR32,BGR24,BGR8,Y800,RGB32,RGB24,RGB8
+  out BGRA,BGR32,BGR24,BGR8,Y800,RGB32,RGB24,RGB8
 
 videocodec mtga
   info "TGA image"