From 3d68b0f05502543673d48c1f63dd7bf02a6f3813 Mon Sep 17 00:00:00 2001 From: Jason Dove Date: Tue, 12 Oct 2021 18:22:09 -0500 Subject: [PATCH] fix vaapi migration --- ...20211012202215_Update_FFmpegProfileVaapiDriverVaapiDevice.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ErsatzTV.Infrastructure/Migrations/20211012202215_Update_FFmpegProfileVaapiDriverVaapiDevice.cs b/ErsatzTV.Infrastructure/Migrations/20211012202215_Update_FFmpegProfileVaapiDriverVaapiDevice.cs index afe13ed97..f19a39aa0 100644 --- a/ErsatzTV.Infrastructure/Migrations/20211012202215_Update_FFmpegProfileVaapiDriverVaapiDevice.cs +++ b/ErsatzTV.Infrastructure/Migrations/20211012202215_Update_FFmpegProfileVaapiDriverVaapiDevice.cs @@ -8,7 +8,7 @@ namespace ErsatzTV.Infrastructure.Migrations { migrationBuilder.Sql("UPDATE FFmpegProfile SET VaapiDevice = '/dev/dri/renderD128'"); migrationBuilder.Sql( - "UPDATE FFmpegProfile SET VaapiDriver = (SELECT IFNULL(Value, 0) FROM ConfigElement WHERE Key = 'ffmpeg.vaapi_driver')"); + "UPDATE FFmpegProfile SET VaapiDriver = (SELECT IFNULL((SELECT Value AS A FROM ConfigElement WHERE Key = 'ffmpeg.vaapi_driver'), 0))"); migrationBuilder.Sql("DELETE FROM ConfigElement WHERE Key = 'ffmpeg.vaapi_driver'"); }