mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
h265parse: process SEI recovery point
Similar change as the on I did in h264parse. We want to process SEI recovery point as keyframe 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
64643fdfb4
commit
5efe9944e0
1 changed files with 8 additions and 0 deletions
|
@ -537,6 +537,14 @@ gst_h265_parse_process_sei (GstH265Parse * h265parse, GstH265NalUnit * nalu)
|
|||
for (i = 0; i < messages->len; i++) {
|
||||
sei = g_array_index (messages, GstH265SEIMessage, i);
|
||||
switch (sei.payloadType) {
|
||||
case GST_H265_SEI_RECOVERY_POINT:
|
||||
GST_LOG_OBJECT (h265parse, "recovery point found: %u %u %u",
|
||||
sei.payload.recovery_point.recovery_poc_cnt,
|
||||
sei.payload.recovery_point.exact_match_flag,
|
||||
sei.payload.recovery_point.broken_link_flag);
|
||||
h265parse->keyframe = TRUE;
|
||||
break;
|
||||
|
||||
case GST_H265_SEI_BUF_PERIOD:
|
||||
case GST_H265_SEI_PIC_TIMING:
|
||||
/* FIXME */
|
||||
|
|
Loading…
Reference in a new issue