From 5ac4a6e003a3ca7975baf42e309fadfbd324984e Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 19 Sep 2018 10:06:15 +0200 Subject: [PATCH] h264parse: mark SEI Recovery Point as keyframes The spec states that "recovery point SEI message assists a decoder in determining when the decoding process will produce acceptable pictures for display after the decoder initiates random access or after the encoder indicates a broken link in the coded video sequence." Mark those as keyframes so muxers will mark them as seek points and decoders will be able to start decoding from them rather than waiting for an IDR. https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/790 --- gst/videoparsers/gsth264parse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c index f308d17..668f839 100644 --- a/gst/videoparsers/gsth264parse.c +++ b/gst/videoparsers/gsth264parse.c @@ -567,6 +567,7 @@ gst_h264_parse_process_sei (GstH264Parse * h264parse, GstH264NalUnit * nalu) sei.payload.recovery_point.exact_match_flag, sei.payload.recovery_point.broken_link_flag, sei.payload.recovery_point.changing_slice_group_idc); + h264parse->keyframe = TRUE; break; /* Additional messages that are not innerly useful to the -- 2.7.4