[VDPAU] [PATCH] Detect libflashplayer through /proc/self/maps
rmorell at nvidia.com
Thu Nov 14 10:51:44 PST 2013
On Tue, Nov 12, 2013 at 03:44:53PM -0800, Jeroen Roovers wrote:
> Parsing /proc/self/cmdline does not always detect libflashplayer since
> not every browser includes that string. /proc/self/maps will always map
> the library we are looking for, so we use that instead.
This behavior looks like it may cause false positives if the
libflashplayer library is loaded into the process, but some other module
is actually using VDPAU (for example, native HTML5 video rendering done
by the browser). I don't have any good suggestions for how to easily
detect if Flash is actually using the VDPAU API, though.
More information about the VDPAU