Re: dvgrab wait for device

Dan Dennedy <[email protected]>
Newsgroups gmane.comp.video.kino.devel
Message-ID <[email protected]>
On Mon, Jun 29, 2009 at 7:35 AM, Carl Karsten<[email protected]> wrote:
> if there is no device when dvgrab is first run, it aborts.  Yet if it
> is streaming I can unplug the device and plug it back in, and the
> stream continues.  If there were some way to get dvgrab to just wait
> for a device, that would be great.  Or if someone can replace the
> execvp(dvgrab with the C code from dvgrab... then I can take that off
> my list of things to look into :)

Hmm, well, there can be multiple Firewire buses on your system, and
dvgrab looks for a device across all the buses to see which bus to
use, which is required to acquire a  libraw1394 handle. You would have
to add some loop around that with a limited retry. I am rather busy at
the moment, and must put this on my rather long todo list unless
someone else comes up with a patch.

-- 
+-DRD-+

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.