5 | | The support for overlays, and the supported colorspaces, is independant from the screenmode. So, I would do things like this: |
6 | | |
7 | | * {{{screenmode}}} (no options) shows the current screenmode. No changes here. |
8 | | * {{{screenmode -l}}} lists available modes. Again, no changes |
9 | | * {{{screenmode -o}}} lists available overlay colorspaces. It should try all colorspace constants (not just the 3 you have in the code), because overlays are most often used with YUV spaces. |
| 5 | The support for overlays, and the supported colorspaces, is independant from the screenmode. So, you should try all colorspace constants (not just the current video mode one), because overlays are most often used with YUV spaces, and can use a different colorspace from the desktop. |