faac, voaacenc: adjust to modified audioencoder getcaps helper API
This commit is contained in:
parent
658e54ff8c
commit
f890f60ee2
@ -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
|
||||||
|
@ -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 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user