mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
glmixer: set the current texture to 0 before mapping
If we fail mapping, we don't want to use undefined video data in the subclass.
This commit is contained in:
parent
0fbbbd042a
commit
a8b860e45d
1 changed files with 1 additions and 0 deletions
|
@ -604,6 +604,7 @@ _upload_frames (GstAggregator * agg, GstAggregatorPad * agg_pad,
|
|||
GstGLMixerPad *pad = GST_GL_MIXER_PAD (agg_pad);
|
||||
GstGLMixer *mix = GST_GL_MIXER (agg);
|
||||
|
||||
pad->current_texture = 0;
|
||||
if (vaggpad->buffer != NULL) {
|
||||
GstVideoInfo gl_info;
|
||||
GstVideoFrame gl_frame;
|
||||
|
|
Loading…
Reference in a new issue