File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ class AVSFilter : public IClip {
5959 int height () const { return vi.height ; }
6060 int depth () const { return bit_per_channel; }
6161 int supported_pixel () const {
62- return
62+ return vi. pixel_type == VideoInfo:: CS_I420 || (
6363 (
6464 (vi.pixel_type & VideoInfo::CS_GENERIC_YUV420 ) == VideoInfo::CS_GENERIC_YUV420
6565 || (vi.pixel_type & VideoInfo::CS_GENERIC_YUV422 ) == VideoInfo::CS_GENERIC_YUV422
@@ -70,7 +70,8 @@ class AVSFilter : public IClip {
7070 || (vi.pixel_type & VideoInfo::CS_Sample_Bits_12) == VideoInfo::CS_Sample_Bits_12
7171 || (vi.pixel_type & VideoInfo::CS_Sample_Bits_14) == VideoInfo::CS_Sample_Bits_14
7272 || (vi.pixel_type & VideoInfo::CS_Sample_Bits_16) == VideoInfo::CS_Sample_Bits_16
73- );
73+ )
74+ );
7475 }
7576
7677 PVideoFrame __stdcall GetFrame (int n, IScriptEnvironment* env) {
You can’t perform that action at this time.
0 commit comments