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,6 +261,7 @@ gst_vaapidecode_decode_frame(GstVideoDecoder *vdec, GstVideoCodecFrame *frame)
/* ERRORS */ /* ERRORS */
error_decode_loop: error_decode_loop:
{ {
if (decode->decoder_loop_status != GST_FLOW_FLUSHING)
GST_ERROR("decode loop error %d", decode->decoder_loop_status); 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;