mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 00:02:52 +00:00
Make 32bit RGB dshow input opaque.
This commit is contained in:
parent
6208bb965d
commit
24e2a82f75
@ -89,7 +89,7 @@ static enum AVPixelFormat dshow_pixfmt(DWORD biCompression, WORD biBitCount)
|
||||
case 24:
|
||||
return AV_PIX_FMT_BGR24;
|
||||
case 32:
|
||||
return AV_PIX_FMT_RGB32;
|
||||
return AV_PIX_FMT_0RGB32;
|
||||
}
|
||||
}
|
||||
return avpriv_find_pix_fmt(ff_raw_pix_fmt_tags, biCompression); // all others
|
||||
|
Loading…
Reference in New Issue
Block a user