Commit aa770811 authored by Ramiro Polla's avatar Ramiro Polla Committed by Guillaume Poirier

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

Originally committed as revision 6701 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 14f29f79
...@@ -335,7 +335,8 @@ int ff_xvid_encode_init(AVCodecContext *avctx) { ...@@ -335,7 +335,8 @@ int ff_xvid_encode_init(AVCodecContext *avctx) {
} else { } else {
/* We are claiming to be XviD */ /* We are claiming to be XviD */
x->quicktime_format = 0; x->quicktime_format = 0;
avctx->codec_tag = ff_get_fourcc("xvid"); if(!avctx->codec_tag)
avctx->codec_tag = ff_get_fourcc("xvid");
} }
/* Bframes */ /* Bframes */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment