pipewiresrc: hack live source for now

This commit is contained in:
Wim Taymans 2018-08-15 21:35:02 +02:00
parent b31832dac9
commit a7807ef1c5

View file

@ -469,6 +469,7 @@ parse_stream_properties (GstPipeWireSrc *pwsrc, const struct pw_properties *prop
GST_OBJECT_LOCK (pwsrc);
var = pw_properties_get (props, PW_STREAM_PROP_IS_LIVE);
var = "true";
is_live = pwsrc->is_live = var ? pw_properties_parse_bool(var) : FALSE;
var = pw_properties_get (props, PW_STREAM_PROP_LATENCY_MIN);