Revision 77f21ce4
libavformat/utils.c | ||
---|---|---|
18 | 18 |
* License along with FFmpeg; if not, write to the Free Software |
19 | 19 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
20 | 20 |
*/ |
21 |
|
|
22 |
/* #define DEBUG */ |
|
23 |
|
|
21 | 24 |
#include "avformat.h" |
22 | 25 |
#include "avio_internal.h" |
23 | 26 |
#include "internal.h" |
... | ... | |
2911 | 2914 |
int delay = FFMAX(st->codec->has_b_frames, !!st->codec->max_b_frames); |
2912 | 2915 |
int num, den, frame_size, i; |
2913 | 2916 |
|
2914 |
// av_log(s, AV_LOG_DEBUG, "av_write_frame: pts:%"PRId64" dts:%"PRId64" cur_dts:%"PRId64" b:%d size:%d st:%d\n", pkt->pts, pkt->dts, st->cur_dts, delay, pkt->size, pkt->stream_index); |
|
2917 |
av_dlog(s, "av_write_frame: pts:%"PRId64" dts:%"PRId64" cur_dts:%"PRId64" b:%d size:%d st:%d\n", |
|
2918 |
pkt->pts, pkt->dts, st->cur_dts, delay, pkt->size, pkt->stream_index); |
|
2915 | 2919 |
|
2916 | 2920 |
/* if(pkt->pts == AV_NOPTS_VALUE && pkt->dts == AV_NOPTS_VALUE) |
2917 | 2921 |
return -1;*/ |
Also available in: Unified diff