On 04/07/14 17:21, Vittorio Giovara wrote: > From: Mickaƫl Raulet <[email protected]> > > Signed-off-by: Vittorio Giovara <[email protected]> > --- > Alternatively ff_hevc_set_new_ref() might be ok for this maybe.
In ff_hevc_set_new_ref we set already other frame params, might be a better place indeed. > Vittorio > > libavcodec/hevc.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c > index 76df80a..95f1c66 100644 > --- a/libavcodec/hevc.c > +++ b/libavcodec/hevc.c > @@ -2488,6 +2488,8 @@ static int hevc_frame_start(HEVCContext *s) > goto fail; > } > > + s->ref->frame->key_frame = IS_IRAP(s); > + > ret = set_side_data(s); > if (ret < 0) > goto fail; > _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
