mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 12:41:05 +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,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;
|
||||||
|
|
Loading…
Reference in a new issue