[FFmpeg-cvslog] Make 32bit RGB dshow input opaque.

Don Moir git at videolan.org
Sat Mar 8 14:19:04 CET 2014


ffmpeg | branch: master | Don Moir <donmoir at comcast.net> | Sat Mar  8 13:46:05 2014 +0100| [24e2a82f75abbe977b7ddab52a90ce4d3e57a9f8] | committer: Carl Eugen Hoyos

Make 32bit RGB dshow input opaque.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=24e2a82f75abbe977b7ddab52a90ce4d3e57a9f8
---

 libavdevice/dshow.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



More information about the ffmpeg-cvslog mailing list