Check that the device is a capture device immediately after opening
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Fri, 26 Dec 2008 10:12:57 +0000 (10:12 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Fri, 26 Dec 2008 10:12:57 +0000 (10:12 +0000)
commit7274a48035f9b97c2d8bae202ac6688dca81ff10
tree8b61b38bca28d7d26f2b2b36c1c32ee502524841
parentf233d348212f5a634c91e45f93a7824a813ca050
Check that the device is a capture device immediately after opening
the device.

Originally committed as revision 16318 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavdevice/v4l.c