mirror of
https://github.com/mpv-player/mpv
synced 2025-01-24 16:43:28 +00:00
Minor improvements
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3254 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
449877858b
commit
8f1b0f7bee
@ -40,7 +40,7 @@ install:
|
||||
depmod -a
|
||||
nodes:
|
||||
mknod /dev/radeon_vid c 178 0
|
||||
mknod /dev/rage128_vid c 178 0
|
||||
ln -s /dev/radeon_vid /dev/rage128_vid
|
||||
# Stuff below is for me only ;)
|
||||
vid:
|
||||
make install
|
||||
|
@ -53,8 +53,19 @@ Example (disables adaptive deinterlacing):
|
||||
echo "deinterlace=off">/dev/radeon_vid
|
||||
|
||||
To know more about these parameters - try read /dev/radeon_vid file ;)
|
||||
Note: don't use 'cat' since it can detect EOF during reading such files.
|
||||
Note: don't use 'cat' since it can't detect EOF during reading such files.
|
||||
(I use midnight commander for that ;)
|
||||
or try this:
|
||||
head -n 20 /dev/radeon_vid
|
||||
|
||||
List of parameters:
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
brightness=decval (-64:+63) doesn't work on radeons
|
||||
saturation=decval (0:+31) doesn't work on radeons
|
||||
double_buff=on/off enables/disables double buffering
|
||||
colour_key=hexval defines colour key
|
||||
deinterlace=on/off enables/disables adaprive deinterlacing
|
||||
deinterlace_pattern=hexval defines deinterlacing pattern
|
||||
|
||||
Note:
|
||||
~~~~~
|
||||
|
@ -797,6 +797,7 @@ static ssize_t radeon_vid_read(struct file *file, char *buf, size_t count, loff_
|
||||
len += sprintf(&buf[len],PARAM_COLOUR_KEY"%X\n",besr.graphics_key_clr);
|
||||
len += sprintf(&buf[len],PARAM_DEINTERLACE"%s\n",besr.deinterlace_on?"on":"off");
|
||||
len += sprintf(&buf[len],PARAM_DEINTERLACE_PATTERN"%X\n",besr.deinterlace_pattern);
|
||||
ppos += len;
|
||||
return len;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user