<div>Hi:</div><div><br></div><div>Is it possible to play DVB-T device using ActiveX in MFC? In console i can let VLC play DVB-T device through this command</div><div><br></div><div>dvb:// :dvb-adapter=0 :dvb-frequency=593000000 :dvb-srate=8 :dvb-bandwidth=6 :program=501</div>
<div><br></div><div>while i call CVLCControl from MFC, and this command didn't seem to work. Did I miss anything?</div><div><br></div><div>BSTR option = SysAllocString(_T(":dvb-adapter=0 :dvb-frequency=593000000 :dvb-srate=8 :dvb-bandwidth=6 :program=501"));</div>
<div>VARIANT va;</div><div>VariantInit( &va );</div><div>va.bstrVal = option;</div><div>pvlc->addTarget(_T("dvb://"), va, 0, 1);</div><div>pvlc->play();</div><div><br></div><div>I am using vlc 1.0.5, ActiveX v1 under Windows 7.</div>
<div><br></div><div>Can anyone help me with this , Thanks.</div><div><br></div><div>Best regards,</div><div>Ben 2010/05/04</div>