Make tvi_v4l2 print -1 as "Current input" if the ioctl to read it failed.
commitb6225fc8ae3d70448d0deb15ad960f2dd4df2590
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Fri, 10 Apr 2009 10:13:41 +0000 (10 10:13 +0000)
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Fri, 10 Apr 2009 10:13:41 +0000 (10 10:13 +0000)
tree2273b1ea256fb456e8b3ec644498d5527f74ec12
parentfe9c8d60b435679cc68022b936a9a036b10ea2dc
Make tvi_v4l2 print -1 as "Current input" if the ioctl to read it failed.
Previously it printed (number of inputs + 1) which is needlessly confusing.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29161 b3059339-0415-0410-9bf9-f77b7e298cf2
stream/tvi_v4l2.c