Hi,

I'm trying to get the Composite In and S-Video inputs working on my setup,
and am encountering wierd behavior in the parsing of the TV_CHANNELS and
VIDEO_GROUPS.

Here's my local_conf.py settings:

VIDEO_GROUPS = [
    VideoGroup(vdev=TV_DEVICE,
               adev=AUDIO_DEVICE,
               input_type='tuner',
               input_num=0,
               tuner_norm=CONF.tv,
               tuner_chanlist=CONF.chanlist,
               desc='FV2K PAL Tuner',
               recordable=True),
    VideoGroup(vdev=TV_DEVICE,
               adev=AUDIO_DEVICE,
               input_type='composite',
               input_num=2,
               tuner_norm=CONF.tv,
               tuner_chanlist=CONF.chanlist,
               desc='FV2K Comp. In',
               recordable=True),
    VideoGroup(vdev=TV_DEVICE,
               adev=AUDIO_DEVICE,
               input_type='svideo',
               input_num=3,
               tuner_norm=CONF.tv,
               tuner_chanlist=CONF.chanlist,
               desc='FV2K SVideo In',
               recordable=True),
]


TV_CHANNELS =  [('1', 'RTM1', 'E5'),
                ('2', 'RTM2', 'E11'),
                ('3', 'TV3',  '29'),
                ('4', 'NTV7', '37'),
                ('5', '8TV', '44'),
                ('6', 'CH9', '41'),
                ('7','S-Video','E2','',2),
                ('8','Comp.In','E2','',1)]


Basically, the last two entries in the TV_CHANNELS list default to the
same VIDEO_GROUP, which is that given by the last line. Currently, both
'7' and '8' end up using VIDEO_GROUP[1] (defined in the last entry). If I
reverse the order of '7' and '8', it'll use VIDEO_GROUP[2].

I think there's a bug in there somewhere...

In addition, I need to define a fake but valid Channel number for
non-tuner (composite, svideo) entries. Is there a better way to configure
such inputs?

T.C.
----
Wan Tat Chee (Lecturer)
School of Computer Science, Univ. of Science Malaysia,
11800 USM, Penang, Malaysia.      Rm.625 Ofc Ph: +604 653-3888 x 3617
NRG Lab Admin: +604 659-4757           Rm.601-E Ofc Ph: +604 653-4396
Internet: [EMAIL PROTECTED]            Web: http://nrg.cs.usm.my/~tcwan
GPG Key : http://nrg.cs.usm.my/~tcwan/tcw_gpg-20030322.asc
F'print : DCF2 B9B2 FA4D 1208 AD59  14CA 9A8F F54D B2C4 63C7


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to