vaapidecode: don't print an error message for GST_FLOW_FLUSHING

This commit is contained in:
Michael Olbrich 2015-01-27 14:50:12 +02:00 committed by Sreerenj Balachandran
parent cffe87df89
commit b7d7a0197d

View file

@ -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;
} }