Mercurial > libavformat.hg
changeset 31:36dd902f98d2 libavformat
dv1394 channel selection by Max Krasnyansky - modified channel number to be in base 10 by default
author | bellard |
---|---|
date | Thu, 23 Jan 2003 18:44:26 +0000 |
parents | 90fd30dd68b3 |
children | cd0155c9022e |
files | dv1394.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dv1394.c Thu Jan 23 10:33:16 2003 +0000 +++ b/dv1394.c Thu Jan 23 18:44:26 2003 +0000 @@ -84,7 +84,11 @@ dv->width = DV1394_WIDTH; dv->height = DV1394_HEIGHT; - dv->channel = ap->channel; + + if (ap->channel) + dv->channel = ap->channel; + else + dv->channel = DV1394_DEFAULT_CHANNEL; dv->frame_rate = 30;