Mercurial > mplayer.hg
view mplayer.rc @ 10743:3d1eab0d9c5a
* Add multi device support.
For the moment up to 16 cards are supported.
More can be added easily by changing 2 defines.
This makes 90% of the patch (mostly stupid s/$var/card->$var/)
The different devices can be accessed by different minor
numbers (0-15):
mknod /dev/mga_vid0 c 178 0
mknod /dev/mga_vid1 c 178 1
mknod /dev/mga_vid2 c 178 2
mknod /dev/mga_vid3 c 178 3
...
ln -s mga_vid /dev/mga_vid
* Change the devfs code to let the kernel assign us
a major and a minor number (what is the sense behind
using devfs anyways if we dont do that ?)
Subdevices for the different cards are created.
mga_vid uses the first card (for compatibility)
* Fix a possible error when mmap() is called before
the card is configured by a ioctl().
author | attila |
---|---|
date | Sun, 31 Aug 2003 20:57:34 +0000 |
parents | 08608b5bb39a |
children | 71cf4cc1a454 |
line wrap: on
line source
/*Windows resource file for MPlayer compile with windres -o resfile.o mplayer.rc and add resfile.o to OBJS_MPLAYER in Makefile*/ #include <winver.h> #include "version.h" 1 VERSIONINFO FILEVERSION 0,0,9,0 PRODUCTVERSION 0,0,9,0 FILEOS VOS__WINDOWS32 FILETYPE VFT_APP { BLOCK "StringFileInfo" { BLOCK "000004b0" // LANG_NEUTRAL,UNICODE_CP { VALUE "Comments","MPlayer is distributed under the terms of the GNU General Public License Version 2. Sourcecode is available at http://www.mplayerhq.hu\000" VALUE "CompanyName", "\000" VALUE "FileDescription", "MPlayer - Movie Player for Linux\000" VALUE "FileVersion",VERSION VALUE "InternalName", "Counter Counter\000" VALUE "LegalCopyright", " (C) 2000-2003 Arpad Gereoffy (see DOCS)\000" //VALUE "LegalTrademarks"," \000"; VALUE "OriginalFilename", "mplayer.exe\000" VALUE "ProductName", "MPlayer - Movie Player for Linux\000" VALUE "ProductVersion",VERSION //VALUE "SpecialBuild","\000" } } BLOCK "VarFileInfo" { VALUE "Translation",0,0x04b0 } } IDI_ICON1 ICON DISCARDABLE "etc/mplayer.ico"