mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
dashsink: fix double unref of sinkpad caps
no need to unref caps in gst_mpd_helper_get_XXX_codec_from_mime it will be unref in caller gst_dash_sink_get_stream_metadata() Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1981>
This commit is contained in:
parent
e8ec8f7dd7
commit
1753d2931c
1 changed files with 0 additions and 2 deletions
|
@ -103,7 +103,6 @@ gst_mpd_helper_get_audio_codec_from_mime (GstCaps * caps)
|
|||
}
|
||||
|
||||
done:
|
||||
gst_caps_unref (caps);
|
||||
return codec_name;
|
||||
}
|
||||
|
||||
|
@ -128,7 +127,6 @@ gst_mpd_helper_get_video_codec_from_mime (GstCaps * caps)
|
|||
}
|
||||
|
||||
done:
|
||||
gst_caps_unref (caps);
|
||||
return codec_name;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue