Commit 5efe9944 authored by Guillaume Desmottes's avatar Guillaume Desmottes 🐐 Committed by Nicolas Dufresne
Browse files

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.

gstreamer/gst-plugins-bad#790
parent 64643fdf
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment