gl/mixer: fix download check for failure

This commit is contained in:
Matthew Waters 2014-03-17 20:43:35 +01:00
parent faa94a8737
commit 58aa3e9d64

View file

@ -1695,7 +1695,7 @@ gst_gl_mixer_process_textures (GstGLMixer * mix, GstBuffer * outbuf)
mix_class->process_textures (mix, mix->frames, out_tex);
if (out_gl_wrapped) {
if (gst_gl_download_perform_with_data (mix->download, out_tex,
if (!gst_gl_download_perform_with_data (mix->download, out_tex,
out_frame.data)) {
GST_ELEMENT_ERROR (mix, RESOURCE, NOT_FOUND, ("%s",
"Failed to download video frame"), (NULL));