[Mplayer-cvslog] CVS: main demux_avi.c,1.28,1.29
Arpi of Ize
arpi at mplayer.dev.hu
Thu Sep 27 22:36:33 CEST 2001
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv26658
Modified Files:
demux_avi.c
Log Message:
disabled packet limit
Index: demux_avi.c
===================================================================
RCS file: /cvsroot/mplayer/main/demux_avi.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- demux_avi.c 26 Sep 2001 21:35:14 -0000 1.28
+++ demux_avi.c 27 Sep 2001 20:36:19 -0000 1.29
@@ -51,7 +51,7 @@
}
if(id!=mmioFOURCC('J','U','N','K')){
// unknown
- mp_dbg(MSGT_DEMUX,MSGL_DBG2,"Unknown chunk: %.4s (%X)\n",(char *) &id,id);
+ mp_msg(MSGT_DEMUX,MSGL_DBG2,"Unknown chunk: %.4s (%X)\n",(char *) &id,id);
}
return NULL;
}
@@ -219,12 +219,12 @@
}
}
ret=demux_avi_read_packet(demux,id,len,priv->idx_pos-1,flags);
- if(!ret && priv->skip_video_frames<=0)
- if(--max_packs==0){
- demux->stream->eof=1;
- mp_msg(MSGT_DEMUX,MSGL_ERR,MSGTR_DoesntContainSelectedStream);
- return 0;
- }
+// if(!ret && priv->skip_video_frames<=0)
+// if(--max_packs==0){
+// demux->stream->eof=1;
+// mp_msg(MSGT_DEMUX,MSGL_ERR,MSGTR_DoesntContainSelectedStream);
+// return 0;
+// }
} while(ret!=1);
return 1;
}
@@ -296,12 +296,12 @@
if(idx->dwFlags&AVIIF_KEYFRAME) flags=1;
} else return 0;
ret=demux_avi_read_packet(demux,id,len,idx_pos,flags);
- if(!ret && priv->skip_video_frames<=0)
- if(--max_packs==0){
- demux->stream->eof=1;
- mp_msg(MSGT_DEMUX,MSGL_ERR,MSGTR_DoesntContainSelectedStream);
- return 0;
- }
+// if(!ret && priv->skip_video_frames<=0)
+// if(--max_packs==0){
+// demux->stream->eof=1;
+// mp_msg(MSGT_DEMUX,MSGL_ERR,MSGTR_DoesntContainSelectedStream);
+// return 0;
+// }
} while(ret!=1);
return 1;
}
More information about the MPlayer-cvslog
mailing list