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)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 11 Sep 2018 03:29:10 +0000 (23:29 -0400)
commitc1053e17d58c44f5509aaf9949c02b82332cb193
tree513609c4ac7246601c46ace7582d63445ceb4cad
parent3b1ae6262b99b45095c6aca02af0d7bbf88cfbbc
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