diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-11-15 10:41:02 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-12-06 10:28:36 +0100 |
commit | b8b21dee0f0b4bcc1888067c497d6e838859d2cd (patch) | |
tree | 25608159da2ee45b618826487177b1206c9dcb36 /libavformat/mxfenc.c | |
parent | e02de9df4b218bd6e1e927b67fd4075741545688 (diff) | |
download | ffmpeg-b8b21dee0f0b4bcc1888067c497d6e838859d2cd.tar.gz |
mxfenc: always assume long gop
Checking the codec context parameters to find out this information is
far too unreliable to be useful, so it is safer to assume B-frames are
always present.
Diffstat (limited to 'libavformat/mxfenc.c')
-rw-r--r-- | libavformat/mxfenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index 0f4155ab87..3a3008b9d3 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -1295,7 +1295,7 @@ static const UID mxf_mpeg2_codec_uls[] = { static const UID *mxf_get_mpeg2_codec_ul(AVCodecContext *avctx) { - int long_gop = avctx->gop_size > 1 || avctx->has_b_frames; + int long_gop = 1; if (avctx->profile == 4) { // Main if (avctx->level == 8) // Main |