Hi Claudio ,
When I tried to get these changes adopted Dennis did think someone had proposed something to do this already but he could not find who.
I like your suggestion so go ahead and make the changes. (It solves a problem we were about to have to fix any way which was a difference between fine speed modification and large grain speed modification.)
Do you have any more scheduled changes for VideoProviders are we use using them extensively now and would be happy to comment on other changes you might be proposing (especially given the suggested 1.0 release/API freeze)
Cheers
Dan Laird
> Date: Fri, 23 Jun 2006 08:37:00 +0200
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> CC: [email protected]; [EMAIL PROTECTED]
> Subject: Re: [directfb-cvs] DirectFB
>
> Denis Oliver Kropp via CVS wrote:
> > CVSROOT: /cvs/directfb
> > Module name: DirectFB
> > Changes by: dok 20060620 14:08:21
> >
> > Modified files:
> > . : README
> > include : directfb.h
> > src/media : idirectfbvideoprovider.c
> >
> > Log message:
> > Trick modes thanks to Daniel Laird <[EMAIL PROTECTED]>!
> >
> >
>
> I had already scheduled another way to implement that feautures:
>
> - IDirectFBVideoProvider::SetSpeed( double multiplier )
> Specify a frame rate multiplier (1.0 normal speed);
>
> - IDirectFBVideoProvider::GetSpeed( double *multiplier )
> Get the current frame rate multiplier;
>
> - IDirectFBVideoProvider::SetPlaybackFlags( DFBVideoProviderPlaybackFlags )
> DFBVideoProviderPlaybackFlags:
> DVPLAY_NORMAL = normal playback,
> DVPLAY_REWIND = reverse playback,
> DVPLAY_LOOPING = restart playback at the end (gapless)
> Specify advanced playback flags.
>
>
> The method suggested by Daniel has some incoveniences:
> - The speed multiplier is costrained by the defined TrickMode speeds
> and the video provider has to check that values one by one.
> - DVTRICKMODE_FF with speed set to DVTRICKMODE_1 is exactly equal to
> DVTRICKMODE_NONE.
> - The prefix DVTRICKMODE_ is used by different enums, this is a bit
> confusing.
> - DVTRICKMODE_FF doesn't specify a real fast forwad, because *fast*
> depends on the speed mode.
> - Forward is the normal direction of the playback.
> - DVSTATE_FF and DVSTATE_RW doesn't specify a new video provider state
> but only the direction of the playback (i.e. the current state should
> be DVSTATE_PLAY).
>
> If it won't cause too much inconveniences, I will apply the previously scheduled
> changes.
>
>
> --
> Regards,
> Claudio Ciccani
>
> [EMAIL PROTECTED]
> http://directfb.org
> http://sf.net/projects/php-directfb
Express yourself instantly with Windows Live Messenger!
_______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
