Changeset 6d0acab61d719797ada7b521dc11e70e24046c91
- Timestamp:
- 26/11/03 23:56:04
(5 years ago)
- Author:
- Gildas Bazin <gbazin@videolan.org>
- git-committer:
- Gildas Bazin <gbazin@videolan.org> 1069887364 +0000
- git-parent:
[204169641b642296bfb93b0b28c7fbbd19a80e4b]
- git-author:
- Gildas Bazin <gbazin@videolan.org> 1069887364 +0000
- Message:
* modules/stream_out/display.c: fixed timestamp generation.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r3439df8 |
r6d0acab |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 2001, 2002 VideoLAN |
|---|
| 5 | | * $Id: display.c,v 1.8 2003/11/24 00:39:01 fenrir Exp $ |
|---|
| | 5 | * $Id: display.c,v 1.9 2003/11/26 22:56:04 gbazin Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Laurent Aimar <fenrir@via.ecp.fr> |
|---|
| … | … | |
| 260 | 260 | p_data->p_payload_end = p_data->p_payload_start + p_buffer->i_size; |
|---|
| 261 | 261 | |
|---|
| 262 | | p_pes->i_dts = p_buffer->i_dts < 0 ? 0 : |
|---|
| | 262 | p_pes->i_dts = p_buffer->i_dts <= 0 ? 0 : |
|---|
| 263 | 263 | p_buffer->i_dts + p_sys->i_delay; |
|---|
| 264 | | p_pes->i_pts = p_buffer->i_pts < 0 ? 0 : |
|---|
| | 264 | p_pes->i_pts = p_buffer->i_pts <= 0 ? 0 : |
|---|
| 265 | 265 | p_buffer->i_pts + p_sys->i_delay; |
|---|
| 266 | 266 | p_pes->p_first = p_pes->p_last = p_data; |
|---|