Changeset eb57119f90b0fc1042d5b9ac6e0032fd4733d65b
- Timestamp:
- 26/05/05 15:40:35
(3 years ago)
- Author:
- Christophe Massiot <massiot@videolan.org>
- git-committer:
- Christophe Massiot <massiot@videolan.org> 1117114835 +0000
- git-parent:
[d7b6f81c17aa8865c47b867776c3caddbb405711]
- git-author:
- Christophe Massiot <massiot@videolan.org> 1117114835 +0000
- Message:
- modules/video_filter/mosaic.c: Fixed a major bug with video/audio synchro.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r0cb4c8f |
reb57119 |
|
| 392 | 392 | picture_t *p_converted; |
|---|
| 393 | 393 | |
|---|
| 394 | | if ( p_es->b_empty || p_es->p_picture == NULL ) |
|---|
| | 394 | if ( p_es->b_empty ) |
|---|
| 395 | 395 | continue; |
|---|
| 396 | 396 | |
|---|
| 397 | | if ( p_es->p_picture->date + p_sys->i_delay < date ) |
|---|
| | 397 | while ( p_es->p_picture != NULL |
|---|
| | 398 | && p_es->p_picture->date + p_sys->i_delay < date ) |
|---|
| 398 | 399 | { |
|---|
| 399 | 400 | if ( p_es->p_picture->p_next != NULL ) |
|---|
| … | … | |
| 410 | 411 | p_es->p_picture = NULL; |
|---|
| 411 | 412 | p_es->pp_last = &p_es->p_picture; |
|---|
| 412 | | continue; |
|---|
| | 413 | break; |
|---|
| 413 | 414 | } |
|---|
| 414 | 415 | else |
|---|
| | 416 | { |
|---|
| 415 | 417 | msg_Dbg( p_filter, "too late picture for %s (" I64Fd ")", |
|---|
| 416 | 418 | p_es->psz_id, |
|---|
| 417 | 419 | date - p_es->p_picture->date - p_sys->i_delay ); |
|---|
| 418 | | } |
|---|
| | 420 | break; |
|---|
| | 421 | } |
|---|
| | 422 | } |
|---|
| | 423 | |
|---|
| | 424 | if ( p_es->p_picture == NULL ) |
|---|
| | 425 | continue; |
|---|
| 419 | 426 | |
|---|
| 420 | 427 | if ( p_sys->i_order_length == 0 ) |
|---|