Coder Social home page Coder Social logo

Comments (2)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 28, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.