I believe that this was discussed last week. Search the recent emails.<br><br><div class="gmail_quote">On Tue, Feb 19, 2013 at 8:45 AM, Jim <span dir="ltr"><<a href="mailto:restlessmindsstudio@gmail.com" target="_blank">restlessmindsstudio@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Does anyone else know how to set the rank in code? Does this require<br>
modifying the plugin source code?<br>
<br>
Thanks,<br>
Jim<br>
<br>
-----Original Message-----<br>
From:<br>
gstreamer-devel-bounces+restlessmindsstudio=<a href="mailto:gmail.com@lists.freedesktop.org">gmail.com@lists.freedesktop.org</a><br>
[mailto:<a href="mailto:gstreamer-devel-bounces%2Brestlessmindsstudio">gstreamer-devel-bounces+restlessmindsstudio</a>=gmail.com@lists.freedesk<br>
<a href="http://top.org" target="_blank">top.org</a>] On Behalf Of David Schleef<br>
Sent: Saturday, February 16, 2013 1:41 PM<br>
To: Discussion of the development of and with GStreamer<br>
Subject: Re: Prioritize hardware decoder for playbin2<br>
<br>
On Fri, Feb 15, 2013 at 09:59:00PM -0700, Jim wrote:<br>
> I've written a C program using the 0.10.36 version of GStreamer. I'm<br>
> using<br>
> playbin2 in my pipeline to play MPEG2-TS files. This works fine except<br>
> that<br>
> playbin2 is not using the hardware decoder plugin that is available. I<br>
> know there is the concept of plugins having ranks so I'm wondering how<br>
> to prioritize this decoder over others.<br>
<br>
Your hardware decoder's rank should be set appropriately, i.e., it should<br>
have rank GST_RANK_PRIMARY+1 or so.<br>
<br>
<br>
<br>
David<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>