Skip to content

Commit

Permalink
Don't set fieldbased
Browse files Browse the repository at this point in the history
  • Loading branch information
myrsloik committed Apr 22, 2024
1 parent 456ece3 commit ee2af6a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/avisynth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,7 @@ class AvisynthVideoSource : public IClip {
throw BestSourceException("Unsupported output bitdepth");
}

if (VP.FieldBased)
VI.image_type |= VideoInfo::IT_FIELDBASED;
VI.image_type |= VP.TFF ? VideoInfo::IT_TFF : VideoInfo::IT_BFF;
VI.image_type = (VP.TFF ? VideoInfo::IT_TFF : VideoInfo::IT_BFF);

VI.width = VP.SSModWidth;
VI.height = VP.SSModHeight;
Expand Down

0 comments on commit ee2af6a

Please sign in to comment.