Commit 1e16b61c authored by Mark Nauwelaerts's avatar Mark Nauwelaerts
Browse files

wavpackenc: do not set output caps directly

... but use base class function instead.
parent fba47d17
......@@ -411,7 +411,7 @@ gst_wavpack_enc_set_format (GstAudioEncoder * benc, GstAudioInfo * info)
if (mask)
gst_caps_set_simple (caps, "channel-mask", GST_TYPE_BITMASK, mask, NULL);
if (!gst_pad_set_caps (GST_AUDIO_ENCODER_SRC_PAD (enc), caps))
if (!gst_audio_encoder_set_output_format (benc, caps))
goto setting_src_caps_failed;
gst_caps_unref (caps);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment