Browse Source

removed pixel format property

Luke Pulverenti 11 năm trước cách đây
mục cha
commit
2ccd7d3e77

+ 0 - 6
MediaBrowser.Model/Entities/MediaStream.cs

@@ -119,12 +119,6 @@ namespace MediaBrowser.Model.Entities
         /// </summary>
         /// <value>The level.</value>
         public double? Level { get; set; }
-
-        /// <summary>
-        /// Gets or sets the pixel format.
-        /// </summary>
-        /// <value>The pixel format.</value>
-        public string PixelFormat { get; set; }
     }
 
     /// <summary>

+ 0 - 1
MediaBrowser.Providers/MediaInfo/BaseFFProbeProvider.cs

@@ -212,7 +212,6 @@ namespace MediaBrowser.Providers.MediaInfo
 
                 stream.Width = streamInfo.width;
                 stream.Height = streamInfo.height;
-                stream.PixelFormat = streamInfo.pix_fmt;
                 stream.AspectRatio = streamInfo.display_aspect_ratio;
 
                 stream.AverageFrameRate = GetFrameRate(streamInfo.avg_frame_rate);