mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 10:10:32 +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 */
|
||||
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);
|
||||
return decode->decoder_loop_status;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue