mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
vorbisenc: adjust to modified audioencoder getcaps helper API
This commit is contained in:
parent
1f962bc108
commit
f1c583bde3
1 changed files with 2 additions and 2 deletions
|
@ -301,10 +301,10 @@ gst_vorbis_enc_getcaps (GstAudioEncoder * enc, GstCaps * filter)
|
|||
if (filter) {
|
||||
GstCaps *int_caps = gst_caps_intersect_full (filter, vorbisenc->sinkcaps,
|
||||
GST_CAPS_INTERSECT_FIRST);
|
||||
caps = gst_audio_encoder_proxy_getcaps (enc, int_caps);
|
||||
caps = gst_audio_encoder_proxy_getcaps (enc, int_caps, filter);
|
||||
gst_caps_unref (int_caps);
|
||||
} else {
|
||||
caps = gst_audio_encoder_proxy_getcaps (enc, vorbisenc->sinkcaps);
|
||||
caps = gst_audio_encoder_proxy_getcaps (enc, vorbisenc->sinkcaps, filter);
|
||||
}
|
||||
|
||||
return caps;
|
||||
|
|
Loading…
Reference in a new issue