gst: enable new properties on gst elements

Enable properties to handle release-fd messages
This commit is contained in:
Wim Taymans 2015-12-10 13:00:54 +01:00
parent 8a509ec2a4
commit 0b7393affe
2 changed files with 7 additions and 2 deletions

View file

@ -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);

View file

@ -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");