Hello,
Although this is a very basic question, I can’t find
correct document to it.
The plugin writer’s guide (Chapter 14 Clocking) says
that for a sink element it should use gst_element_wait(), but none of the
plugins in the base/good/ugly packages use this.
Some code example (ximagesink, gstbaseguadiosink, etc.) implemented
a callback get_time() and render(). It seems that the wait is done in
gstreamer. Plus, get_time() is not mentioned in the plugin writer’s
guide, some online document says “It only makes sense to implement the GstBaseSrcClass.get_times()
function if the source is a live source”. I want to play from a file, not
a live source.
Thanks,
Feng
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel