d3d11vp9dec: Ignore show_frame flag in output_picture()
authorSeungha Yang <seungha@centricular.com>
Fri, 26 Mar 2021 13:40:34 +0000 (22:40 +0900)
committerSeungha Yang <seungha@centricular.com>
Fri, 26 Mar 2021 14:50:18 +0000 (14:50 +0000)
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>

sys/d3d11/gstd3d11vp9dec.cpp

index 72c8234..60c4b1a 100644 (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);