[MPlayer-cygwin] rmvb/rm in GUI mode

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Oct 29 13:33:50 CET 2006


Hello,
On Sun, Oct 29, 2006 at 08:03:03PM +0800, siweiliu wrote:
> Hi, in GUI mode, rmvb/rm file can't be seek by seekbar.
> I think add these lines in function static void demux_seek_real(demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags) to libmpdemux/demux_real.c will solve this problem:
> if (flags & 2) {
>   rel_seek_secs = rel_seek_secs*(((real_priv_t *)(demuxer->priv))->duration);
> }
> after the code:
>     if (flags & 1)
>  /* seek absolute */
>  priv->current_apacket = priv->current_vpacket = 0;
>  
> how about it?

Fixed (very slightly) different in SVN r20508.

Greetings,
Reimar Döffinger



More information about the MPlayer-cygwin mailing list