mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 09:41:07 +00:00
jackaudiosrc: actually use the queried ports from JACK
When no ports are given, gst_jack_get_ports() is called to get all the (physical) output ports but then the result is ignored, triggering the "No physical output ports found..." error. Instead, move the queried ports to the variable we're going to use later. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7474>
This commit is contained in:
parent
a12a5f6a25
commit
1b5a093b96
1 changed files with 1 additions and 0 deletions
|
@ -496,6 +496,7 @@ gst_jack_ring_buffer_acquire (GstAudioRingBuffer * buf,
|
|||
jack_ports = gst_jack_get_ports (client, src->port_pattern, NULL,
|
||||
JackPortIsOutput);
|
||||
}
|
||||
available_ports = jack_ports;
|
||||
}
|
||||
|
||||
if (!available_ports) {
|
||||
|
|
Loading…
Reference in a new issue