glupload: Update GstVideoInfo after the buffer is mapped
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 9 May 2014 21:59:43 +0000 (17:59 -0400)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:40 +0000 (19:31 +0000)
commit94aa3ea228e5fb2fdc0f55e662716ba9e4775698
tree4e8954e94d8cc6a9b62098d318a822d55692ee5e
parent43866270efa97a64061fb2b33ae133df61a172b3
glupload: Update GstVideoInfo after the buffer is mapped

gst_video_frame_map() will store an updated video info base
on the video meta. In order to have the right stride and offset
we should update that video info accordingly.
gst-libs/gst/gl/gstglupload.c