mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
audiodecoder: Don't unref caps twice
Thanks to Josep Torra for noticing.
This commit is contained in:
parent
706498cb6e
commit
e779002cfd
1 changed files with 0 additions and 1 deletions
|
@ -659,7 +659,6 @@ gst_audio_decoder_set_output_format (GstAudioDecoder * dec,
|
|||
if (!gst_caps_is_subset (caps, templ_caps)) {
|
||||
GST_WARNING_OBJECT (dec, "Requested output format %" GST_PTR_FORMAT
|
||||
" do not match template %" GST_PTR_FORMAT, caps, templ_caps);
|
||||
gst_caps_unref (caps);
|
||||
gst_caps_unref (templ_caps);
|
||||
goto refuse_caps;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue