[MPlayer-dev-eng] [RFC][PATCH] repeat option for mf://

Ivan Kalvachev ikalvachev at gmail.com
Wed Jul 11 17:28:32 CEST 2007


2007/7/11, Vladimir Voroshilov <voroshil at gmail.com>:
> Hi, All
>
> I've made small patch for mf:// demuxer.
> It intends to avoid "Program not responding" message while watching
> pictures with mplayer (with large -mf fps value).
>
> With attached patch mf demuxer will duplicate each picture given
> number of times. This avoids loooong usleep in main loop and increase
> program responsibility.
>
> with "-mf repeat=1" (default) mplayer will work as without this patch
>
> Is this feature interesting for anybody else?
>
> Am i missing something (e.g. in mf.c ) ?

Similar patches have been proposed and denied before.
For one, it is very ineffective to push same encoded picture multiple
times, to be decoded again and again.

And I'm not exactly sure what do you mean by "Program not responding",
is that something Windows specific?

Maybe it would be better if you do increase the respond-ablity in
mplayer.c e.g. by querying input more than once per frame while
waiting in sleep loop or something. It would also help in the low fps
movies case.



More information about the MPlayer-dev-eng mailing list