Commit 24e2a82f authored by Don Moir's avatar Don Moir Committed by Carl Eugen Hoyos

Make 32bit RGB dshow input opaque.

parent 6208bb96
...@@ -89,7 +89,7 @@ static enum AVPixelFormat dshow_pixfmt(DWORD biCompression, WORD biBitCount) ...@@ -89,7 +89,7 @@ static enum AVPixelFormat dshow_pixfmt(DWORD biCompression, WORD biBitCount)
case 24: case 24:
return AV_PIX_FMT_BGR24; return AV_PIX_FMT_BGR24;
case 32: 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 return avpriv_find_pix_fmt(ff_raw_pix_fmt_tags, biCompression); // all others
......
Markdown is supported
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