Browse Source

avcodec/dnxhdenc: Set pict type for AV_PKT_DATA_QUALITY_STATS correctly

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n2.8
Michael Niedermayer 10 years ago
parent
commit
caba19a5be
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/dnxhdenc.c

+ 1
- 1
libavcodec/dnxhdenc.c View File

@@ -1115,7 +1115,7 @@ FF_DISABLE_DEPRECATION_WARNINGS
FF_ENABLE_DEPRECATION_WARNINGS
#endif

ff_side_data_set_encoder_stats(pkt, ctx->qscale * FF_QP2LAMBDA, NULL, 0, 0);
ff_side_data_set_encoder_stats(pkt, ctx->qscale * FF_QP2LAMBDA, NULL, 0, AV_PICTURE_TYPE_I);

pkt->flags |= AV_PKT_FLAG_KEY;
*got_packet = 1;


Loading…
Cancel
Save