d3d11vp9dec: Ignore show_frame flag in output_picture()

baseclass will not call output_picture() if it shouldn't be ouputted.
Note that the show_frame flag can be zero when show_existing_frame is set

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2114>
This commit is contained in:
Seungha Yang 2021-03-26 22:40:34 +09:00
parent 76e5e479be
commit 03f1ff2042

View file

@ -483,8 +483,6 @@ gst_d3d11_vp9_dec_output_picture (GstVp9Decoder * decoder,
GstBuffer *view_buffer;
gboolean direct_rendering = FALSE;
g_assert (picture->frame_hdr.show_frame);
GST_LOG_OBJECT (self, "Outputting picture %p", picture);
view_buffer = (GstBuffer *) gst_vp9_picture_get_user_data (picture);