mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
codecs: vp9decoder: Fix to output frame when show_existing_frame flag is set
When show_existing_frame flag is set, show_frame flag is zero but we should output previously decoded frame as specified in frame header. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2114>
This commit is contained in:
parent
c9518780fd
commit
76e5e479be
1 changed files with 1 additions and 1 deletions
|
@ -388,7 +388,7 @@ gst_vp9_decoder_handle_frame (GstVideoDecoder * decoder,
|
|||
|
||||
gst_buffer_unmap (in_buf, &map);
|
||||
|
||||
if (!picture->frame_hdr.show_frame) {
|
||||
if (!frame_hdr.show_frame && !frame_hdr.show_existing_frame) {
|
||||
GST_LOG_OBJECT (self, "Decode only picture %p", picture);
|
||||
GST_VIDEO_CODEC_FRAME_SET_DECODE_ONLY (frame);
|
||||
|
||||
|
|
Loading…
Reference in a new issue