mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 18:35:35 +00:00
gl/upload: update the video info on mapping a video frame
The buffer should contain the most specific data on how the data is formatted. We should use this information. https://bugzilla.gnome.org/show_bug.cgi?id=729896
This commit is contained in:
parent
480784e368
commit
5cdfd51172
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ gst_gl_upload_perform_with_buffer (GstGLUpload * upload, GstBuffer * buffer,
|
|||
}
|
||||
|
||||
/* update the video info from the one updated by frame_map using video meta */
|
||||
upload->in_info = upload->priv->frame.info;
|
||||
gst_gl_upload_set_format (upload, &upload->priv->frame.info);
|
||||
|
||||
if (!gst_gl_upload_perform_with_data (upload, upload->priv->tex_id,
|
||||
upload->priv->frame.data)) {
|
||||
|
|
Loading…
Reference in a new issue