[MPlayer-dev-eng] [PATCH] Implement stride support in ve_raw and vf_vo wrapper

John Koleszar jkoleszar at on2.com
Wed Jan 4 14:12:50 CET 2006


Ivan Kalvachev wrote:

>It looks like i have not been on my self. Now on second look i saw
>that you actually change 2 files. There is absolutlely no need to
>change vf_vo.c . AFAI can see ve_raw doesn't have draw_frame() and
>AFAIK ve_* doesn't use vo_ interface.
>  
>
The two patches are completely independant. They're grouped together in 
this thread because the root cause is the same. I'm primarily interested 
in the one to ve_raw, but I also discovered that the SDL vo is affected 
by the same issue (passing images with strides when the filter doesn't 
accept them). I applied the fix to vf_vo because of the way the 
draw_frame interface works. It didn't make sense to apply it to vo_sdl 
because not all of the relevant data is available there, and any other 
vo which still uses draw_frame would be affected in the same way.

>When vo/vf cannot get_image it must return NULL, then vo will allocate
>the image.
>I must check to see in what conext this image is stored.... (i think
>it should be in the caller, but who knows).
>
>will look at it when i can...
>  
>
Thanks a lot. Let me know if I can help.

John




More information about the MPlayer-dev-eng mailing list