vaapidecode: drain pending frames before set format
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 25 Sep 2017 13:50:19 +0000 (15:50 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 26 Sep 2017 08:48:20 +0000 (10:48 +0200)
commita4daa2a04af923117bece0587db48e6ab35cb4d9
treeff8f4ab8a1cab1739f98d8728f0b893b50d9be7b
parent7d74176395b17e2a5d694c8b17b0cb23469605e9
vaapidecode: drain pending frames before set format

Drain pending frames, if any, in the internal decoder before setting
the new negotiated format.

https://bugzilla.gnome.org/show_bug.cgi?id=786173
gst/vaapi/gstvaapidecode.c