Help - Search - Members - Calendar
Full Version: Ugly BDA Networkprovider
DVB Owners Discussion Forum - dvbowners.com > Technical & Development Forums > BDA Driver Development
patrik
Hello,

i'm trying to create a graph for on the bda network. but i'm not able to get a working networkprovider. by watching my graph on the Graphedit my networkprovider doesn't have a scanningtuner, dvb-t tunerequest and no tuningspace. only antenna out property.

my steps with interpreted Hresult:

CODE
CoCreateInstance(CLSID_SystemTuningSpaces : OK
TuningContainer.get_EnumTuningSpaces(TuningEnum) : OK
TuningSpace.QueryInterface(IID_IDVBTuningSpace2 : OK
TuningSpace.get_NetworkType(NetworkType): {216C62DF-6D7F-4E9A-8571-05F14EDB766A} : OK
CoCreateInstance(StringToGUID(NetworkType) : OK
AddFilter(iFilter):Network Provider Adresse: 008A898C : OK
FNetworkProvider.QueryInterface(IID_IScanningTuner : OK
DVBTuningSpace.CreateTuneRequest(TuneRequest) : OK
TuneRequest.QueryInterface(IID_IDVBTuneRequest, DVBTuneRequest) : OK
CoCreateInstance(CLSID_DVBTLocator) : OK
DVBLocator.put_Bandwidth(8) : OK
DVBLocator.put_CarrierFrequency(205500) : OK
DVBTuneRequest.put_Locator(DVBLocator) : OK
DVBTuneRequest.put_ONID(-1) : OK
DVBTuneRequest.put_SID(-1) : OK
DVBTuneRequest.put_TSID(-1) : OK
FScanningTuner.put_TuneRequest : OK
CoCreateInstance(CLSID_SystemDeviceEnum : OK
SystemDevEnum.CreateClassEnumerator : OK
Moniker.BindToStorage : OK
FilterBag.Read FriendlyName : OK
Moniker.BindToObject : OK
FGraphBuilder.AddFilter(TempFilter : OK
Found connection : OK
LoadFilter(KSCATEGORY_BDA_NETWORK_TUNER, FTunerDevice, FNetworkProvider) : OK
CoCreateInstance(CLSID_MPEG2Demultiplexer : OK
LoadDemultiplexer() : OK
Found connection : OK
ConnectFilters(FTunerDevice, FDeMultiplexer) : OK
Render(DemuxPins[i] : OK
Render(DemuxPins[i] : OK
Render(DemuxPins[i] : OK
Render(DemuxPins[i] : The specified media type is invalid. 0x80040200 512
Render(DemuxPins[i] : OK
RenderDemultiplexer() : OK


In Graphedit all connections are correct and the logfile created by the graphbuilder is nearly the same as the one created from Graphedit. The same structure created in Graphedit manually works:(
When trying to play the graph IMediaControl.Run returns S_False and i only get a black Videowindow:(

could somebody please tell me what i'm doing wrong

patrk
JJams
Well I think IMediaControl.Run return S_FALSE does not necessaryly mean it fails. I could be the graph is transiting from stop to run. Check out IMediaControl interface in MSDN for more info.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.