libs: decoder: h265: skip all pictures prior the first I-frame
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Sun, 3 Nov 2019 16:59:01 +0000 (17:59 +0100)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 29 Nov 2019 15:34:05 +0000 (15:34 +0000)
commit1168d6d5481a4d3cd83847b0ff7239231c29df5c
treedf20abf42fa4515404565a3f61d8e19e616f2dcd
parent6fb5387d5b420fd2333b6e3617909aeaf6506dca
libs: decoder: h265: skip all pictures prior the first I-frame

Don't try to decode until the first I-frame is received within the
currently active sequence. i965 H265 decoder don't show any artifact
but it crashes.

Fixes: #98
gst-libs/gst/vaapi/gstvaapidecoder_h265.c