diff --git a/.travis/build.sh b/.travis/build.sh
index e27ddebb1..10accedfb 100755
--- a/.travis/build.sh
+++ b/.travis/build.sh
@@ -314,6 +314,7 @@ buildVdpau() {
   git clone git://anongit.freedesktop.org/vdpau/libvdpau
 
   cd "$EXTERNAL/libvdpau"
+  git checkout libvdpau-1.2
   ./autogen.sh --prefix=$VDPAU_PATH --enable-static
   make $MAKE_ARGS
   sudo make install
diff --git a/docs/building-cmake.md b/docs/building-cmake.md
index 849586477..de1560a38 100644
--- a/docs/building-cmake.md
+++ b/docs/building-cmake.md
@@ -64,6 +64,7 @@ Go to ***BuildPath*** and run
 
     git clone git://anongit.freedesktop.org/vdpau/libvdpau
     cd libvdpau
+    git checkout libvdpau-1.2
     ./autogen.sh --enable-static
     make $MAKE_THREADS_CNT
     sudo make install
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index dddba3c41..5f69d3a37 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -176,6 +176,7 @@ parts:
   libvdpau:
     source: git://anongit.freedesktop.org/vdpau/libvdpau
     source-depth: 1
+    source-branch: libvdpau-1.2
     plugin: autotools
     build-packages:
       - libx11-dev