|
|
|
@ -823,6 +823,10 @@ static void SubtitleRegionToBounds(subpicture_t *subpicture, |
|
|
|
|
|
|
|
new_bounds.left = r->i_x; |
|
|
|
new_bounds.top = r->i_y; |
|
|
|
if (new_bounds.left < 0) |
|
|
|
new_bounds.left = 0; |
|
|
|
if (new_bounds.top < 0) |
|
|
|
new_bounds.top = 0; |
|
|
|
new_bounds.right = r->fmt.i_visible_width + r->i_x; |
|
|
|
new_bounds.bottom = r->fmt.i_visible_height + r->i_y; |
|
|
|
if (r == &subpicture->p_region[0]) |
|
|
|
|