From: Michael R. <mr...@us...> - 2005-09-22 10:57:12
|
Hi, >> perhaps it would be cleaner adding overlay_offset_x and >> overlay_offset_y to vo_frame_t. this way it is a generic mechanism >> for displacing overlays and all drivers would have to implement it... > > i'm attaching a patch that does that. > currently it changes just the opengl driver, all others would have > to be fixed the same. besides, we must increase api number for vo > drivers (20->21). and alphablend needs some checks for negative > clipping area as well. Feels like the right solution to me. Plus: It will simplify the overlay shifting of the expand plugin. Michael |