mplayer2: add reference to libXxf86vm

Otherwise, playing h264 with vdpau complains about not able to sync to vsync.
This commit is contained in:
Lluís Batlle i Rossell 2013-04-04 12:50:09 +02:00
parent 0013355b19
commit 48f534bce9
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, fetchgit, freetype, pkgconfig, yasm, freefont_ttf, ffmpeg, libass { stdenv, fetchurl, fetchgit, freetype, pkgconfig, yasm, freefont_ttf, ffmpeg, libass
, python3, docutils, which , python3, docutils, which
, x11Support ? true, libX11 ? null, libXext ? null, mesa ? null , x11Support ? true, libX11 ? null, libXext ? null, mesa ? null, libXxf86vm ? null
, xineramaSupport ? true, libXinerama ? null , xineramaSupport ? true, libXinerama ? null
, xvSupport ? true, libXv ? null , xvSupport ? true, libXv ? null
, alsaSupport ? true, alsaLib ? null , alsaSupport ? true, alsaLib ? null
@ -17,7 +17,7 @@
, useUnfreeCodecs ? false , useUnfreeCodecs ? false
}: }:
assert x11Support -> (libX11 != null && libXext != null && mesa != null); assert x11Support -> (libX11 != null && libXext != null && mesa != null && libXxf86vm != null);
assert xineramaSupport -> (libXinerama != null && x11Support); assert xineramaSupport -> (libXinerama != null && x11Support);
assert xvSupport -> (libXv != null && x11Support); assert xvSupport -> (libXv != null && x11Support);
assert alsaSupport -> alsaLib != null; assert alsaSupport -> alsaLib != null;
@ -80,7 +80,7 @@ stdenv.mkDerivation rec {
buildInputs = with stdenv.lib; buildInputs = with stdenv.lib;
[ freetype pkgconfig ffmpeg libass docutils which ] [ freetype pkgconfig ffmpeg libass docutils which ]
++ optionals x11Support [ libX11 libXext mesa ] ++ optionals x11Support [ libX11 libXext mesa libXxf86vm ]
++ optional alsaSupport alsaLib ++ optional alsaSupport alsaLib
++ optional xvSupport libXv ++ optional xvSupport libXv
++ optional theoraSupport libtheora ++ optional theoraSupport libtheora