Mercurial > mplayer.hg
comparison mplayer.c @ 7751:27c9c440536f
- dvd aspect changing bug - fixed
- if codec is not found -> sig11 - fixed
- pp autoq handling bug - fixed
- some warning - fixed
author | pontscho |
---|---|
date | Wed, 16 Oct 2002 15:35:28 +0000 |
parents | 48bf03297d48 |
children | 9806d65986e4 |
comparison
equal
deleted
inserted
replaced
7750:3a2b4bf47dbc | 7751:27c9c440536f |
---|---|
2530 } | 2530 } |
2531 | 2531 |
2532 #ifdef HAVE_NEW_GUI | 2532 #ifdef HAVE_NEW_GUI |
2533 if(use_gui){ | 2533 if(use_gui){ |
2534 guiEventHandling(); | 2534 guiEventHandling(); |
2535 if(demuxer->file_format==DEMUXER_TYPE_AVI && sh_video->video.dwLength>2){ | 2535 if(demuxer->file_format==DEMUXER_TYPE_AVI && sh_video && sh_video->video.dwLength>2){ |
2536 // get pos from frame number / total frames | 2536 // get pos from frame number / total frames |
2537 guiIntfStruct.Position=(float)d_video->pack_no*100.0f/sh_video->video.dwLength; | 2537 guiIntfStruct.Position=(float)d_video->pack_no*100.0f/sh_video->video.dwLength; |
2538 } else { | 2538 } else { |
2539 off_t len = ( demuxer->movi_end - demuxer->movi_start ); | 2539 off_t len = ( demuxer->movi_end - demuxer->movi_start ); |
2540 off_t pos = ( demuxer->file_format == DEMUXER_TYPE_AUDIO?stream->pos:demuxer->filepos ); | 2540 off_t pos = ( demuxer->file_format == DEMUXER_TYPE_AUDIO?stream->pos:demuxer->filepos ); |