mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
decklinkaudiosrc: Don't release input device twice on errors in set_caps()
This commit is contained in:
parent
cfc0230e04
commit
7fb57938c1
1 changed files with 0 additions and 2 deletions
|
@ -376,8 +376,6 @@ gst_decklink_audio_src_set_caps (GstBaseSrc * bsrc, GstCaps * caps)
|
|||
sample_depth, 2);
|
||||
if (ret != S_OK) {
|
||||
GST_WARNING_OBJECT (self, "Failed to enable audio input");
|
||||
gst_decklink_release_nth_input (self->device_number,
|
||||
GST_ELEMENT_CAST (self), TRUE);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue