mirror of https://git.ffmpeg.org/ffmpeg.git
Add a mapping for the V4L2_PIX_FMT_NV12 format to PIX_FMT_NV12 for
video4linux2 devices. This is used by Sensoray Model 2253 cards. Patch by Pete Eberlein (pete AT sensoray DOT com) Originally committed as revision 24759 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ccf13f9e20
commit
b4f81b7429
|
@ -138,6 +138,11 @@ static struct fmt_map fmt_conversion_table[] = {
|
||||||
.codec_id = CODEC_ID_RAWVIDEO,
|
.codec_id = CODEC_ID_RAWVIDEO,
|
||||||
.v4l2_fmt = V4L2_PIX_FMT_GREY,
|
.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,
|
.ff_fmt = PIX_FMT_NONE,
|
||||||
.codec_id = CODEC_ID_MJPEG,
|
.codec_id = CODEC_ID_MJPEG,
|
||||||
|
|
Loading…
Reference in New Issue