Prioritize hardware decoder for playbin2

David Schleef ds at schleef.org
Sat Feb 16 12:40:31 PST 2013


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



More information about the gstreamer-devel mailing list