d3d11decoder: Fix wrong return type from output_picture vfunc

Return type should be GstFlowReturn, not gboolean

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1213>
This commit is contained in:
Seungha Yang 2020-04-23 23:52:24 +09:00 committed by GStreamer Merge Bot
parent 23e99a7a77
commit 2fe473fa50
4 changed files with 4 additions and 4 deletions

View file

@ -619,7 +619,7 @@ gst_d3d11_h264_dec_output_picture (GstH264Decoder * decoder,
if (!view_buffer) {
GST_ERROR_OBJECT (self, "Could not get output view");
return FALSE;
return GST_FLOW_ERROR;
}
frame = gst_video_decoder_get_frame (GST_VIDEO_DECODER (self),

View file

@ -660,7 +660,7 @@ gst_d3d11_h265_dec_output_picture (GstH265Decoder * decoder,
if (!view_buffer) {
GST_ERROR_OBJECT (self, "Could not get output view");
return FALSE;
return GST_FLOW_ERROR;
}
frame = gst_video_decoder_get_frame (GST_VIDEO_DECODER (self),

View file

@ -375,7 +375,7 @@ gst_d3d11_vp8_dec_output_picture (GstVp8Decoder * decoder,
if (!view_buffer) {
GST_ERROR_OBJECT (self, "Could not get output view");
return FALSE;
return GST_FLOW_ERROR;
}
frame = gst_video_decoder_get_frame (GST_VIDEO_DECODER (self),

View file

@ -478,7 +478,7 @@ gst_d3d11_vp9_dec_output_picture (GstVp9Decoder * decoder,
if (!view_buffer) {
GST_ERROR_OBJECT (self, "Could not get output view");
return FALSE;
return GST_FLOW_ERROR;
}
frame = gst_video_decoder_get_frame (GST_VIDEO_DECODER (self),