mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-11-05 16:26:16 +00:00
gst: enable new properties on gst elements
Enable properties to handle release-fd messages
This commit is contained in:
parent
8a509ec2a4
commit
0b7393affe
2 changed files with 7 additions and 2 deletions
|
@ -137,6 +137,8 @@ setup_pipeline (PinosGstSource *source, GError **error)
|
|||
"sync-method", 0, /* latest */
|
||||
"sync", TRUE,
|
||||
"enable-last-sample", FALSE,
|
||||
"send-dispatched", TRUE,
|
||||
"send-messages", TRUE,
|
||||
NULL);
|
||||
|
||||
gst_bin_add (GST_BIN (priv->pipeline), priv->sink);
|
||||
|
|
|
@ -131,7 +131,8 @@ setup_pipeline (PinosClientSource *source)
|
|||
|
||||
priv->pipeline = gst_parse_launch ("socketsrc "
|
||||
"name=src "
|
||||
"caps=application/x-pinos ! "
|
||||
"caps=application/x-pinos "
|
||||
"send-messages=true ! "
|
||||
"pinospay ! "
|
||||
"multisocketsink "
|
||||
"buffers-max=2 "
|
||||
|
@ -140,7 +141,9 @@ setup_pipeline (PinosClientSource *source)
|
|||
"sync-method=latest "
|
||||
"name=sink "
|
||||
"sync=true "
|
||||
"enable-last-sample=false",
|
||||
"enable-last-sample=false "
|
||||
"send-messages=true "
|
||||
"send-dispatched=true",
|
||||
NULL);
|
||||
priv->sink = gst_bin_get_by_name (GST_BIN (priv->pipeline), "sink");
|
||||
priv->src = gst_bin_get_by_name (GST_BIN (priv->pipeline), "src");
|
||||
|
|
Loading…
Reference in a new issue