mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
gst: don't use bufferpool for audio by default
Deprecate the `always-copy` property in pipewiresrc and use the new property `use-bufferpool` in both pipewiresrc and pipewiresink to specify whether to use the gstpipewirepool or not. The gstpipewirepool is used for video by default unless `use-bufferpool` is set to `false` and it is not used for audio by default unless `use-bufferpool` is set to `true`
This commit is contained in:
parent
1e09827953
commit
333b5aaa36
5 changed files with 75 additions and 9 deletions
|
|
@ -47,6 +47,12 @@ struct _GstPipeWirePool {
|
|||
gboolean paused;
|
||||
};
|
||||
|
||||
enum GstPipeWirePoolMode {
|
||||
USE_BUFFERPOOL_NO = 0,
|
||||
USE_BUFFERPOOL_AUTO,
|
||||
USE_BUFFERPOOL_YES
|
||||
};
|
||||
|
||||
GstPipeWirePool * gst_pipewire_pool_new (GstPipeWireStream *stream);
|
||||
|
||||
void gst_pipewire_pool_wrap_buffer (GstPipeWirePool *pool, struct pw_buffer *buffer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue