diff options
author | Seungha Yang <seungha.yang@navercorp.com> | 2018-08-14 00:46:26 +0900 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2018-09-10 22:36:59 -0400 |
commit | 8b57392b92a9da93a4c28444e91249928bd5c43f (patch) | |
tree | 8d24863fcd3916326111b3bb575e7e988d68ab28 | |
parent | 60d8b7184fd188304712724bce489863a03f2d6e (diff) |
h265parse: Don't discard first AU delimiter
Apply the commit 48a1f27
https://bugzilla.gnome.org/show_bug.cgi?id=754124
-rw-r--r-- | gst/videoparsers/gsth265parse.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gst/videoparsers/gsth265parse.c b/gst/videoparsers/gsth265parse.c index 4832402cb..ca4a1f98d 100644 --- a/gst/videoparsers/gsth265parse.c +++ b/gst/videoparsers/gsth265parse.c @@ -715,6 +715,12 @@ gst_h265_parse_process_nal (GstH265Parse * h265parse, GstH265NalUnit * nalu) h265parse->idr_pos); } break; + case GST_H265_NAL_AUD: + /* Just accumulate AU Delimiter, whether it's before SPS or not */ + pres = gst_h265_parser_parse_nal (nalparser, nalu); + if (pres != GST_H265_PARSER_OK) + return FALSE; + break; default: /* drop anything before the initial SPS */ if (!GST_H265_PARSE_STATE_VALID (h265parse, GST_H265_PARSE_STATE_GOT_SPS)) |