[MPlayer-dev-eng] [PATCH] corrected probe in vidix ivtv-driver
Lars Hanisch
dvb at cinnamon-sage.de
Mon Jul 14 19:51:21 CEST 2008
Hi,
On my system with one PVR150 (/dev/video0) and a PVR350 (/dev/video1)
the detection of the YUV-decoder (/dev/video49) and corresponding
framebuffer (/dev/fb1) of the PVR350 fails.
Now it does the following:
1. scan the pci-bus for the PVR350
2. test the environment variables VIDIXIVTVVIDEODEV and
VIDIXIVTVFRAMEBUFFERDEV for user selected devices (needed if multiple
PVR350 are present)
3. if they are not set, scan /sys/class/video4linux/video* resp.
/dev/video* for an ivtv-driven device with YUV-decoder capabilites
4. scan /sys/class/graphics/fb* resp. /dev/fb* for the right
framebuffer-device (see v4l2-spec for an example)
Hope this helps somebody.
I'll send the same patch to the vidix-ML, but it's rather quiet over
there. And because I need it in mplayer, I'll send it here too, so it
won't get lost.
Lars.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mplayer_vidix_ivtv_probe.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080714/febd848d/attachment.asc>
More information about the MPlayer-dev-eng
mailing list