You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +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:
@@ -1392,6 +1392,8 @@ static int h264_export_frame_props(H264Context *h)
|
|||||||
sizeof(fgp->codec.h274.comp_model_value));
|
sizeof(fgp->codec.h274.comp_model_value));
|
||||||
|
|
||||||
fgc->present = !!fgc->repetition_period;
|
fgc->present = !!fgc->repetition_period;
|
||||||
|
|
||||||
|
h->avctx->properties |= FF_CODEC_PROPERTY_FILM_GRAIN;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (h->sei.picture_timing.timecode_cnt > 0) {
|
if (h->sei.picture_timing.timecode_cnt > 0) {
|
||||||
|
Reference in New Issue
Block a user