vaapiencode: flush pending frames before set format
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 25 Sep 2017 15:04:12 +0000 (17:04 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 26 Sep 2017 09:34:20 +0000 (11:34 +0200)
commit9f4a5762d5bc82a65b2bf414ed002462e231c899
tree907f01141648b0e6ab6120863931eb5aa6446845
parenta4daa2a04af923117bece0587db48e6ab35cb4d9
vaapiencode: flush pending frames before set format

Flush pending frames, if any, in the internal encorder, before setting
the new negotiated format.

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