videotoolbox: rework >= 10bit output handling
commitce943a7507eaddbd776ac636dcc033e9ea58726e
authorThomas Guillem <thomas@gllm.fr>
Tue, 29 Sep 2020 08:24:05 +0000 (29 10:24 +0200)
committerFelix Paul Kühne <felix@feepk.net>
Thu, 1 Oct 2020 05:12:38 +0000 (1 07:12 +0200)
tree49e9695961c7ef043103966217ff697bfd7d0ba5
parentb47dd251b5a6715cc58b443deb1e7de2400ab1c2
videotoolbox: rework >= 10bit output handling

 - Force BGRA on macbooks not handling HEVC. This was done automatically
   before but it will likely change in the future like iOS.

 - Also force BGRA for 12 and 16bits since the openGL* implementation
   can't handle it.
modules/codec/videotoolbox.c