normalize framerate (#122)
* normalize framerate * simplify audio normalization settings
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ErsatzTV.Infrastructure.Migrations
|
||||
{
|
||||
public partial class Add_FFmpegProfile_FrameRate : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
"NormalizeResolution",
|
||||
"FFmpegProfile");
|
||||
|
||||
migrationBuilder.RenameColumn(
|
||||
"NormalizeVideoCodec",
|
||||
"FFmpegProfile",
|
||||
"NormalizeVideo");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
"FrameRate",
|
||||
"FFmpegProfile",
|
||||
"TEXT",
|
||||
nullable: true,
|
||||
defaultValue: "24");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
"FrameRate",
|
||||
"FFmpegProfile");
|
||||
|
||||
migrationBuilder.RenameColumn(
|
||||
"NormalizeVideo",
|
||||
"FFmpegProfile",
|
||||
"NormalizeVideoCodec");
|
||||
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
"NormalizeResolution",
|
||||
"FFmpegProfile",
|
||||
"INTEGER",
|
||||
nullable: false,
|
||||
defaultValue: false);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user