diff options
-rw-r--r-- | clutter-gst/clutter-gst-video-sink.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clutter-gst/clutter-gst-video-sink.c b/clutter-gst/clutter-gst-video-sink.c index a1919ca..246f01d 100644 --- a/clutter-gst/clutter-gst-video-sink.c +++ b/clutter-gst/clutter-gst-video-sink.c @@ -572,13 +572,13 @@ clutter_gst_yv12_upload (ClutterGstVideoSink *sink, GST_BUFFER_DATA (buffer)); clutter_texture_set_cogl_texture (priv->texture, y_tex); - cogl_texture_unref (y_tex); + cogl_handle_unref (y_tex); if (priv->u_tex) - cogl_texture_unref (priv->u_tex); + cogl_handle_unref (priv->u_tex); if (priv->v_tex) - cogl_texture_unref (priv->v_tex); + cogl_handle_unref (priv->v_tex); priv->v_tex = cogl_texture_new_from_data (priv->width / 2, priv->height / 2, |