Changeset 6d436261c266d5ec5d3e8a9a350b06fd917ab092
- Timestamp:
- 24/05/04 21:00:37
(5 years ago)
- Author:
- Gildas Bazin <gbazin@videolan.org>
- git-committer:
- Gildas Bazin <gbazin@videolan.org> 1085425237 +0000
- git-parent:
[964361f6cad335cc6db481402966220f83c82fc9]
- git-author:
- Gildas Bazin <gbazin@videolan.org> 1085425237 +0000
- Message:
* modules/packetizer/mpegvideo.c: better fix.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r964361f |
r6d43626 |
|
| 269 | 269 | /* Get the new fragment and set the pts/dts */ |
|---|
| 270 | 270 | p_pic = block_New( p_dec, p_sys->i_offset ); |
|---|
| | 271 | block_BytestreamFlush( &p_sys->bytestream ); |
|---|
| 271 | 272 | p_pic->i_pts = p_sys->bytestream.p_block->i_pts; |
|---|
| 272 | 273 | p_pic->i_dts = p_sys->bytestream.p_block->i_dts; |
|---|
| 273 | | |
|---|
| 274 | | /* FIXME ? Should we flush the bytestream chain before ? */ |
|---|
| 275 | | if( p_sys->bytestream.p_block->i_buffer == |
|---|
| 276 | | p_sys->bytestream.i_offset && |
|---|
| 277 | | p_sys->bytestream.p_block->p_next ) |
|---|
| 278 | | { |
|---|
| 279 | | p_pic->i_pts = p_sys->bytestream.p_block->p_next->i_pts; |
|---|
| 280 | | p_pic->i_dts = p_sys->bytestream.p_block->p_next->i_dts; |
|---|
| 281 | | } |
|---|
| 282 | 274 | |
|---|
| 283 | 275 | block_GetBytes( &p_sys->bytestream, p_pic->p_buffer, |
|---|