Commit 0a2c5a52 authored by Martin Finkel's avatar Martin Finkel

Expose LibvlcMediaGetCodecDescription

(cherry picked from commit 231276c0fa3658f4ac7675b8aafbcaebda35e031)
parent 5160c330
......@@ -556,6 +556,13 @@ namespace LibVLCSharp.Shared
s => s.Build(),
Native.LibVLCMediaReleaseSlaves);
/// <summary>Get a media's codec description</summary>
/// <param name="type">The type of the track</param>
/// <param name="codec">the codec or fourcc</param>
/// <returns>the codec description</returns>
public string CodecDescription(TrackType type, uint codec)
=> Native.LibvlcMediaGetCodecDescription(type, codec);
public override bool Equals(object obj)
{
return obj is Media media &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment