diff options
Diffstat (limited to 'ext/esd')
-rw-r--r-- | ext/esd/esdsink.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c index b22e69d4..63b4a10d 100644 --- a/ext/esd/esdsink.c +++ b/ext/esd/esdsink.c @@ -227,9 +227,9 @@ gst_esdsink_sinkconnect (GstPad *pad, GstCaps *caps) if (!GST_CAPS_IS_FIXED (caps)) return GST_PAD_CONNECT_DELAYED; - esdsink->depth = gst_caps_get_int (caps, "depth"); - esdsink->channels = gst_caps_get_int (caps, "channels"); - esdsink->frequency = gst_caps_get_int (caps, "rate"); + gst_caps_get_int (caps, "depth", &esdsink->depth); + gst_caps_get_int (caps, "channels", &esdsink->channels); + gst_caps_get_int (caps, "rate", &esdsink->frequency); if (gst_esdsink_sync_parms (esdsink)) return GST_PAD_CONNECT_OK; |