source: send latency to client

Send the latency to the client and use this to configure the pinossrc
element latency correctly.
This commit is contained in:
Wim Taymans 2016-04-28 11:18:10 +02:00
parent 1c16fd5533
commit f3053c963d
3 changed files with 103 additions and 33 deletions

View file

@ -58,6 +58,10 @@ struct _GstPinosSrc {
gboolean negotiated;
gboolean flushing;
gboolean is_live;
GstClockTime min_latency;
GstClockTime max_latency;
GMainContext *context;
PinosMainLoop *loop;
PinosContext *ctx;