comparison libmpdemux/video.c @ 9129:6ecc0b5c08cb

libgif/libungif based demuxer support for libmpdemux. patch by Joey Parrish <joey@nicewarrior.org>
author arpi
date Tue, 28 Jan 2003 00:12:23 +0000
parents 0d2b25a821c9
children e9707479087c
comparison
equal deleted inserted replaced
9128:c947458ad326 9129:6ecc0b5c08cb
410 } else { 410 } else {
411 mp_msg(MSGT_CPLAYER,MSGL_WARN,"\nInvalid frame duration value (%5.3f/%5.3f => %5.3f). Defaulting to %5.3f sec.\n",d_video->pts,next_pts,d,frame_time); 411 mp_msg(MSGT_CPLAYER,MSGL_WARN,"\nInvalid frame duration value (%5.3f/%5.3f => %5.3f). Defaulting to %5.3f sec.\n",d_video->pts,next_pts,d,frame_time);
412 // frame_time = 1/25.0; 412 // frame_time = 1/25.0;
413 } 413 }
414 } 414 }
415 case DEMUXER_TYPE_GIF:
416 frame_time=d_video->pts-pts1;
417 break;
415 } 418 }
416 419
417 if(demuxer->file_format==DEMUXER_TYPE_MPEG_PS || 420 if(demuxer->file_format==DEMUXER_TYPE_MPEG_PS ||
418 demuxer->file_format==DEMUXER_TYPE_MPEG_ES){ 421 demuxer->file_format==DEMUXER_TYPE_MPEG_ES){
419 422