mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
faac, voaacenc: adjust to modified audioencoder getcaps helper API
This commit is contained in:
parent
658e54ff8c
commit
f890f60ee2
2 changed files with 3 additions and 2 deletions
|
@ -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…
Reference in a new issue