[MPlayer-dev-eng] [PATCH] Add "-dvd-speed", use SET_STREAMING command to quieten DVD drives
Nico Sabbi
nicola_sabbi at fastwebnet.it
Sat Dec 16 23:40:47 CET 2006
Tobias Diedrich wrote:
> Hi all,
>
> This patch introduces the "-dvd-speed" option, which specifies DVD
> speed in KB/s.
> stream/stream_dvd.c is changed to issue the SET_STREAMING command (Linux only).
> Due to command filtering this will only work if the user has write
> access to the cdrom device.
>
> Cheers,
>
>
>
> ------------------------------------------------------------------------
>
> Index: stream/stream_dvd.c
> @@ -34,7 +40,71 @@
> extern int dvd_last_chapter;
> extern char* dvd_device;
> int dvd_angle=1;
> +int dvd_speed=0; /* 0 => don't touch speed */
>
> +static void dvd_set_streaming(char *device, unsigned speed)
> +{
I have no objection, except for the name of the function that I don't
like: dvd_set_speed() conveys a better description
--
"Without a frontend, mplayer is useless" - someone in mplayer-users
More information about the MPlayer-dev-eng
mailing list