Skip to content

Commit

Permalink
Added ChannelMask information into AvisynthWrapper class.
Browse files Browse the repository at this point in the history
Signed-off-by: Lionel DUCHATEAU <[email protected]>
  • Loading branch information
LionelDUCHATEAU committed Nov 25, 2024
1 parent 3fe9e6c commit 9a0e711
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/tools/avscreator/AvisynthWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ struct AVSDLLVideoInfo
public int nchannels;
public int num_audio_frames;
public long num_audio_samples;
public int channelMask;
}

[DllImport("AvisynthWrapper", ExactSpelling = true, SetLastError = false, CharSet = CharSet.Ansi)]
Expand Down Expand Up @@ -392,6 +393,15 @@ public short ChannelsCount
}
}

public int ChannelMask
{
get
{
return _vi.channelMask;
}

}

public AviSynthColorspace PixelType
{
get
Expand Down

0 comments on commit 9a0e711

Please sign in to comment.