vp9parse: Skip parsing decode-only frame
Decode-only frame (i.e., show_existing_frame == 1) doesn't hold any valid information apart from the index of frame to be duplicated. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2408>
This commit is contained in:
parent
108eba3603
commit
cd50b02bc9
@ -297,7 +297,8 @@ gst_vp9_parse_process_frame (GstVp9Parse * self, GstVp9FrameHdr * frame_hdr)
|
|||||||
gint width, height;
|
gint width, height;
|
||||||
|
|
||||||
/* the resolution might be varying. Update our status per key frame */
|
/* the resolution might be varying. Update our status per key frame */
|
||||||
if (frame_hdr->frame_type != GST_VP9_KEY_FRAME) {
|
if (frame_hdr->frame_type != GST_VP9_KEY_FRAME ||
|
||||||
|
frame_hdr->show_existing_frame) {
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user