Comments (2)
I think its a valid request, currently gstreamer-java only exposes some of the
query functions in the Pipeline class.
While gst_element_query may be called on any element, not all elements have a
handler query.
"For elements that don't implement a query handler, this function forwards the
query to a random srcpad or to the peer of a random linked sinkpad of this
element." [1]
So even if you target a specific element for a query, it might propagate that
query onward to connected elements. To me this is not well defined behavior
especially as it still may return false after exhausting its links. Perhaps
since the pipeline will forward these queries, the function calls exist there.
That is my thought behind why it is in the Pipeline class. :)
However since it really is apart of the GstElementAPI, should it really exist
in the Element class? There are elements that can handle queries.
Thanks,
Michael
Sources:
[1] GstElement API;
http://gstreamer.freedesktop.org/data/doc/gstreamer/0.10.36/gstreamer/html/GstEl
ement.html#gst-element-query
Original comment by [email protected]
on 28 Jun 2013 at 8:21
from gstreamer-java.
I guess the same applies to some other methods as well, e.g., seeking, for
which I can't find a counterpart for Bin elements either, only the Pipeline.
Original comment by [email protected]
on 9 Jul 2013 at 2:00
from gstreamer-java.
Related Issues (20)
- BaseSink.set_caps callback not defined HOT 1
- BaseTransform class not implemented HOT 1
- StreamInfoTest fails for windows HOT 4
- Why not publish new version? HOT 1
- v4l2src name=test device=/dev/video0 - how can i change the video0 to 1 for live capture? HOT 1
- Do you plan to create a java wrapper fo gst-rtsp-server ? HOT 1
- getting error with tuitorial HOT 6
- Will gstreamer-java migrate to gstreamer 1.0? HOT 20
- where to find encoder? HOT 3
- (Final) 0.10 series release HOT 2
- Mac OS missing dependency libgstinterfaces HOT 2
- Version 1.6 should be on Maven Central
- java.lang.UnsatisfiedLinkError is ambiguous
- Memory Leak using org.gstreamer.swing.VideoComponent
- VideoComponent resourceTimer is never stopped HOT 3
- troca de arquivo com filesink
- file exchange with filesink
- file exchange with filesink
- Application crash on playing AVI HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gstreamer-java.