File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
src/org/freedesktop/gstreamer Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
+ * Copyright (c) 2018 Neil C Smith
2
3
* Copyright (c) 2009 Levente Farkas
3
4
* Copyright (C) 2007 Wayne Meissner
4
5
* Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
@@ -677,5 +678,21 @@ public ClockTime getStartTime() {
677
678
public void setStartTime (ClockTime time ) {
678
679
GSTELEMENT_API .gst_element_set_start_time (this , time );
679
680
}
681
+
682
+ /**
683
+ * Performs a query on the element.
684
+ *
685
+ * For elements that don't implement a query handler, this function forwards
686
+ * the query to a random srcpad or to the peer of a random linked sinkpad of
687
+ * this element.
688
+ *
689
+ * Please note that some queries might need a running pipeline to work.
690
+ *
691
+ * @param query the Query to perform
692
+ * @return true if the query could be performed
693
+ */
694
+ public boolean query (Query query ) {
695
+ return GSTELEMENT_API .gst_element_query (this , query );
696
+ }
697
+
680
698
}
681
-
You can’t perform that action at this time.
0 commit comments