# HG changeset patch
# User diego
# Date 1208859295 0
# Node ID f6183d22bdb3c8d25e0b57f44f9a6e884dfac9a7
# Parent  b0a7b35b78d2e725681961d783fb39b7081a42c4
Add BFI video support through FFmpeg.

diff -r b0a7b35b78d2 -r f6183d22bdb3 Changelog
--- a/Changelog	Tue Apr 22 09:33:39 2008 +0000
+++ b/Changelog	Tue Apr 22 10:14:55 2008 +0000
@@ -7,6 +7,7 @@
     * Support for DTS WAV/DTS-CD passthrough by ad_hwac3
     * Apple's raw YUV2 in MOV
     * LATM over LOAS AAC decoding via internal libfaad2
+    * Video game codecs: BFI video
 
     Demuxers:
     * -lavfdopts cryptokey allows decrypting MXF and ASF files
diff -r b0a7b35b78d2 -r f6183d22bdb3 etc/codecs.conf
--- a/etc/codecs.conf	Tue Apr 22 09:33:39 2008 +0000
+++ b/etc/codecs.conf	Tue Apr 22 10:14:55 2008 +0000
@@ -2095,6 +2095,14 @@
   dll thp
   out YV12
 
+videocodec ffbfi
+  info "FFmpeg BFI Video"
+  status working
+  fourcc BFIV ; internal MPlayer FourCC
+  driver ffmpeg
+  dll bfi
+  out BGR8
+
 videocodec ffbethsoftvid
   info "FFmpeg Bethesda Software VID"
   comment "video plays much too fast"
diff -r b0a7b35b78d2 -r f6183d22bdb3 libmpdemux/mp_taglists.c
--- a/libmpdemux/mp_taglists.c	Tue Apr 22 09:33:39 2008 +0000
+++ b/libmpdemux/mp_taglists.c	Tue Apr 22 10:14:55 2008 +0000
@@ -60,6 +60,7 @@
 static const AVCodecTag mp_bmp_tags[] = {
     { CODEC_ID_AMV,               MKTAG('A', 'M', 'V', 'V')},
     { CODEC_ID_BETHSOFTVID,       MKTAG('B', 'E', 'T', 'H')},
+    { CODEC_ID_BFI,               MKTAG('B', 'F', 'I', 'V')},
     { CODEC_ID_C93,               MKTAG('C', '9', '3', 'V')},
     { CODEC_ID_DSICINVIDEO,       MKTAG('D', 'C', 'I', 'V')},
     { CODEC_ID_DXA,               MKTAG('D', 'X', 'A', '1')},