Browse Source

libavcodec/amfenc_hevc.c: Fix Profile level option on AMF HEVC.

tags/n4.3
Sitan Liu Mark Thompson 5 years ago
parent
commit
c96837043e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/amfenc_hevc.c

+ 1
- 1
libavcodec/amfenc_hevc.c View File

@@ -136,7 +136,7 @@ static av_cold int amf_encode_init_hevc(AVCodecContext *avctx)
AMF_ASSIGN_PROPERTY_INT64(res, ctx->encoder, AMF_VIDEO_ENCODER_HEVC_TIER, ctx->tier);

profile_level = avctx->level;
if (profile_level == 0) {
if (profile_level == FF_LEVEL_UNKNOWN) {
profile_level = ctx->level;
}
if (profile_level != 0) {


Loading…
Cancel
Save