cogl-gst-video-sink: Fix a call to g_return_val_if_fail

cogl_gst_video_sink_get_natural_size was using g_return_val_if_fail
but its return type is void. For some reason GCC doesn't complain
about this but it causes a compile error on clang.
This commit is contained in:
Neil Roberts 2014-03-21 15:30:30 +00:00
parent 1e2a65daee
commit a972024ed7

View File

@ -1695,7 +1695,7 @@ cogl_gst_video_sink_get_natural_size (CoglGstVideoSink *vt,
{ {
GstVideoInfo *info; GstVideoInfo *info;
g_return_val_if_fail (COGL_GST_IS_VIDEO_SINK (vt), 0.); g_return_if_fail (COGL_GST_IS_VIDEO_SINK (vt));
info = &vt->priv->info; info = &vt->priv->info;