From: Siggi L. <si...@us...> - 2002-05-27 05:27:49
|
Hi, On Sun, 26 May 2002, R. Bernstein wrote: > I've been writing a new vcd plugin (starting the existing one, navdvd > and information from GNU vcdimager). It's far from ready although it > can handle entry selections, and picks out title and album > information. That already sounds like a good improvement. Is there any way to access the source, so we can include it in our CVS? > One thing that seems to be lacking at least for VCDs (and probably > DVD's as well) is number selection. That is, when playing an entry or > a menu on a play one can select a number and that means go to that > selection or choose that selection. On my APEX DVD/VCD player the way > one selects number over 9 is to enter 10+ key. I don't think that number selection is supported by DVDs, but you're right for VCDs. Are you sure that the "+10" key can be considered standard? My Yamakawa DVD/VCD player also has one, but I don't know if that is required to play VCDs. IOW: Are there any VCDs that use/need this key? I haven't seen one yet, but you're the one who has looked at vcdimager... > Givin this it seems pretty simple and straight forward to add. For > example something like: > > #define XINE_EVENT_INPUT_NUMBER_10_ADD 30 > #define XINE_EVENT_INPUT_NUMBER_1 31 > #define XINE_EVENT_INPUT_NUMBER_2 32 > #define XINE_EVENT_INPUT_NUMBER_3 33 > #define XINE_EVENT_INPUT_NUMBER_4 34 > #define XINE_EVENT_INPUT_NUMBER_5 35 > #define XINE_EVENT_INPUT_NUMBER_6 36 > #define XINE_EVENT_INPUT_NUMBER_7 37 > #define XINE_EVENT_INPUT_NUMBER_8 38 > #define XINE_EVENT_INPUT_NUMBER_9 39 No problem. I've just added them to events.h. Depending on your answer to above questions, the XINE_EVENT_INPUT_NUMBER_10_ADD may be removed or changed again. Note that I added a "0" key and remapped "+10" to 40, so you can do something like this: if (event>=XINE_EVENT_INPUT_NUMBER_0 && event<=XINE_EVENT_INPUT_NUMBER_9){ number_pressed = event - XINE_EVENT_INPUT_NUMBER_0; ... } Depending on your answers to above questions, the "+10" event may be removed or changed again. Keep up the good work, Siggi |