mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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
This commit is contained in:
parent
68a5697c1a
commit
5ac4a6e003
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue