Thanks Stefan<br>n i found a way out :D :D<br>we can set the rank of our plugin higher than maximum by passing <br>GST_RANK_PRIMARY+1 so that type find will return this plugin instead :D<br>no uninstalling needed <br><br><br>
<div class="gmail_quote">On Dec 5, 2007 12:05 AM, Stefan Kost <<a href="mailto:ensonic@hora-obscura.de">ensonic@hora-obscura.de</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>karmendra jain schrieb:<br><div class="Ih2E3d">> Is there no way out apart from uninstalling the previous one ??<br>> i mean .. Can a program be written which searches all the match for a<br>> perticular file
<br>> and returns all ie MAXIMUM MOST_LIKELY etc etc<br>><br></div>The typefinder that returns the maximum likelyhood detemines the format. Then<br>decodebin will use the element with highest rank that accepts the format.
<br><div class="Ih2E3d"><br>> so that one has option to choose from the list of plugins ??<br>><br>> Can any core developers look into this .. or any alternate solution ???<br><br></div>I am core-developer :) You could probably remove the unwanted plugins from the
<br>registry (untested).<br><font color="#888888"><br>Stefan<br></font><div class="Ih2E3d"><br>><br>> On Dec 4, 2007 1:04 AM, Stefan Kost <<a href="mailto:ensonic@hora-obscura.de">ensonic@hora-obscura.de</a><br></div>
<div><div></div><div class="Wj3C7c">> <mailto:<a href="mailto:ensonic@hora-obscura.de">ensonic@hora-obscura.de</a>>> wrote:<br>><br>> hi,<br>><br>> karmendra jain schrieb:<br>> > Hey Frans .. things are solved thanks
<br>> > but one more query<br>> > if i have a situation as<br>> > suppose i design my own amrwb decoder (an audio decoder) and this<br>> > decoder typefind is already present<br>> > with option GST_TYPE_FIND_MAXIMUM
<br>> > then how will the gst-typefins return my plugin type ????<br>> ><br>> > basically i have designed my own amrwb plugin and i want to make it<br>> > autopluggable<br>> > so i have defined the typefind function in it with
<br>> GST_TYPE_FIND_MAXIMUM<br>> > option<br>> > but gst-typefind still dosen't return this<br>> > it returns the caps of the original one ..<br>> > any idea on how to achieve this ??
<br>><br>> You need to make sure the other plugin is not installed. Basically<br>> when you have<br>> several elements with same rank installed you cannot guarantee that<br>> your plugin<br>
> is used. The rank based element selection is to simple for that<br>> scenario.<br>> Unfortunately I am not aware of an easy way to do it better. Ideas<br>> are welcome :)<br>><br>> Stefan
<br>><br>> ><br>> ><br>> > On Dec 3, 2007 6:25 PM, karmendra jain < <a href="mailto:karmendra.jain@gmail.com">karmendra.jain@gmail.com</a><br>> <mailto:<a href="mailto:karmendra.jain@gmail.com">
karmendra.jain@gmail.com</a>><br>> > <mailto: <a href="mailto:karmendra.jain@gmail.com">karmendra.jain@gmail.com</a><br>> <mailto:<a href="mailto:karmendra.jain@gmail.com">karmendra.jain@gmail.com
</a>>>> wrote:<br>> ><br>> > Thanks Frans<br>> > i went thru that ..<br>> > But my doubt is just in plugin .. not in application side<br>> ><br>> > My question is .. wat are the things needed to be done in a plugin
<br>> > to make compatible to autoplugin format<br>> > i also checked gsttypefindfunctions.c<br>> > thats pretty clear on how things are done<br>> > but am still not very clear on how the corresponding plugin to be
<br>> > used is returned ???<br>> ><br>> ><br>> ><br>> > On Dec 3, 2007 1:29 PM, Frans van Berckel < <a href="mailto:fberckel@xs4all.nl">fberckel@xs4all.nl</a><br>
> <mailto:<a href="mailto:fberckel@xs4all.nl">fberckel@xs4all.nl</a>><br></div></div><div><div></div><div class="Wj3C7c">> > <mailto:<a href="mailto:fberckel@xs4all.nl">fberckel@xs4all.nl</a>
<mailto:<a href="mailto:fberckel@xs4all.nl">fberckel@xs4all.nl</a>>>> wrote:<br>> ><br>> > Hi Karmendra,<br>> ><br>> > Do you know the docoderbin and decoderbin2 element?
<br>> ><br>> > Regards,<br>> ><br>> ><br>> > Frans van Berckel<br>> ><br>> > On Mon, 2007-12-03 at 12:22 +0530, karmendra jain wrote:
<br>> > > Hi All<br>> > > I need some pointers regarding the autoplugin feature<br>> > > Currently i have designed a plugin<br>> > > say a audio decoder plugin for AMR-NB .. with mime type
<br>> > speech/amr-nb<br>> > > now what all do i need to define and where<br>> > ><br>> > > According to what i understood<br>> > > 1: i need to use type find function
<br>> > > 2: i need to define a autoplugger support in my plugin<br>> > ><br>> > > Now the Question is<br>> > > 1: how do i define a autopluger .. some sample code or
<br>> docs .. ne<br>> > > one .. plzz<br>> > > 2: how to use the tyfindfunction ...<br>> > ><br>> > > Can anyone guide me on this one ???
<br>> > ><br>> > > Regards<br>> > > Karmendra<br>> > ><br>> ><br>> -------------------------------------------------------------------------
<br>><br>> ><br>> > > SF.Net email is sponsored by: The Future of Linux Business<br>> > White Paper<br>> > > from Novell. From the desktop to the data center, Linux
<br>> is going<br>> > > mainstream. Let it simplify your IT future.<br>> > > <a href="http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4" target="_blank">http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
</a><br>> > > _______________________________________________<br>> > gstreamer-devel mailing list<br>> > <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net
</a><br>> <mailto:<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>><br>> > <mailto: <a href="mailto:gstreamer-devel@lists.sourceforge.net">
gstreamer-devel@lists.sourceforge.net</a><br>> <mailto:<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>>><br>> ><br>> <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>> <<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
</a>><br>> ><br>> ><br>> ><br>> -------------------------------------------------------------------------<br>> ><br>> > SF.Net email is sponsored by: The Future of Linux Business
<br>> White<br>> > Paper<br>> > from Novell. From the desktop to the data center, Linux<br>> is going<br>> > mainstream. Let it simplify your IT future.
<br>> > <a href="http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4" target="_blank">http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4</a><br>> > _______________________________________________
<br>> > gstreamer-devel mailing list<br>> > <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>> <mailto:<a href="mailto:gstreamer-devel@lists.sourceforge.net">
gstreamer-devel@lists.sourceforge.net</a>><br>> > <mailto:<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>> <mailto:<a href="mailto:gstreamer-devel@lists.sourceforge.net">
gstreamer-devel@lists.sourceforge.net</a>>><br>> > <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
</a><br>> ><br>> ><br>> ><br>> ><br>> ><br>> ------------------------------------------------------------------------<br>><br>> ><br>> ><br>> -------------------------------------------------------------------------
<br>> > SF.Net email is sponsored by: The Future of Linux Business White Paper<br>> > from Novell. From the desktop to the data center, Linux is going<br>> > mainstream. Let it simplify your IT future.
<br>> > <a href="http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4" target="_blank">http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4</a><br>> ><br>> ><br>> ><br>> ------------------------------------------------------------------------
<br>><br>> ><br>> > _______________________________________________<br>> > gstreamer-devel mailing list<br>> > <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net
</a><br>> <mailto:<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>><br>> > <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>><br>><br><br></div></div></blockquote></div><br>