mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
audiodecoder: plug caps leak when setting output format
This commit is contained in:
parent
d8f698fe20
commit
aae64c40a8
1 changed files with 1 additions and 0 deletions
|
@ -552,6 +552,7 @@ gst_audio_decoder_set_output_format (GstAudioDecoder * dec,
|
|||
GST_AUDIO_DECODER_STREAM_UNLOCK (dec);
|
||||
|
||||
res = gst_pad_set_caps (dec->srcpad, caps);
|
||||
gst_caps_unref (caps);
|
||||
|
||||
done:
|
||||
return res;
|
||||
|
|
Loading…
Reference in a new issue