Commit bdb1cdc0 authored by Thomas Guillem's avatar Thomas Guillem

directdraw: accept every projection modes

Since this is the last vout in priority (comes after OpenGL), this vout should
accept ever projection modes (even if it won't be displayed correctly).
parent 90d4d1f0
......@@ -199,9 +199,6 @@ static int Open(vlc_object_t *object)
vout_display_t *vd = (vout_display_t *)object;
vout_display_sys_t *sys;
if ( !vd->obj.force && vd->source.projection_mode != PROJECTION_MODE_RECTANGULAR)
return VLC_EGENERIC; /* let a module who can handle it do it */
/* Allocate structure */
vd->sys = sys = calloc(1, sizeof(*sys));
if (!sys)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment