mirror of https://git.ffmpeg.org/ffmpeg.git
avienc: Update 2 debug statements to match the current code.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
5192788321
commit
282e8d4b4f
|
@ -518,7 +518,7 @@ static int avi_write_packet(AVFormatContext *s, AVPacket *pkt)
|
||||||
AVCodecContext *enc= s->streams[stream_index]->codec;
|
AVCodecContext *enc= s->streams[stream_index]->codec;
|
||||||
int size= pkt->size;
|
int size= pkt->size;
|
||||||
|
|
||||||
// av_log(s, AV_LOG_DEBUG, "%"PRId64" %d %d\n", pkt->dts, avi->packet_count[stream_index], stream_index);
|
// av_log(s, AV_LOG_DEBUG, "%"PRId64" %d %d\n", pkt->dts, avist->packet_count, stream_index);
|
||||||
while(enc->block_align==0 && pkt->dts != AV_NOPTS_VALUE && pkt->dts > avist->packet_count){
|
while(enc->block_align==0 && pkt->dts != AV_NOPTS_VALUE && pkt->dts > avist->packet_count){
|
||||||
AVPacket empty_packet;
|
AVPacket empty_packet;
|
||||||
|
|
||||||
|
@ -527,7 +527,7 @@ static int avi_write_packet(AVFormatContext *s, AVPacket *pkt)
|
||||||
empty_packet.data= NULL;
|
empty_packet.data= NULL;
|
||||||
empty_packet.stream_index= stream_index;
|
empty_packet.stream_index= stream_index;
|
||||||
avi_write_packet(s, &empty_packet);
|
avi_write_packet(s, &empty_packet);
|
||||||
// av_log(s, AV_LOG_DEBUG, "dup %"PRId64" %d\n", pkt->dts, avi->packet_count[stream_index]);
|
// av_log(s, AV_LOG_DEBUG, "dup %"PRId64" %d\n", pkt->dts, avist->packet_count);
|
||||||
}
|
}
|
||||||
avist->packet_count++;
|
avist->packet_count++;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue