GNOME Bugzilla – Bug 699919
vdpau: Add VdpVideoSurface caps feature
Last modified: 2013-05-10 08:51:48 UTC
Created attachment 243570 [details] [review] vdpau: Add VdpVideoSurface caps feature vdpau: Add VdpVideoSurface caps feature
commit 37352509ebf6975978ceebc08a1ea70f700b1b67 Author: Sreerenj Balachandran <sreerenj.balachandran@intel.com> Date: Wed May 8 12:45:20 2013 +0300 vdpau: Add VdpVideoSurface caps feature
Unrelated, in playbin we currently take the sum of decoder and sink rank. Shouldn't we take the product instead?
(In reply to comment #2) > Unrelated, in playbin we currently take the sum of decoder and sink rank. > Shouldn't we take the product instead? Why?
What's better: dec rank 2, sink rank 2 or dec rank 1, sink rank 3? Both would be rated the same now, with multiplication the first would win.
Aha, good point.! You are right, otherwise we need to assume some priority for either decoder or sink. I don't know which one is better. What you said might be good (until some one raises complaints) :)
Actually the possible values of ranks are 64, 128 and 256. So the case you mentioned won't happen with these ranks , right ?
These are only the ranks that have a name, things like PRIMARY-1 or similar are used.
Aha, okay. :)