summaryrefslogtreecommitdiff
path: root/sys/d3d11
diff options
context:
space:
mode:
authorSeungha Yang <seungha@centricular.com>2020-04-23 23:52:24 +0900
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>2020-04-23 22:06:24 +0000
commit2fe473fa5072caff9439280a956a197ea2434354 (patch)
tree3d83dbe3c8c34add0c4f74d4d0dc06e3613180eb /sys/d3d11
parent23e99a7a77b19fa12251e35d4419d71886cee107 (diff)
downloadgstreamer-plugins-bad-2fe473fa5072caff9439280a956a197ea2434354.tar.gz
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>
Diffstat (limited to 'sys/d3d11')
-rw-r--r--sys/d3d11/gstd3d11h264dec.c2
-rw-r--r--sys/d3d11/gstd3d11h265dec.c2
-rw-r--r--sys/d3d11/gstd3d11vp8dec.c2
-rw-r--r--sys/d3d11/gstd3d11vp9dec.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/sys/d3d11/gstd3d11h264dec.c b/sys/d3d11/gstd3d11h264dec.c
index 4d9796910..459b012ae 100644
--- a/sys/d3d11/gstd3d11h264dec.c
+++ b/sys/d3d11/gstd3d11h264dec.c
@@ -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),
diff --git a/sys/d3d11/gstd3d11h265dec.c b/sys/d3d11/gstd3d11h265dec.c
index 6556d4b94..c3b002866 100644
--- a/sys/d3d11/gstd3d11h265dec.c
+++ b/sys/d3d11/gstd3d11h265dec.c
@@ -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),
diff --git a/sys/d3d11/gstd3d11vp8dec.c b/sys/d3d11/gstd3d11vp8dec.c
index eb1f19353..f8ebbca1b 100644
--- a/sys/d3d11/gstd3d11vp8dec.c
+++ b/sys/d3d11/gstd3d11vp8dec.c
@@ -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),
diff --git a/sys/d3d11/gstd3d11vp9dec.c b/sys/d3d11/gstd3d11vp9dec.c
index d5f49a26c..c22a980b2 100644
--- a/sys/d3d11/gstd3d11vp9dec.c
+++ b/sys/d3d11/gstd3d11vp9dec.c
@@ -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),