#include <query.h>

Public Member Functions | |
| QueryLatency (GstQuery* query) | |
| void | set (bool live, ClockTime min_latency, ClockTime max_latency) |
| Answer a latency query by setting the requested values in the given format. | |
| void | parse (bool& live, ClockTime& min_latency, ClockTime& max_latency) const |
| Parse a latency query answer. | |
| bool | parse_live () const |
| Parse a latency query answer, returning the live status. | |
| ClockTime | parse_min () const |
| Parse a latency query answer, returning the minimum latency. | |
| ClockTime | parse_max () const |
| Parse a latency query answer, returning the maximum latency. | |
Static Public Member Functions | |
| static Glib::RefPtr<Gst::Query> | create () |
| Constructs a new latency query object. | |
See create() for more details.
| Gst::QueryLatency::QueryLatency | ( | GstQuery * | query | ) | [explicit] |
| static Glib::RefPtr<Gst::Query> Gst::QueryLatency::create | ( | ) | [static] |
Constructs a new latency query object.
A latency query is usually performed by sinks to compensate for additional latency introduced by elements in the pipeline.
| bool Gst::QueryLatency::parse_live | ( | ) | const |
| ClockTime Gst::QueryLatency::parse_max | ( | ) | const |
| ClockTime Gst::QueryLatency::parse_min | ( | ) | const |
Answer a latency query by setting the requested values in the given format.
| live | If there is a live element upstream. | |
| min_latency | The minimal latency of the live element. | |
| max_latency | The maximal latency of the live element. |
1.5.9