Mercurial > mplayer.hg
changeset 9896:acf96aea152c
Vanguard codecs support, patch by Andreas Hess <jaska (at) gmx (dot) net>
author | rtognimp |
---|---|
date | Wed, 09 Apr 2003 21:28:01 +0000 |
parents | fd2dbce1ba3b |
children | 74c60b95660d |
files | etc/codecs.conf loader/win32.c |
diffstat | 2 files changed, 38 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/codecs.conf Wed Apr 09 20:49:12 2003 +0000 +++ b/etc/codecs.conf Wed Apr 09 21:28:01 2003 +0000 @@ -1142,6 +1142,32 @@ dll "QuickTime.qts" out YVU9 +; VSS codecs (http://vsofts.com/solutions.html): + +videocodec vsslight + info "VSS Codec Light" + status working + fourcc VSSV + driver vfw + dll "vsslight.dll" + out BGR24 flip + +videocodec vssh264 + info "VSS H.264" + status buggy + fourcc VSSH + driver vfw + dll "vssh264.dll" + out BGR24 flip + +videocodec vsswlt + info "VSS Wavelet Video Codec" + status working + fourcc VSSW + driver vfw + dll "vsswlt.dll" + out BGR24 flip + ; buggy codecs: (any volunteers for native rewrite?) videocodec zlib
--- a/loader/win32.c Wed Apr 09 20:49:12 2003 +0000 +++ b/loader/win32.c Wed Apr 09 21:28:01 2003 +0000 @@ -1871,6 +1871,17 @@ } /* + * dummy function RegQueryInfoKeyA(), required by vss codecs + */ +static DWORD WINAPI expRegQueryInfoKeyA( HKEY hkey, LPSTR class, LPDWORD class_len, LPDWORD reserved, + LPDWORD subkeys, LPDWORD max_subkey, LPDWORD max_class, + LPDWORD values, LPDWORD max_value, LPDWORD max_data, + LPDWORD security, FILETIME *modif ) +{ + return; +} + +/* * return CPU clock (in kHz), using linux's /proc filesystem (/proc/cpuinfo) */ static double linux_cpuinfo_freq() @@ -4869,6 +4880,7 @@ FF(RegOpenKeyExA, -1) FF(RegQueryValueExA, -1) FF(RegSetValueExA, -1) + FF(RegQueryInfoKeyA, -1) }; struct exports exp_gdi32[]={ FF(CreateCompatibleDC, -1)