Mercurial > libavformat.hg
comparison dc1394.c @ 1795:62792a60f740 libavformat
implement new grabbing interface, as described here:
ttp://thread.gmane.org/gmane.comp.video.ffmpeg.devel/42920
patch by Ramiro Polla % ramiro A lisha P ufsc P br %
Original thread:
Date: Jan 31, 2007 8:56 PM
Subject: [Ffmpeg-devel] [PATCH] New grabbing interface
author | gpoirier |
---|---|
date | Wed, 14 Feb 2007 17:01:32 +0000 |
parents | 8cba5672faa4 |
children | 491a751cc58c |
comparison
equal
deleted
inserted
replaced
1794:11c57b75bccd | 1795:62792a60f740 |
---|---|
116 0, | 116 0, |
117 FORMAT_VGA_NONCOMPRESSED, | 117 FORMAT_VGA_NONCOMPRESSED, |
118 fmt->frame_size_id, | 118 fmt->frame_size_id, |
119 SPEED_400, | 119 SPEED_400, |
120 fps->frame_rate_id, 8, 1, | 120 fps->frame_rate_id, 8, 1, |
121 ap->device, | 121 c->filename, |
122 &dc1394->camera); | 122 &dc1394->camera); |
123 dc1394_free_camera_nodes(camera_nodes); | 123 dc1394_free_camera_nodes(camera_nodes); |
124 if (res != DC1394_SUCCESS) { | 124 if (res != DC1394_SUCCESS) { |
125 av_log(c, AV_LOG_ERROR, "Can't prepare camera for the DMA capture\n"); | 125 av_log(c, AV_LOG_ERROR, "Can't prepare camera for the DMA capture\n"); |
126 goto out_handle; | 126 goto out_handle; |