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/flac | |
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/flac')
-rw-r--r-- | ext/flac/gstflacenc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c index a1f06b28..ac8759b0 100644 --- a/ext/flac/gstflacenc.c +++ b/ext/flac/gstflacenc.c @@ -110,9 +110,9 @@ gst_flacenc_sinkconnect (GstPad *pad, GstCaps *caps) if (!GST_CAPS_IS_FIXED (caps)) return GST_PAD_CONNECT_DELAYED; - flacenc->channels = gst_caps_get_int (caps, "channels"); - flacenc->depth = gst_caps_get_int (caps, "depth"); - flacenc->sample_rate = gst_caps_get_int (caps, "rate"); + gst_caps_get_int (caps, "channels", &flacenc->channels); + gst_caps_get_int (caps, "depth", &flacenc->depth); + gst_caps_get_int (caps, "rate", &flacenc->sample_rate); FLAC__stream_encoder_set_bits_per_sample (flacenc->encoder, flacenc->depth); FLAC__stream_encoder_set_sample_rate (flacenc->encoder, flacenc->sample_rate); |