|
|
|
@ -155,7 +155,7 @@ static int dc1394_v1_read_header(AVFormatContext *c, AVFormatParameters * ap) |
|
|
|
|
if (dc1394_read_common(c,ap,&fmt,&fps) != 0) |
|
|
|
|
return -1; |
|
|
|
|
|
|
|
|
|
/* Now lets prep the hardware */ |
|
|
|
|
/* Now let us prep the hardware. */ |
|
|
|
|
dc1394->handle = dc1394_create_handle(0); /* FIXME: gotta have ap->port */ |
|
|
|
|
if (!dc1394->handle) { |
|
|
|
|
av_log(c, AV_LOG_ERROR, "Can't acquire dc1394 handle on port %d\n", 0 /* ap->port */); |
|
|
|
@ -248,7 +248,7 @@ static int dc1394_v2_read_header(AVFormatContext *c, AVFormatParameters * ap) |
|
|
|
|
if (dc1394_read_common(c,ap,&fmt,&fps) != 0) |
|
|
|
|
return -1; |
|
|
|
|
|
|
|
|
|
/* Now lets prep the hardware */ |
|
|
|
|
/* Now let us prep the hardware. */ |
|
|
|
|
dc1394->d = dc1394_new(); |
|
|
|
|
dc1394_camera_enumerate (dc1394->d, &list); |
|
|
|
|
if ( !list || list->num == 0) { |
|
|
|
|