diff options
author | Frederik Zipp <fzipp@gmx.de> | 2010-07-27 12:31:17 +0200 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2010-07-27 11:38:41 +0100 |
commit | 98a6725c850431df2651b6a721c3d9a790f25231 (patch) | |
tree | 70e1b666b02e218d7ad9080c2a2daa5a21d3a710 | |
parent | 11a0d7ec0d991012e8a83baaa803dc2eb60ffcd3 (diff) | |
download | clutter-gst-98a6725c850431df2651b6a721c3d9a790f25231.tar.gz |
video-texture: Fix segmentation fault by assigning 'priv'
-rw-r--r-- | clutter-gst/clutter-gst-video-texture.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clutter-gst/clutter-gst-video-texture.c b/clutter-gst/clutter-gst-video-texture.c index 4426477..c078b4d 100644 --- a/clutter-gst/clutter-gst-video-texture.c +++ b/clutter-gst/clutter-gst-video-texture.c @@ -1229,6 +1229,8 @@ clutter_gst_video_texture_get_user_agent (ClutterGstVideoTexture *texture) g_return_val_if_fail (CLUTTER_GST_IS_VIDEO_TEXTURE (texture), NULL); + priv = texture->priv; + /* If the user has set a custom user agent, we just return it even if it is * not used by the current source element of the pipeline */ if (priv->user_agent) |