faac, voaacenc: adjust to modified audioencoder getcaps helper API

This commit is contained in:
Mark Nauwelaerts 2012-07-25 16:05:12 +02:00
parent 658e54ff8c
commit f890f60ee2
2 changed files with 3 additions and 2 deletions

View file

@ -359,7 +359,7 @@ gst_faac_getcaps (GstAudioEncoder * enc, GstCaps * filter)
g_once_init_leave (&sinkcaps, (gsize) tmp); g_once_init_leave (&sinkcaps, (gsize) tmp);
} }
return gst_audio_encoder_proxy_getcaps (enc, (GstCaps *) sinkcaps); return gst_audio_encoder_proxy_getcaps (enc, (GstCaps *) sinkcaps, filter);
} }
static gboolean static gboolean

View file

@ -306,7 +306,8 @@ gst_voaacenc_get_sink_caps (void)
static GstCaps * static GstCaps *
gst_voaacenc_getcaps (GstAudioEncoder * benc, GstCaps * filter) gst_voaacenc_getcaps (GstAudioEncoder * benc, GstCaps * filter)
{ {
return gst_audio_encoder_proxy_getcaps (benc, gst_voaacenc_get_sink_caps ()); return gst_audio_encoder_proxy_getcaps (benc, gst_voaacenc_get_sink_caps (),
filter);
} }
/* check downstream caps to configure format */ /* check downstream caps to configure format */