Changeset 6bf818a2c35c0fbdfc4f3bbf8d8a45a873198ce7
- Timestamp:
- 11/02/07 02:51:45
(2 years ago)
- Author:
- Antoine Cellerier <dionoea@videolan.org>
- git-committer:
- Antoine Cellerier <dionoea@videolan.org> 1171158705 +0000
- git-parent:
[8d46123c64f777f918e12d8afd059f16089e34ba]
- git-author:
- Antoine Cellerier <dionoea@videolan.org> 1171158705 +0000
- Message:
Fix #675.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rae6af36 |
r6bf818a |
|
| 451 | 451 | } |
|---|
| 452 | 452 | } |
|---|
| | 453 | else |
|---|
| | 454 | { |
|---|
| | 455 | p_sys->pos = 0; |
|---|
| | 456 | } |
|---|
| 453 | 457 | |
|---|
| 454 | 458 | /* Try to open the real video output */ |
|---|
| … | … | |
| 555 | 559 | p_pic->p[Y_PLANE].i_visible_lines; |
|---|
| 556 | 560 | |
|---|
| 557 | | /* Just in case the new image would overflow the vout */ |
|---|
| 558 | | if( (unsigned int)(p_sys->posy + p_sys->i_height) |
|---|
| 559 | | > p_vout->render.i_height |
|---|
| 560 | | || (unsigned int)(p_sys->posx + p_sys->i_width) |
|---|
| 561 | | > p_vout->render.i_width |
|---|
| 562 | | || p_sys->pos ) |
|---|
| | 561 | if( p_sys->pos ) |
|---|
| 563 | 562 | { |
|---|
| 564 | 563 | if( p_sys->pos & SUBPICTURE_ALIGN_BOTTOM ) |
|---|
| … | … | |
| 570 | 569 | p_sys->posy = p_vout->render.i_height/2 - p_sys->i_height/2; |
|---|
| 571 | 570 | } |
|---|
| 572 | | |
|---|
| 573 | 571 | if( p_sys->pos & SUBPICTURE_ALIGN_RIGHT ) |
|---|
| 574 | 572 | { |
|---|