mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 18:51:11 +00:00
vaapidecode: don't print an error message for GST_FLOW_FLUSHING
This commit is contained in:
parent
cffe87df89
commit
b7d7a0197d
1 changed files with 2 additions and 1 deletions
|
@ -261,7 +261,8 @@ gst_vaapidecode_decode_frame(GstVideoDecoder *vdec, GstVideoCodecFrame *frame)
|
||||||
/* ERRORS */
|
/* ERRORS */
|
||||||
error_decode_loop:
|
error_decode_loop:
|
||||||
{
|
{
|
||||||
GST_ERROR("decode loop error %d", decode->decoder_loop_status);
|
if (decode->decoder_loop_status != GST_FLOW_FLUSHING)
|
||||||
|
GST_ERROR("decode loop error %d", decode->decoder_loop_status);
|
||||||
gst_video_decoder_drop_frame(vdec, frame);
|
gst_video_decoder_drop_frame(vdec, frame);
|
||||||
return decode->decoder_loop_status;
|
return decode->decoder_loop_status;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue