mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
decklinkaudiosrc: Release the audio input on errors, not the video input
This commit is contained in:
parent
2b99c2c579
commit
c6d5c4c2e1
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ gst_decklink_audio_src_set_caps (GstBaseSrc * bsrc, GstCaps * caps)
|
|||
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), FALSE);
|
||||
GST_ELEMENT_CAST (self), TRUE);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue