mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
vp9parse: The show_existing_frame buffer should not be decode only.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3155>
This commit is contained in:
parent
eac9c33cc1
commit
11436be268
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue