2013-04-24, 05:51
I'm working on a PVR addon that might have to handle its own demuxing, but I have a few questions about how it all happens.
I set bHandlesDemuxing to true and from that I expect the DVDDemuxFactory to make the DVDDemuxPVRClient, which it does. However, after it's created, the call to Open is made and I can't get a handle on the expected order of operations here.
The Abort() is called, but on the first channel loaded, this function shouldn't have anything to perform, correct?
The next function that does something that will call into the addon is RequestStreams() and the first call from there into the addon is GetStreamProperties(). At what point should I have opened my input and parsed out the streams?
I feel like I'm missing something obvious, but I've looked into it long enough to where my frustration has overtaken my pride.
Thanks for any help!
I set bHandlesDemuxing to true and from that I expect the DVDDemuxFactory to make the DVDDemuxPVRClient, which it does. However, after it's created, the call to Open is made and I can't get a handle on the expected order of operations here.
The Abort() is called, but on the first channel loaded, this function shouldn't have anything to perform, correct?
The next function that does something that will call into the addon is RequestStreams() and the first call from there into the addon is GetStreamProperties(). At what point should I have opened my input and parsed out the streams?
I feel like I'm missing something obvious, but I've looked into it long enough to where my frustration has overtaken my pride.
Thanks for any help!