Changeset 472d88ba7770dd4bf6f9e0dbaa3637f52a24ab8f
- Timestamp:
- 24/05/07 23:27:14
(2 years ago)
- Author:
- Damien Fouilleul <damienf@videolan.org>
- git-committer:
- Damien Fouilleul <damienf@videolan.org> 1180042034 +0000
- git-parent:
[bd9935bfe337caa2c83cf0e2eb8f41e7b366772c]
- git-author:
- Damien Fouilleul <damienf@videolan.org> 1180042034 +0000
- Message:
- libmpeg2 codec: uses Y plane pitch rather then picture width as stride, hopefully closes #1184
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r7b0773e |
r472d88b |
|
| 243 | 243 | break; |
|---|
| 244 | 244 | mpeg2_set_buf( p_sys->p_mpeg2dec, buf, p_pic ); |
|---|
| 245 | | mpeg2_stride( p_sys->p_mpeg2dec, p_pic->format.i_width ); |
|---|
| | 245 | mpeg2_stride( p_sys->p_mpeg2dec, p_pic->p[Y_PLANE].i_pitch ); |
|---|
| 246 | 246 | } |
|---|
| 247 | 247 | p_sys->p_picture_to_destroy = p_pic; |
|---|
| … | … | |
| 323 | 323 | |
|---|
| 324 | 324 | mpeg2_set_buf( p_sys->p_mpeg2dec, buf, p_pic ); |
|---|
| 325 | | mpeg2_stride( p_sys->p_mpeg2dec, p_pic->format.i_width ); |
|---|
| | 325 | mpeg2_stride( p_sys->p_mpeg2dec, p_pic->p[Y_PLANE].i_pitch ); |
|---|
| 326 | 326 | |
|---|
| 327 | 327 | /* This picture will never go through display_picture. */ |
|---|
| … | … | |
| 441 | 441 | |
|---|
| 442 | 442 | mpeg2_set_buf( p_sys->p_mpeg2dec, buf, p_pic ); |
|---|
| 443 | | mpeg2_stride( p_sys->p_mpeg2dec, p_pic->format.i_width ); |
|---|
| | 443 | mpeg2_stride( p_sys->p_mpeg2dec, p_pic->p[Y_PLANE].i_pitch ); |
|---|
| 444 | 444 | } |
|---|
| 445 | 445 | } |
|---|
| … | … | |
| 523 | 523 | break; |
|---|
| 524 | 524 | mpeg2_set_buf( p_sys->p_mpeg2dec, buf, p_pic ); |
|---|
| 525 | | mpeg2_stride( p_sys->p_mpeg2dec, p_pic->format.i_width ); |
|---|
| | 525 | mpeg2_stride( p_sys->p_mpeg2dec, p_pic->p[Y_PLANE].i_pitch ); |
|---|
| 526 | 526 | } |
|---|
| 527 | 527 | p_sys->p_picture_to_destroy = p_pic; |
|---|