"Can't be a demuxer unless it has Demux in the klass name"
Jacques Bride
jacques.bride at gmail.com
Tue Mar 5 23:35:01 PST 2013
Hello plugin developers
This is just a message to highlight the importance of following some
naming convention when writing a new element. If writting a new demuxer, it
is important that its class name contains the string "Demux" otherwise it
will not be considered as a demuxer by Playbin2.
In gst/playback/gstdecodebin2.c of the gst-plugins-base-0.10 package the
function "is_demuxer_element" is taking into consideration only plugins
that contain the string "Demux"for potential candidates when creating the
pipeline.
Of course it is possible to write functional demuxers without adding the
string "Demux", use them in an explicit graph, but they won't be compatible
with PlayBin2.
Tried to look in the documentations (pwg,...) and the maling list archives,
but could not find details regarding gstreamer klass naming convention. Is
it general for all types? meaning source elements should contain the string
"Src", sink elements the string "Sink" and so on?
Best regards
Jacques
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130306/768d84fb/attachment.html>
More information about the gstreamer-devel
mailing list