1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-03 14:32:16 +02:00

avcodec/h264_slice: signal the presence of Film Grain in the decoder context

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2021-08-24 09:55:34 -03:00
parent 9b05263ac1
commit ab25874e32

View File

@ -1392,6 +1392,8 @@ static int h264_export_frame_props(H264Context *h)
sizeof(fgp->codec.h274.comp_model_value));
fgc->present = !!fgc->repetition_period;
h->avctx->properties |= FF_CODEC_PROPERTY_FILM_GRAIN;
}
if (h->sei.picture_timing.timecode_cnt > 0) {