1GStreamer::Query(3) User Contributed Perl Documentation GStreamer::Query(3)
2
3
4
6 GStreamer::Query
7
9 The various query types are represented as subclasses:
10
11 GStreamer::Query::Position
12 GStreamer::Query::Duration
13 GStreamer::Query::Latency
14 GStreamer::Query::Jitter
15 GStreamer::Query::Rate
16 GStreamer::Query::Seeking
17 GStreamer::Query::Segment
18 GStreamer::Query::Convert
19 GStreamer::Query::Formats
20
21 To create a new query, you call the constructor of the corresponding
22 class.
23
24 To modify or retrieve the content of a query, call the corresponding
25 mutator:
26
27 my $query = GStreamer::Query::Position -> new("time");
28 $query -> position("time", 23);
29 my ($format, $position) = $query -> position;
30
31 my $query = GStreamer::Query::Duration -> new("time");
32 $query -> duration("time", 23);
33 my ($format, $duration) = $query -> duration;
34
36 structure = $query->get_structure
38 GStreamer
39
41 Copyright (C) 2005-2014 by the gtk2-perl team.
42
43 This software is licensed under the LGPL. See GStreamer for a full
44 notice.
45
46
47
48perl v5.30.0 2019-09-19 GStreamer::Query(3)