Mercurial > mplayer.hg
comparison libmpdemux/aviheader.c @ 13700:23c6d54ce38e
Index-Recovery cosmetix
author | atmos4 |
---|---|
date | Wed, 20 Oct 2004 02:13:33 +0000 |
parents | e12b3834decf |
children | 25142a687b00 |
comparison
equal
deleted
inserted
replaced
13699:11b249ef87b0 | 13700:23c6d54ce38e |
---|---|
281 idxfix_videostream=stream_id; | 281 idxfix_videostream=stream_id; |
282 switch(sh_video->bih->biCompression){ | 282 switch(sh_video->bih->biCompression){ |
283 case mmioFOURCC('M', 'P', 'G', '4'): | 283 case mmioFOURCC('M', 'P', 'G', '4'): |
284 case mmioFOURCC('m', 'p', 'g', '4'): | 284 case mmioFOURCC('m', 'p', 'g', '4'): |
285 case mmioFOURCC('D', 'I', 'V', '1'): | 285 case mmioFOURCC('D', 'I', 'V', '1'): |
286 idxfix_divx=3; // we can fix keyframes only for divx coded files! | 286 idxfix_divx=3; // set index recovery mpeg4 flavour: msmpeg4v1 |
287 mp_msg(MSGT_HEADER,MSGL_V,"Regenerating keyframe table for M$ mpg4v1 video\n"); | 287 mp_msg(MSGT_HEADER,MSGL_V,"Regenerating keyframe table for M$ mpg4v1 video\n"); |
288 break; | 288 break; |
289 case mmioFOURCC('D', 'I', 'V', '3'): | 289 case mmioFOURCC('D', 'I', 'V', '3'): |
290 case mmioFOURCC('d', 'i', 'v', '3'): | 290 case mmioFOURCC('d', 'i', 'v', '3'): |
291 case mmioFOURCC('D', 'I', 'V', '4'): | 291 case mmioFOURCC('D', 'I', 'V', '4'): |
298 case mmioFOURCC('m', 'p', '4', '3'): | 298 case mmioFOURCC('m', 'p', '4', '3'): |
299 case mmioFOURCC('M', 'P', '4', '2'): | 299 case mmioFOURCC('M', 'P', '4', '2'): |
300 case mmioFOURCC('m', 'p', '4', '2'): | 300 case mmioFOURCC('m', 'p', '4', '2'): |
301 case mmioFOURCC('D', 'I', 'V', '2'): | 301 case mmioFOURCC('D', 'I', 'V', '2'): |
302 case mmioFOURCC('A', 'P', '4', '1'): | 302 case mmioFOURCC('A', 'P', '4', '1'): |
303 idxfix_divx=1; // we can fix keyframes only for divx coded files! | 303 idxfix_divx=1; // set index recovery mpeg4 flavour: msmpeg4v3 |
304 mp_msg(MSGT_HEADER,MSGL_V,"Regenerating keyframe table for DIVX 3 video\n"); | 304 mp_msg(MSGT_HEADER,MSGL_V,"Regenerating keyframe table for DIVX3 video\n"); |
305 break; | 305 break; |
306 case mmioFOURCC('D', 'I', 'V', 'X'): | 306 case mmioFOURCC('D', 'I', 'V', 'X'): |
307 case mmioFOURCC('d', 'i', 'v', 'x'): | 307 case mmioFOURCC('d', 'i', 'v', 'x'): |
308 case mmioFOURCC('D', 'X', '5', '0'): | 308 case mmioFOURCC('D', 'X', '5', '0'): |
309 case mmioFOURCC('X', 'V', 'I', 'D'): | 309 case mmioFOURCC('X', 'V', 'I', 'D'): |
310 case mmioFOURCC('x', 'v', 'i', 'd'): | 310 case mmioFOURCC('x', 'v', 'i', 'd'): |
311 idxfix_divx=2; // we can fix keyframes only for divx coded files! | 311 idxfix_divx=2; // set index recovery mpeg4 flavour: generic mpeg4 |
312 mp_msg(MSGT_HEADER,MSGL_V,"Regenerating keyframe table for DIVX 4 video\n"); | 312 mp_msg(MSGT_HEADER,MSGL_V,"Regenerating keyframe table for MPEG4 video\n"); |
313 break; | 313 break; |
314 } | 314 } |
315 } else | 315 } else |
316 if(last_fccType==streamtypeAUDIO){ | 316 if(last_fccType==streamtypeAUDIO){ |
317 unsigned wf_size = chunksize<sizeof(WAVEFORMATEX)?sizeof(WAVEFORMATEX):chunksize; | 317 unsigned wf_size = chunksize<sizeof(WAVEFORMATEX)?sizeof(WAVEFORMATEX):chunksize; |