From: He Junyan Date: Wed, 12 Oct 2022 08:11:47 +0000 (+0800) Subject: vp9parse: The show_existing_frame buffer should not be decode only. X-Git-Tag: 1.22.0~805 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=11436be2682631fb21f412f79e5f6daa4631d13e;p=platform%2Fupstream%2Fgstreamer.git vp9parse: The show_existing_frame buffer should not be decode only. Part-of: --- 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);