vaapidecoder: Don't error out on decode errors

This is problematic on live pipeline where loosing network can
cause an important amount of errors.

https://bugzilla.gnome.org/show_bug.cgi?id=796832
This commit is contained in:
Nicolas Dufresne 2018-07-24 12:40:00 -04:00
parent b9ecf3b40d
commit d07bffb578

View file

@ -1087,6 +1087,9 @@ gst_vaapidecode_start (GstVideoDecoder * vdec)
if (old_display)
gst_object_unref (old_display);
/* Disable errors on decode errors */
gst_video_decoder_set_max_errors (vdec, -1);
return success;
}