diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2010-01-15 16:03:59 +0000 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2010-02-12 20:09:43 +0000 |
commit | 9f1a0011ba167d2f2e9c60a29201794057f37f4e (patch) | |
tree | 1a546b607247821e83a4530f9190ba6b3b9731c6 /clutter-gst/clutter-gst-video-sink.c | |
parent | 2e21a3150b84372cae0948469b43eb8f82a109f8 (diff) | |
download | clutter-gst-9f1a0011ba167d2f2e9c60a29201794057f37f4e.tar.gz |
Don't use symbols deprecated by Cogl
cogl_texture_ref/unref() is deprecated in favour of the more generic
cogl_handle_ref/unref(), so let's use that.
Diffstat (limited to 'clutter-gst/clutter-gst-video-sink.c')
-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, |