mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 19:10:43 -05:00
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:
parent
1e2a65daee
commit
a972024ed7
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user