mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-21 05:26:23 +00:00
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:
parent
b9ecf3b40d
commit
d07bffb578
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue