OSDN Git Service

Full-header RTMP packets contain real timestamp, others contain timestamp
authorKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 1 Dec 2009 16:08:44 +0000 (16:08 +0000)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 1 Dec 2009 16:08:44 +0000 (16:08 +0000)
commite6b244a3b986e513779aec83beab4fb25a130aa2
treec032b7a7329bc0bafc710cd5a2bfc68a841993e5
parentb1eb53ab59414b23a26f6e4af28bd3cd54b06220
Full-header RTMP packets contain real timestamp, others contain timestamp
difference, so make all read packets store absolute timestamp.
As a consequence, we don't need to track audio/video timestamps separately
any longer in protocol handler.

Originally committed as revision 20685 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rtmppkt.c
libavformat/rtmpproto.c