deps/media-playback: Add P010 to closest_format
Used by HDR media playback with hardware decode.master
parent
6f3a29a3f8
commit
05b673381f
|
@ -95,6 +95,9 @@ static enum AVPixelFormat closest_format(enum AVPixelFormat fmt)
|
|||
#endif
|
||||
return AV_PIX_FMT_YUVA444P;
|
||||
|
||||
case AV_PIX_FMT_P010LE:
|
||||
return AV_PIX_FMT_P010LE;
|
||||
|
||||
case AV_PIX_FMT_RGBA:
|
||||
case AV_PIX_FMT_BGRA:
|
||||
case AV_PIX_FMT_BGR0:
|
||||
|
|
Loading…
Reference in New Issue