<br><br><div class="gmail_quote">On Mon, Jun 9, 2008 at 10:14 PM, Claudio Luck <cluck@ethz.ch> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all<br>
<br>
attached is a first version of a patch for Multiproto support in VLC<br>
(74K compressed) .<br>
<br>
This patch adds --dvb-hybrid=[0=old_api, 1=new_api, 2=auto]. The default<br>
is --dvb-hybrid=0 which shall make VLC behave as without the patch.<br>
Anything different is a bug in my code. And there _are_ still bugs.<br>
<br>
The patched VLC should compile against both vanilla kernel and a<br>
multiproto-patched kernel (<a href="http://jusst.de/hg/multiproto" target="_blank">http://jusst.de/hg/multiproto</a>).<br>
In the latter case VLC shall be able to switch the new and traditional<br>
API at runtime. I use<br>
> CPPFLAGS="-I/usr/local/src/multiproto/linux/include" ./configure<br>
to make it see the multiproto API.<br>
<br>
I've the following hardware to test the code:<br>
 - KNC1 DVB-S2<br>
 - Terratec Cinergy 1200 DVB-S<br>
 - one CI/CAM Module for both (and many troubles with it)<br>
<br>
Examples:<br>
 * `vlc dvb-s:// --dvb-hybrid=2` tunes DVB-S with multiproto API<br>
 * `vlc dvb-s2:// --dvb-hybrid=2` tunes DVB-S2 with multiproto API<br>
 * `vlc dvb-s:// --dvb-hybrid=0` tunes DVB-S with traditional API<br>
 * `vlc satellite:// --dvb-hybrid=2` is expected to cycle all available<br>
deliveries (does not work correctly yet)<br>
<br>
Tests and Patches are welcome, specially with non-DVB-S/S2 cards and on<br>
the backwards compatibility of the code. Also, if someone has a<br>
DVBFE_DELSYS_DUMMY compliant card, let me know ;)<br>
<br>
Moreover I didn't work on the HTTP Interface side so it is not yet aware<br>
of the new API.<br>
<br>
--<br>
Best Regards<br>
<font color="#888888">Claudio Luck<br>
<br>
</font></blockquote></div>Hi Claudio,<br><br>Thanks for you patch. <br><br>I tried it and it works great with KNC One DVB-S2 card. It works for both protokols dvb-s:// and dvb-s2:// and --dvb-hybrid=2. But if I set satellite:// and --dvb-hybrid=2 then it works just for dvb-s protokol for now. I will test further and send you my report if something is not working OK.<br>
<br>Gregor<br><br><br>