add codec tag value

This commit is contained in:
Luke Pulverenti
2015-10-19 12:05:03 -04:00
parent 00bb68d2e8
commit 51c3f270ae
14 changed files with 73 additions and 22 deletions

View File

@@ -368,6 +368,17 @@ namespace MediaBrowser.MediaEncoding.Encoder
}
}
public string TargetVideoCodecTag
{
get
{
var stream = VideoStream;
return !Options.Static
? null
: stream == null ? null : stream.CodecTag;
}
}
public bool? IsTargetAnamorphic
{
get

View File

@@ -750,7 +750,8 @@ namespace MediaBrowser.MediaEncoding.Encoder
state.IsTargetCabac,
state.TargetRefFrames,
state.TargetVideoStreamCount,
state.TargetAudioStreamCount);
state.TargetAudioStreamCount,
state.TargetVideoCodecTag);
if (mediaProfile != null)
{