glupload: try to use the last method after reconfigure
authorMichael Olbrich <m.olbrich@pengutronix.de>
Wed, 4 Jul 2018 07:17:11 +0000 (09:17 +0200)
committerMichael Olbrich <m.olbrich@pengutronix.de>
Tue, 30 Oct 2018 11:25:07 +0000 (12:25 +0100)
commit4d9abc6bed66593438e378d8648fc067d9aa1615
treefda5f03d48800eb73a8f16fcb5652e63d3f52502
parent5d0e1917107f96b59ab2db3b017fb750e73b98d7
glupload: try to use the last method after reconfigure

Reconfigure will trigger a set_caps which clears the upload method.
Remember the method in this case and start with it.
Wrap around once to try all methods if necessary.

https://bugzilla.gnome.org/show_bug.cgi?id=783521
gst-libs/gst/gl/gstglupload.c