We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c88502 commit b40674dCopy full SHA for b40674d
src/AvTranscoder/file/OutputFile.cpp
@@ -43,7 +43,7 @@ IOutputStream& OutputFile::addVideoStream(const VideoCodec& videoDesc)
43
stream.codec->field_order = videoDesc.getAVCodecContext().field_order;
44
45
if (_formatContext.getAVOutputFormat().flags & AVFMT_GLOBALHEADER) {
46
- stream.codec->flags = CODEC_FLAG_GLOBAL_HEADER;
+ stream.codec->flags |= CODEC_FLAG_GLOBAL_HEADER;
47
}
48
49
// if the codec is experimental, allow it
0 commit comments