Changeset 45a444a2b4660bccfba8478b9691ddb170666092
- Timestamp:
- 05/23/08 14:12:26
(3 months ago)
- Author:
- Antoine Cellerier <dionoea@videolan.org>
- git-committer:
- Antoine Cellerier <dionoea@videolan.org> 1211544746 +0200
- git-parent:
[cde8ee9e4bf7787164a8ede9eaae8bf259345fbd]
- git-author:
- Antoine Cellerier <dionoea@videolan.org> 1211544746 +0200
- Message:
Keep a good rendering quality when rendering zvbi subs as text.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rcde8ee9 |
r45a444a |
|
| 327 | 327 | #endif |
|---|
| 328 | 328 | fmt.i_aspect = p_sys->b_text ? 0 : VOUT_ASPECT_FACTOR; |
|---|
| 329 | | fmt.i_sar_num = fmt.i_sar_den = 1; |
|---|
| 330 | | fmt.i_width = fmt.i_visible_width = p_page.columns * 12; |
|---|
| 331 | | fmt.i_height = fmt.i_visible_height = p_page.rows * 10; |
|---|
| | 329 | if( !p_sys->b_text ) |
|---|
| | 330 | { |
|---|
| | 331 | fmt.i_sar_num = fmt.i_sar_den = 1; |
|---|
| | 332 | fmt.i_width = fmt.i_visible_width = p_page.columns * 12; |
|---|
| | 333 | fmt.i_height = fmt.i_visible_height = p_page.rows * 10; |
|---|
| | 334 | } |
|---|
| 332 | 335 | fmt.i_bits_per_pixel = p_sys->b_text ? 0 : 32; |
|---|
| 333 | 336 | fmt.i_x_offset = fmt.i_y_offset = 0; |
|---|
| … | … | |
| 352 | 355 | p_spu->b_absolute = false; |
|---|
| 353 | 356 | p_spu->b_pausable = true; |
|---|
| 354 | | p_spu->i_width = fmt.i_width; |
|---|
| 355 | | p_spu->i_height = fmt.i_height; |
|---|
| 356 | | p_spu->i_original_picture_width = p_page.columns * 12; |
|---|
| 357 | | p_spu->i_original_picture_height = p_page.rows * 10; |
|---|
| | 357 | if( !p_sys->b_text ) |
|---|
| | 358 | { |
|---|
| | 359 | p_spu->i_width = fmt.i_width; |
|---|
| | 360 | p_spu->i_height = fmt.i_height; |
|---|
| | 361 | p_spu->i_original_picture_width = p_page.columns * 12; |
|---|
| | 362 | p_spu->i_original_picture_height = p_page.rows * 10; |
|---|
| | 363 | } |
|---|
| 358 | 364 | |
|---|
| 359 | 365 | #ifdef WORDS_BIGENDIAN |
|---|