Commit ee7a7d10 authored by François Cartegnie's avatar François Cartegnie 🤞

codec: substext: clear flags

parent 1237e666
......@@ -118,6 +118,8 @@ static int SubpictureTextValidate(subpicture_t *subpic,
p_updtregion->origin.y = subpic->p_region->i_y;
p_updtregion->extent.x = subpic->i_original_picture_width;
p_updtregion->extent.y = subpic->i_original_picture_height;
p_updtregion->flags &= ~(UPDT_REGION_ORIGIN_X_IS_PERCENTILE|UPDT_REGION_ORIGIN_Y_IS_PERCENTILE|
UPDT_REGION_EXTENT_X_IS_PERCENTILE|UPDT_REGION_EXTENT_Y_IS_PERCENTILE);
}
return VLC_EGENERIC;
......
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