mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
d3d11decoder: Don't print error log when no DPB texture is available
... but we are flushing. The condition is quite expected situation when pipeline is in the middle of seeking operation. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2320>
This commit is contained in:
parent
8530ac286a
commit
a63539b213
6 changed files with 12 additions and 7 deletions
|
@ -1178,8 +1178,13 @@ gst_d3d11_decoder_get_output_view_buffer (GstD3D11Decoder * decoder,
|
|||
ret = gst_buffer_pool_acquire_buffer (decoder->internal_pool, &buf, NULL);
|
||||
|
||||
if (ret != GST_FLOW_OK || !buf) {
|
||||
GST_ERROR_OBJECT (videodec, "Couldn't get buffer from pool, ret %s",
|
||||
gst_flow_get_name (ret));
|
||||
if (ret != GST_FLOW_FLUSHING) {
|
||||
GST_ERROR_OBJECT (videodec, "Couldn't get buffer from pool, ret %s",
|
||||
gst_flow_get_name (ret));
|
||||
} else {
|
||||
GST_DEBUG_OBJECT (videodec, "We are flusing");
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
@ -782,7 +782,7 @@ gst_d3d11_h264_dec_new_picture (GstH264Decoder * decoder,
|
|||
view_buffer = gst_d3d11_decoder_get_output_view_buffer (self->d3d11_decoder,
|
||||
GST_VIDEO_DECODER (decoder));
|
||||
if (!view_buffer) {
|
||||
GST_ERROR_OBJECT (self, "No available output view buffer");
|
||||
GST_DEBUG_OBJECT (self, "No available output view buffer");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
@ -780,7 +780,7 @@ gst_d3d11_h265_dec_new_picture (GstH265Decoder * decoder,
|
|||
view_buffer = gst_d3d11_decoder_get_output_view_buffer (self->d3d11_decoder,
|
||||
GST_VIDEO_DECODER (decoder));
|
||||
if (!view_buffer) {
|
||||
GST_ERROR_OBJECT (self, "No available output view buffer");
|
||||
GST_DEBUG_OBJECT (self, "No available output view buffer");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
@ -463,7 +463,7 @@ gst_d3d11_mpeg2_dec_new_picture (GstMpeg2Decoder * decoder,
|
|||
view_buffer = gst_d3d11_decoder_get_output_view_buffer (self->d3d11_decoder,
|
||||
GST_VIDEO_DECODER (decoder));
|
||||
if (!view_buffer) {
|
||||
GST_ERROR_OBJECT (self, "No available output view buffer");
|
||||
GST_DEBUG_OBJECT (self, "No available output view buffer");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
@ -375,7 +375,7 @@ gst_d3d11_vp8_dec_new_picture (GstVp8Decoder * decoder,
|
|||
view_buffer = gst_d3d11_decoder_get_output_view_buffer (self->d3d11_decoder,
|
||||
GST_VIDEO_DECODER (decoder));
|
||||
if (!view_buffer) {
|
||||
GST_ERROR_OBJECT (self, "No available output view buffer");
|
||||
GST_DEBUG_OBJECT (self, "No available output view buffer");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
@ -412,7 +412,7 @@ gst_d3d11_vp9_dec_new_picture (GstVp9Decoder * decoder,
|
|||
view_buffer = gst_d3d11_decoder_get_output_view_buffer (self->d3d11_decoder,
|
||||
GST_VIDEO_DECODER (decoder));
|
||||
if (!view_buffer) {
|
||||
GST_ERROR_OBJECT (self, "No available output view buffer");
|
||||
GST_DEBUG_OBJECT (self, "No available output view buffer");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue