Changeset e96eb7449739f3c49beab70ce4cd366193cd69af
- Timestamp:
- 25/01/08 20:49:45
(9 months ago)
- Author:
- Jean-Paul Saman <jpsaman@videolan.org>
- git-committer:
- Jean-Paul Saman <jpsaman@videolan.org> 1201290585 +0000
- git-parent:
[c28d3216e9fe9df4631f2c1f0306711c63a9823e]
- git-author:
- Jean-Paul Saman <jpsaman@videolan.org> 1201290585 +0000
- Message:
Fix scaling of subpicture in fb video_output.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rc28d321 |
re96eb74 |
|
| 484 | 484 | I_OUTPUTPICTURES = 0; |
|---|
| 485 | 485 | |
|---|
| | 486 | p_vout->fmt_out = p_vout->fmt_in; |
|---|
| 486 | 487 | if( p_sys->i_chroma == 0 ) |
|---|
| 487 | 488 | { |
|---|
| … | … | |
| 527 | 528 | p_vout->render.i_height = p_sys->i_height; |
|---|
| 528 | 529 | } |
|---|
| 529 | | p_vout->output.i_width = p_sys->i_width; |
|---|
| 530 | | p_vout->output.i_height = p_sys->i_height; |
|---|
| | 530 | p_vout->output.i_width = p_vout->fmt_out.i_width = p_sys->i_width; |
|---|
| | 531 | p_vout->output.i_height = p_vout->fmt_out.i_height = p_sys->i_height; |
|---|
| 531 | 532 | |
|---|
| 532 | 533 | /* Assume we have square pixels */ |
|---|
| … | … | |
| 540 | 541 | p_vout->fmt_out.i_sar_num = p_vout->fmt_out.i_sar_den = 1; |
|---|
| 541 | 542 | p_vout->fmt_out.i_aspect = p_vout->render.i_aspect = p_vout->output.i_aspect; |
|---|
| | 543 | p_vout->fmt_out.i_x_offset= p_vout->fmt_out.i_y_offset = 0; |
|---|
| 542 | 544 | |
|---|
| 543 | 545 | /* Clear the screen */ |
|---|