summaryrefslogtreecommitdiffstats
path: root/libavdevice/dshow.c
diff options
context:
space:
mode:
authorDon Moir <donmoir@comcast.net>2014-03-08 13:46:05 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2014-03-08 13:46:05 +0100
commit24e2a82f75abbe977b7ddab52a90ce4d3e57a9f8 (patch)
tree08259a512c9190bdf6fdb06454ff2d225a7aa75d /libavdevice/dshow.c
parent6208bb965d30027730418e466dc56601e50a42a0 (diff)
downloadffmpeg-streaming-24e2a82f75abbe977b7ddab52a90ce4d3e57a9f8.zip
ffmpeg-streaming-24e2a82f75abbe977b7ddab52a90ce4d3e57a9f8.tar.gz
Make 32bit RGB dshow input opaque.
Diffstat (limited to 'libavdevice/dshow.c')
-rw-r--r--libavdevice/dshow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index 1d500bd..96ca813 100644
--- a/libavdevice/dshow.c
+++ b/libavdevice/dshow.c
@@ -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
OpenPOWER on IntegriCloud