Valid stream [1] might has no key frame.
Fixed: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/890
[1] https://storage.googleapis.com/downloads.webmproject.org/test_data/libvpx/vp90-2-16-intra-only.webm
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1316>
gst_vpx_error_name (status));
return GST_FLOW_CUSTOM_SUCCESS_1;
}
- if (!stream_info.is_kf) {
- GST_INFO_OBJECT (dec, "No keyframe, skipping");
- return GST_FLOW_CUSTOM_SUCCESS_1;
- }
+
if (stream_info.w == 0 || stream_info.h == 0) {
/* For VP8 it's possible to signal width or height to be 0, but it does
* not make sense to do so. For VP9 it's impossible. Hence, we most likely