glmixer: Move frame/texture mapping/unmapping into prepare/clean_frame
authorSebastian Dröge <sebastian@centricular.com>
Sat, 5 May 2018 10:16:35 +0000 (12:16 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Sat, 5 May 2018 10:17:34 +0000 (12:17 +0200)
commit5add956727e086a285a725d1558fe03d3d862053
tree3841037de985a46a5482fdf95609b20b899eb45a
parent3e5378163a0423ee6f4f9c8bdd2b904d54445d7e
glmixer: Move frame/texture mapping/unmapping into prepare/clean_frame

Previously we assumed that the texture ID is going to be valid even
after unmapping the frame, as it was immediately unmapped before even
being used. Now we only unmap once we're done with the texture.
ext/gl/gstglmixer.c