Prioritize hardware decoder for playbin2

Jim restlessmindsstudio at gmail.com
Sat Feb 16 18:06:03 PST 2013


Hi David,
Where do I set this rank? Can it be done outside of the hardware decoder's
code or do I need to modify its source?

Thanks,
Jim

-----Original Message-----
From:
gstreamer-devel-bounces+restlessmindsstudio=gmail.com at lists.freedesktop.org
[mailto:gstreamer-devel-bounces+restlessmindsstudio=gmail.com at lists.freedesk
top.org] On Behalf Of David Schleef
Sent: Saturday, February 16, 2013 1:41 PM
To: Discussion of the development of and with GStreamer
Subject: Re: Prioritize hardware decoder for playbin2

On Fri, Feb 15, 2013 at 09:59:00PM -0700, Jim wrote:
> I've written a C program using the 0.10.36 version of GStreamer. I'm 
> using
> playbin2 in my pipeline to play MPEG2-TS files. This works fine except 
> that
> playbin2 is not using the hardware decoder plugin that is available. I 
> know there is the concept of plugins having ranks so I'm wondering how 
> to prioritize this decoder over others.

Your hardware decoder's rank should be set appropriately, i.e., it should
have rank GST_RANK_PRIMARY+1 or so.



David

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list