mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-11-14 18:12:19 +00:00
detect anamorphic video
This commit is contained in:
1 parent
414b1251c7
commit
3b30a2aee0
23 files changed
+182
-37
No files matched your search
@@ -126,6 +126,9 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||
stream.RealFrameRate = GetFrameRate(streamInfo.r_frame_rate);
|
||||
|
||||
stream.BitDepth = GetBitDepth(stream.PixelFormat);
|
||||
|
||||
stream.IsAnamorphic = string.Equals(streamInfo.sample_aspect_ratio, "0:1",
|
||||
StringComparison.OrdinalIgnoreCase);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user