forked from bartvdbraak/blender
Fix [#22612] FFMPEG writes incorrect Xvid FourCC code
Reported by Karl Nyman When XVID is chosen for FFMPEG make sure that XVID is written for FourCC code.
This commit is contained in:
parent
74f060bfe5
commit
ba2a9ae88e
@ -515,6 +515,7 @@ static AVStream* alloc_video_stream(RenderData *rd, int codec_id, AVFormatContex
|
||||
if (codec_id == CODEC_ID_XVID) {
|
||||
/* arghhhh ... */
|
||||
c->pix_fmt = PIX_FMT_YUV420P;
|
||||
c->codec_tag = (('D'<<24) + ('I'<<16) + ('V'<<8) + 'X');
|
||||
}
|
||||
|
||||
if (codec_id == CODEC_ID_H264) {
|
||||
|
Loading…
Reference in New Issue
Block a user