audioencoder: return TRUE from _set_output_format() if all is good
Fixes not-negotiated errors in wavpackenc unit test.
This commit is contained in:
parent
c6e19d5df2
commit
2ff4d2efe3
@ -2623,7 +2623,7 @@ gst_audio_encoder_negotiate (GstAudioEncoder * enc)
|
||||
gboolean
|
||||
gst_audio_encoder_set_output_format (GstAudioEncoder * enc, GstCaps * caps)
|
||||
{
|
||||
gboolean res = FALSE;
|
||||
gboolean res = TRUE;
|
||||
GstCaps *templ_caps;
|
||||
|
||||
GST_DEBUG_OBJECT (enc, "Setting srcpad caps %" GST_PTR_FORMAT, caps);
|
||||
|
Loading…
x
Reference in New Issue
Block a user