mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
vpxdec: Skip check of key frame when open GOP
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>
This commit is contained in:
parent
fb4be45e6f
commit
5ac1a12927
1 changed files with 1 additions and 4 deletions
|
@ -604,10 +604,7 @@ gst_vpx_dec_open_codec (GstVPXDec * dec, GstVideoCodecFrame * frame)
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue