# HG changeset patch # User gpoirier # Date 1160931153 0 # Node ID 508f089d0b28a66e40898e3da3ac5363574c2001 # Parent a2a174f19b343234aed3dbb9fded47b61511444a Have xvid encoder wrapper honnor -vtag option Patch by Ramiro Polla angustia A arrozcru P no-ip P org Original thread: Date: 14.10.2006 05:44 Subject: [Ffmpeg-devel] xvid ignores -vtag diff -r a2a174f19b34 -r 508f089d0b28 xvidff.c --- a/xvidff.c Sun Oct 15 12:59:45 2006 +0000 +++ b/xvidff.c Sun Oct 15 16:52:33 2006 +0000 @@ -335,7 +335,8 @@ } else { /* We are claiming to be XviD */ x->quicktime_format = 0; - avctx->codec_tag = ff_get_fourcc("xvid"); + if(!avctx->codec_tag) + avctx->codec_tag = ff_get_fourcc("xvid"); } /* Bframes */