Mercurial > libavformat.hg
diff dv1394.c @ 159:7d698c3213a0 libavformat
tv standard selection support for dv1394 and grab (v4l)
author | al3x |
---|---|
date | Wed, 25 Jun 2003 10:21:45 +0000 |
parents | 6c90bbfc4b97 |
children | d98ed04d62a6 |
line wrap: on
line diff
--- a/dv1394.c Fri Jun 20 18:21:58 2003 +0000 +++ b/dv1394.c Wed Jun 25 10:21:45 2003 +0000 @@ -91,8 +91,10 @@ return -ENOMEM; } - /* FIXME: Need a format change parameter */ - dv->format = DV1394_NTSC; + if (ap->standard && !strcasecmp(ap->standard, "pal")) + dv->format = DV1394_PAL; + else + dv->format = DV1394_NTSC; if (ap->channel) dv->channel = ap->channel;