[VDPAU] [PATCH] Add a special check for the Opera browser

Stephen Warren swarren at nvidia.com
Fri Dec 6 08:49:36 PST 2013


Jeroen Roovers wrote at Thursday, December 05, 2013 9:48 AM:
> Let me try again. This time we just check specially for Opera and do
> some magic in /proc/self/maps only then. Checked with Opera (naturally)

> diff --git a/src/vdpau_wrapper.c b/src/vdpau_wrapper.c

> @@ -301,12 +301,14 @@ static void init_running_under_flash(void)
>  {
>      FILE *fp;
>      char buffer[1024];
> -    int ret, i;
> +    int _running_under_opera = 0, ret, i;

IIRC, variables named with a leading _ are global in this file, so that
should be simply running_under_opera.

-- 
nvpublic



More information about the VDPAU mailing list