Commit 57a4cabd authored by Christian Strømme's avatar Christian Strømme Committed by Yoann Lopes
Browse files

DirectShow: Sanitize DirectShowMediaType


The DirectShowMediaType is now a thin data wrapper around AM_MEDIA_TYPE
and will for the most look and work the same way, with the exception
that it cleans up after itself. All utility functions are now static,
except clear() which, for convenience, is also provided as a non-static
member function.

In addition to the changes mentioned above, duplicated methods were
removed, conversion for ARGB32 was added, and an attempt to make
the usage of AM_MEDIA_TYPE and DirectShowMediaType was made more
consistent.

Change-Id: Iad32fb8eeabd9d4183e9bd10426cac3963e5d99a
Reviewed-by: default avatarYoann Lopes <yoann.lopes@qt.io>
parent 47c672cd
No related merge requests found
Showing with 227 additions and 215 deletions
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