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:
parent
9b05263ac1
commit
ab25874e32
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user