mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
h265parse: Differentiate PREFIX SEI from SUFFIX
There is some code to fixup broken stream that uses the SEI location, this code is meant to locate SUFFIX SEI only. This should prevent unwanted side effect if SUFFIX SEI is used.
This commit is contained in:
parent
1aede43af6
commit
c51922b06c
1 changed files with 1 additions and 1 deletions
|
@ -839,7 +839,7 @@ gst_h265_parse_process_nal (GstH265Parse * h265parse, GstH265NalUnit * nalu)
|
|||
gst_h265_parse_process_sei (h265parse, nalu);
|
||||
|
||||
/* mark SEI pos */
|
||||
if (h265parse->sei_pos == -1) {
|
||||
if (nal_type == GST_H265_NAL_PREFIX_SEI && h265parse->sei_pos == -1) {
|
||||
if (h265parse->transform)
|
||||
h265parse->sei_pos = gst_adapter_available (h265parse->frame_out);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue