Changeset 2f676d810895e1b3dac8a92dea478fcf2c343666

Show
Ignore:
Timestamp:
13/03/04 19:52:55 (5 years ago)
Author:
Laurent Aimar <fenrir@videolan.org>
git-committer:
Laurent Aimar <fenrir@videolan.org> 1079203975 +0000
git-parent:

[3de8decdade1b366148b77a875b3c05480fdef94]

git-author:
Laurent Aimar <fenrir@videolan.org> 1079203975 +0000
Message:
  • mpeg4video: more cludges (it should be rewritten to calculate true

dts/pts ...)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/packetizer/mpeg4video.c

    rc49b2f1 r2f676d8  
    313313                p_sys->i_pts = p_block->i_dts; 
    314314            } 
    315             p_sys->i_dts = p_block->i_dts; 
     315            if( p_block->i_dts > 0 ) 
     316            { 
     317                p_sys->i_dts = p_block->i_dts; 
     318            } 
    316319        } 
    317320        p_start += 4; /* Next */