dont output information about what is demuxed after a seek failure

Originally committed as revision 7843 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 18 years ago
parent ded3c7da61
commit b929eb5041
  1. 3
      tests/seek_test.c

@ -65,7 +65,7 @@ int main(int argc, char **argv)
AVStream *st; AVStream *st;
memset(&pkt, 0, sizeof(pkt)); memset(&pkt, 0, sizeof(pkt));
if(ret>=0){
ret= av_read_frame(ic, &pkt); ret= av_read_frame(ic, &pkt);
printf("ret:%2d", ret); printf("ret:%2d", ret);
if(ret>=0){ if(ret>=0){
@ -73,6 +73,7 @@ int main(int argc, char **argv)
printf(" st:%2d dts:%f pts:%f pos:%Ld size:%d flags:%d", pkt.stream_index, pkt.dts*av_q2d(st->time_base), pkt.pts*av_q2d(st->time_base), pkt.pos, pkt.size, pkt.flags); printf(" st:%2d dts:%f pts:%f pos:%Ld size:%d flags:%d", pkt.stream_index, pkt.dts*av_q2d(st->time_base), pkt.pts*av_q2d(st->time_base), pkt.pos, pkt.size, pkt.flags);
} }
printf("\n"); printf("\n");
}
if(i>25) break; if(i>25) break;

Loading…
Cancel
Save