summaryrefslogtreecommitdiff
path: root/libavcodec/hevc_refs.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-15 21:34:34 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-15 21:34:34 +0200
commitf8de1caa6e981edb1086bdd3f085bd2df5c79486 (patch)
tree35cb2a3b48ea0554da5eb563a13e9bed2277ae3c /libavcodec/hevc_refs.c
parent30cdf384d143ffdfb95d27191537c3f671741b91 (diff)
Revert "avcodec/hevc: fix outputted AVFrame.key_frame"
This is not correct Requested-by: mraulet This reverts commit 973de9ebf8796bc2720a9959a9a535cf4023c58a.
Diffstat (limited to 'libavcodec/hevc_refs.c')
-rw-r--r--libavcodec/hevc_refs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/hevc_refs.c b/libavcodec/hevc_refs.c
index 91347cf33f..24d55d15be 100644
--- a/libavcodec/hevc_refs.c
+++ b/libavcodec/hevc_refs.c
@@ -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;