OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14f29f7
)
Have xvid encoder wrapper honnor -vtag option
author
Ramiro Polla
<ramiro@lisha.ufsc.br>
Sun, 15 Oct 2006 16:52:33 +0000
(16:52 +0000)
committer
Guillaume Poirier
<gpoirier@mplayerhq.hu>
Sun, 15 Oct 2006 16:52:33 +0000
(16:52 +0000)
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
libavcodec/xvidff.c
patch
|
blob
|
history
diff --git
a/libavcodec/xvidff.c
b/libavcodec/xvidff.c
index
e48bfe5
..
590fe4b
100644
(file)
--- a/
libavcodec/xvidff.c
+++ b/
libavcodec/xvidff.c
@@
-335,7
+335,8
@@
int ff_xvid_encode_init(AVCodecContext *avctx) {
} 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 */