diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2002-03-30 17:06:26 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2002-03-30 17:06:26 +0000 |
commit | 13d9e8d35227337a04b0cd24a0dda7c0c3961289 (patch) | |
tree | 9a4e6fa918604e74a46251b50d2f26d7c0d2d024 /ext/esd | |
parent | c5e4b06ff518ca83a403c175e22a802ee73714f1 (diff) |
Changed to the new props API
Original commit message from CVS:
Changed to the new props API
Other small tuff.
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; |