Comment 25 for bug 967091

Revision history for this message
Jan Vlnas (jnv) wrote : Re: Wrong tint with Nvidia after upgrading to 11.2

Aloysius: No, Stage Video is a feature of Flash Player which allows Flash applications to use hardware acceleration – most Flash video players (including Vimeo) rely on software rendering which doesn't use VDPAU at all.
Other desktop video players (like VLC or Totem) also aren't affected. libvdpau fix is "opt-in" – it swaps colours only for applications with VDPAU_TRACE environment variable enabled. It could, however, affect the native "HTML5" video in web browsers.

The current libvdpau patch is hack because it uses vdpau_trace library for unrelated purpose and removes the original functionality.
On the other hand it's a proof of concept how the proper and out-of-the-box workaround could work – swap the colours for some applications. Unfortunately it's a very crude method; AFAIK there's no way to detect which application sends data to VDPAU so we have to rely on environment variables. And that would mean to patch all the browsers (not to mention applications which can embed Flash through some web view widgets like GtkHtml) – unless there's some way to wrap the Flash Plugin's library invocation.