mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-21 07:00:08 -05:00
gst: factor out the stream management and some common variables in a new class
Construct this new class from both the src and sink to be able to share code Consolidate the previous mess of open/close/start/stop into a single pair of open/close functions in the new stream class
This commit is contained in:
parent
fe5a29ac2a
commit
0c40c01477
7 changed files with 428 additions and 508 deletions
|
|
@ -6,6 +6,7 @@ pipewire_gst_sources = [
|
|||
'gstpipewirepool.c',
|
||||
'gstpipewiresink.c',
|
||||
'gstpipewiresrc.c',
|
||||
'gstpipewirestream.c',
|
||||
]
|
||||
|
||||
if get_option('gstreamer-device-provider').allowed()
|
||||
|
|
@ -20,6 +21,7 @@ pipewire_gst_headers = [
|
|||
'gstpipewirepool.h',
|
||||
'gstpipewiresink.h',
|
||||
'gstpipewiresrc.h',
|
||||
'gstpipewirestream.h',
|
||||
]
|
||||
|
||||
pipewire_gst = shared_library('gstpipewire',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue