video/image gets flipped by video renderer
- From: mouster@xxxxxxxxx
- Date: 9 Mar 2007 13:24:38 -0800
I have search posts regarding this issue and I cannot seem to find the
desired answer. Basically I built my own filter using DSWizard as a
template, wrote my own transform function, used GetVideoInfoParameters
DBI helper function to take care of the top-down or bottom-up image
issue. I ran the code and everything seems to work correctly EXCEPT
when the data gets pass to the Video Renderer the image somehow gets
flipped, hence displaying the image upside-down. I can also see it in
the pin property of the filter and video renderer that prior to
pressing the play button the height of the image is always positive,
after I press the play button the height value in the Video Renderer
gets flipped to negative and the height value on the outpin of my
filter stays positive.
And my graph basically flows like this: "some video file"->"some
decoder then my filter"->"video renderer"
.
- Follow-Ups:
- Re: video/image gets flipped by video renderer
- From: Thore B. Karlsen [DShow MVP]
- Re: video/image gets flipped by video renderer
- Prev by Date: Re: Sample Grabber's SampleTime
- Next by Date: Re: frame drop detection
- Previous by thread: Re: Is DSNet.ax in the SDK good enough for use?
- Next by thread: Re: video/image gets flipped by video renderer
- Index(es):