ALT Linux Bugzilla
– Attachment 380 Details for
Bug 3952
Не хватает поддержки DVB устройств
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Латка, позволяющая видеть индикатор прогресса в VDR.
mplayer-1.0pre2-slavemode.diff (text/plain), 942 bytes, created by
Vyacheslav Dikonov
on 2004-04-10 13:44:32 MSD
(
hide
)
Description:
Латка, позволяющая видеть индикатор прогресса в VDR.
Filename:
MIME Type:
Creator:
Vyacheslav Dikonov
Created:
2004-04-10 13:44:32 MSD
Size:
942 bytes
patch
obsolete
>--- mplayer.c.orig 2003-10-04 03:24:50.000000000 +0200 >+++ mplayer.c 2003-11-01 16:17:37.000000000 +0100 >@@ -3444,6 +3444,25 @@ > loop_seek=0; > } > >+#if 1 >+ if(slave_mode){ >+ float position=0.0; >+ float time=0.0; >+ if(demuxer->file_format==DEMUXER_TYPE_AVI && sh_video->video.dwLength>2) { >+ // get pos from frame number / total frames >+ position=(float)d_video->pack_no*100.0/(float)sh_video->video.dwLength; >+ } >+ else { >+ off_t len = ( demuxer->movi_end - demuxer->movi_start ); >+ off_t pos = ( demuxer->file_format == DEMUXER_TYPE_AUDIO?stream->pos:demuxer->filepos ); >+ if(len>0) position=( pos - demuxer->movi_start ) * 100.0 / len; >+ } >+ if(sh_video) time=d_video->pts; >+ else if(sh_audio) time=sh_audio->delay; >+ mp_msg(MSGT_OSD,MSGL_ERR,"SLAVE: time=%.2f position=%.2f\r",time,position); >+ } >+#endif >+ > #ifdef HAVE_NEW_GUI > if(use_gui){ > guiEventHandling();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 3952
: 380