diff options
-rw-r--r-- | common/av_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/av_common.c b/common/av_common.c index 87616b9879..c1b188474a 100644 --- a/common/av_common.c +++ b/common/av_common.c @@ -65,6 +65,7 @@ void mp_copy_lav_codec_headers(AVCodecContext *avctx, AVCodecContext *st) avctx->block_align = st->block_align; avctx->channel_layout = st->channel_layout; avctx->bits_per_coded_sample = st->bits_per_coded_sample; + avctx->has_b_frames = st->has_b_frames; } // We merely pass-through our PTS/DTS as an int64_t; libavcodec won't use it. |