mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2025-02-05 20:00:10 +00:00
Revert "avcodec/hevc: fix outputted AVFrame.key_frame"
This is not correct Requested-by: mraulet This reverts commit 973de9ebf8796bc2720a9959a9a535cf4023c58a.
This commit is contained in:
parent
30cdf384d1
commit
f8de1caa6e
@ -207,9 +207,6 @@ int ff_hevc_output_frame(HEVCContext *s, AVFrame *out, int flush)
|
||||
(frame->window.top_offset >> vshift) * dst->linesize[i];
|
||||
dst->data[i] += off;
|
||||
}
|
||||
|
||||
out->key_frame = out->pict_type == AV_PICTURE_TYPE_I;
|
||||
|
||||
av_log(s->avctx, AV_LOG_DEBUG,
|
||||
"Output frame with POC %d.\n", frame->poc);
|
||||
return 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user