aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-09-05 20:40:50 +0000
committerLuca Abeni <lucabe72@email.it>2008-09-05 20:40:50 +0000
commit92d04e765e3109a5ecae3fd30bee738f35f6c95a (patch)
tree27b2835e0eef5e04829b4043512957a321545d99
parent97a290efcbc594c43df691bb93050389c6ac3747 (diff)
downloadffmpeg-92d04e765e3109a5ecae3fd30bee738f35f6c95a.tar.gz
Add support for the RGB32 pixel format in video4linux2 devices
Patch by Jean Delvare (khali AT linux-fr DOT org) Originally committed as revision 15219 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavdevice/v4l2.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index 034cdcfd98..0150c804d4 100644
--- a/libavdevice/v4l2.c
+++ b/libavdevice/v4l2.c
@@ -114,12 +114,10 @@ static struct fmt_map fmt_conversion_table[] = {
.ff_fmt = PIX_FMT_RGB24,
.v4l2_fmt = V4L2_PIX_FMT_RGB24,
},
- /*
{
- .ff_fmt = PIX_FMT_RGB32,
+ .ff_fmt = PIX_FMT_BGRA,
.v4l2_fmt = V4L2_PIX_FMT_BGR32,
},
- */
{
.ff_fmt = PIX_FMT_GRAY8,
.v4l2_fmt = V4L2_PIX_FMT_GREY,