From 11436be2682631fb21f412f79e5f6daa4631d13e Mon Sep 17 00:00:00 2001 From: He Junyan Date: Wed, 12 Oct 2022 16:11:47 +0800 Subject: [PATCH] vp9parse: The show_existing_frame buffer should not be decode only. Part-of: --- subprojects/gst-plugins-bad/gst/videoparsers/gstvp9parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/gst/videoparsers/gstvp9parse.c b/subprojects/gst-plugins-bad/gst/videoparsers/gstvp9parse.c index 61992c6..23c84e8 100644 --- a/subprojects/gst-plugins-bad/gst/videoparsers/gstvp9parse.c +++ b/subprojects/gst-plugins-bad/gst/videoparsers/gstvp9parse.c @@ -772,7 +772,7 @@ gst_vp9_parse_parse_frame (GstVp9Parse * self, GstBaseParseFrame * frame, GST_BUFFER_FLAG_SET (buffer, GST_BUFFER_FLAG_DELTA_UNIT); if (self->align == GST_VP9_PARSE_ALIGN_FRAME) { - if (!frame_hdr->show_frame) + if (!frame_hdr->show_frame && !frame_hdr->show_existing_frame) GST_BUFFER_FLAG_SET (buffer, GST_BUFFER_FLAG_DECODE_ONLY); else GST_BUFFER_FLAG_UNSET (buffer, GST_BUFFER_FLAG_DECODE_ONLY); -- 2.7.4