mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -2623,7 +2623,7 @@ gst_audio_encoder_negotiate (GstAudioEncoder * enc)
|
||||||
gboolean
|
gboolean
|
||||||
gst_audio_encoder_set_output_format (GstAudioEncoder * enc, GstCaps * caps)
|
gst_audio_encoder_set_output_format (GstAudioEncoder * enc, GstCaps * caps)
|
||||||
{
|
{
|
||||||
gboolean res = FALSE;
|
gboolean res = TRUE;
|
||||||
GstCaps *templ_caps;
|
GstCaps *templ_caps;
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (enc, "Setting srcpad caps %" GST_PTR_FORMAT, caps);
|
GST_DEBUG_OBJECT (enc, "Setting srcpad caps %" GST_PTR_FORMAT, caps);
|
||||||
|
|
Loading…
Reference in a new issue