Returns the priority of the codec.
Namespace:
Aurigma.GraphicsMill.Codecs
Assembly:
Aurigma.GraphicsMill.Codecs.MediaProcessor (in Aurigma.GraphicsMill.Codecs.MediaProcessor.dll)
Public Overrides NotOverridable ReadOnly Property CodecPriority As Integer
public override sealed int CodecPriority { get; }
Graphics Mill uses this value to resolve the conflict when several codec classes are used to open to the same file format. It will choose the codec class which has the higher priority.
Private Sub GetWMReaderProperties(ByVal aReader As WMReader) Console.WriteLine("Framework priority: " & _ aReader.CodecPriority.ToString()) Console.WriteLine("Duration of the opened file: " & _ aReader.Duration.ToString()) Console.WriteLine("Number of frames in the opened file: " & _ aReader.FrameCount.ToString()) Console.WriteLine("Number of metadata fields: " & _ aReader.Metadata.Count.ToString()) End Sub
private void GetWMReaderProperties(WMReader aReader) { Console.WriteLine("Framework priority: " + aReader.CodecPriority.ToString()); Console.WriteLine("Duration of the opened file: " + aReader.Duration.ToString()); Console.WriteLine("Number of frames in the opened file: " + aReader.FrameCount.ToString()); Console.WriteLine("Number of metadata fields: " + aReader.Metadata.Count.ToString()); }