diff options
author | Johns <johns98@gmx.net> | 2012-01-16 17:05:22 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2012-01-16 17:05:22 +0100 |
commit | 80100299f39e8ff9f7d75804c3febea974745b95 (patch) | |
tree | bc95060a81d83af57fadcc8468385f3cd393eb3b | |
parent | 5509d768acafa4a852663c507335f419d41d89ef (diff) | |
download | vdr-plugin-softhddevice-80100299f39e8ff9f7d75804c3febea974745b95.tar.gz vdr-plugin-softhddevice-80100299f39e8ff9f7d75804c3febea974745b95.tar.bz2 |
Disable VA-API if init fails.
-rw-r--r-- | video.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1451,6 +1451,7 @@ static void VideoVaapiInit(const char *display_name) Error(_("video/vaapi: Can't connect VA-API to X11 server on '%s'"), display_name); // FIXME: no fatal for plugin + VideoVaapiEnabled = 0; return; } @@ -1459,6 +1460,7 @@ static void VideoVaapiInit(const char *display_name) display_name); vaTerminate(VaDisplay); VaDisplay = NULL; + VideoVaapiEnabled = 0; return; } s = vaQueryVendorString(VaDisplay); |