|
|
|
@ -2,7 +2,7 @@ |
|
|
|
* mpegvideo.c |
|
|
|
***************************************************************************** |
|
|
|
* Copyright (C) 2001, 2002 VideoLAN |
|
|
|
* $Id: mpegvideo.c,v 1.5 2003/01/20 02:15:08 fenrir Exp $ |
|
|
|
* $Id: mpegvideo.c,v 1.6 2003/01/20 02:19:56 fenrir Exp $ |
|
|
|
* |
|
|
|
* Authors: Laurent Aimar <fenrir@via.ecp.fr> |
|
|
|
* Eric Petit <titer@videolan.org> |
|
|
|
@ -383,8 +383,6 @@ static void PacketizeThread( packetizer_t *p_pack ) |
|
|
|
p_sout_buffer->i_pts = p_pack->i_last_ref_pts + |
|
|
|
i_temporal_ref * (mtime_t)( 1000000 / p_pack->d_frame_rate ); |
|
|
|
|
|
|
|
msg_Dbg( p_pack->p_fifo, "dts:%lld pst:%lld tmp_ref:%d", |
|
|
|
p_sout_buffer->i_dts, p_sout_buffer->i_pts, i_temporal_ref ); |
|
|
|
|
|
|
|
p_sout_buffer->i_length = (uint64_t)1000000 / p_pack->d_frame_rate; |
|
|
|
p_sout_buffer->i_bitrate = (int)( 8 * i_pos * p_pack->d_frame_rate ); |
|
|
|
|