-
-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
obs-qsv11: Remove old MSDK 1.6 code #11473
base: master
Are you sure you want to change the base?
Conversation
c1e531a
to
e2414da
Compare
As a note, I commented out one or two lines of the frame type checking code in the first commit and then moved and uncommented it in the second commit. This is mostly to try to keep the original diff (the first commit) sane and readable, but both commits can be squashed if that makes more sense. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didnt test it, but it looks good.
The old MSDK 1.6 code paths were for older devices which we no longer support. Typically, version 1.0 is reported when QSV fails to initialize. The lowest version that should be supported is 1.35, so we should not need code that covers versions 1.0 to 1.6.
The code that checked frame types was used by both the MSDK < 1.7 code and by the debug code afterward that was conditionally enabled with a preprocessor check. Since the frame type checks are no longer used by user code, move it to the debug/dev code.
e2414da
to
13525a5
Compare
Description
The old MSDK 1.6 code paths were for older devices which we no longer support. Typically, version 1.0 is reported when QSV fails to initialize. The lowest version that should be supported is 1.35, so we should not need code that covers versions 1.0 to 1.6.
Motivation and Context
Don't want dead code.
How Has This Been Tested?
Tested locally on Windows 11 with an Arc A770M.
Types of changes
Checklist: