Skip to content

Commit

Permalink
Add a mapping for the V4L2_PIX_FMT_NV12 format to PIX_FMT_NV12 for
Browse files Browse the repository at this point in the history
video4linux2 devices. This is used by Sensoray Model 2253 cards.
Patch by Pete Eberlein (pete AT sensoray DOT com)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@24759 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
  • Loading branch information
lucabe committed Aug 11, 2010
1 parent 4684b10 commit a61f2a8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libavdevice/v4l2.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,11 @@ static struct fmt_map fmt_conversion_table[] = {
.codec_id = CODEC_ID_RAWVIDEO,
.v4l2_fmt = V4L2_PIX_FMT_GREY,
},
{
.ff_fmt = PIX_FMT_NV12,
.codec_id = CODEC_ID_RAWVIDEO,
.v4l2_fmt = V4L2_PIX_FMT_NV12,
},
{
.ff_fmt = PIX_FMT_NONE,
.codec_id = CODEC_ID_MJPEG,
Expand Down

0 comments on commit a61f2a8

Please sign in to comment.