Maarten Lankhorst wrote:

I tried using the graph edit tool from Graph Edit, connected my outputpin to videorenderer's input pin I got this:
trace:quartz:VideoRenderer_SendSampleData 0x77ca8108 0x7cfd0000 131072
trace:quartz:IPinImpl_ConnectionMediaType (0x77ca8268/0x77ca8268)->(0x77a9f8f8)
trace:quartz:VideoRenderer_SendSampleData biSize = 298763094
trace:quartz:VideoRenderer_SendSampleData biWidth = -1442840129
trace:quartz:VideoRenderer_SendSampleData biHeigth = 1515803904
trace:quartz:VideoRenderer_SendSampleData biPlanes = 64268
trace:quartz:VideoRenderer_SendSampleData biBitCount = 30633
trace:quartz:VideoRenderer_SendSampleData biCompression = "X\x00\x00\x00"...
trace:quartz:VideoRenderer_SendSampleData biSizeImage = 2009760832


Somehow my media format got messed up, I'll look at the source, figure out what I did wrong then return working on this happily, I bet it's the same reason msn returned E_FAIL :)

*Takes another deep look into his probably messed up code, does this mean I have to rewrite it earlier then I thought? O_O*


The video format is taken from the pin's This->mtCurrent. This should be set in OutputPin_ConnectSpecific.
On a semi-related note though, the video renderer shouldn't be asking for it from the upstream pin for *every* sample. It only needs to ask for it once (on pause?).


Rob



Reply via email to