mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 00:07:33 +00:00
remove useless vidix versioning stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27009 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4e08014790
commit
6212ebbcae
@ -639,11 +639,6 @@ int vidix_preinit(const char *drvname,vo_functions_t *server)
|
||||
int err;
|
||||
if( mp_msg_test(MSGT_VO,MSGL_DBG2) ) {
|
||||
mp_msg(MSGT_VO,MSGL_DBG2, "vosub_vidix: vidix_preinit(%s) was called\n",drvname); }
|
||||
if(vdlGetVersion() != VIDIX_VERSION)
|
||||
{
|
||||
mp_msg(MSGT_VO,MSGL_ERR, MSGTR_LIBVO_SUB_VIDIX_YouHaveWrongVersionOfVidixLibrary);
|
||||
return -1;
|
||||
}
|
||||
|
||||
vidix_handler = vdlOpen(drvname ? drvname[0] == ':' ? &drvname[1] : drvname[0] ? drvname : NULL : NULL,
|
||||
TYPE_OUTPUT,
|
||||
|
@ -476,7 +476,6 @@ static int mach64_init(void)
|
||||
printf("[mach64] Driver was not probed but is being initializing\n");
|
||||
return EINTR;
|
||||
}
|
||||
if(verbosity > 0) printf("[mach64] version %d\n", VIDIX_VERSION);
|
||||
|
||||
if((mach64_mmio_base = map_phys_mem(pci_info.base2,0x1000))==(void *)-1) return ENOMEM;
|
||||
mach64_wait_for_idle();
|
||||
|
@ -1297,8 +1297,6 @@ static int radeon_init(void)
|
||||
{
|
||||
int err;
|
||||
|
||||
if(verbosity > 0) printf("[radeon_vid] version %d\n", VIDIX_VERSION);
|
||||
|
||||
if(!probed)
|
||||
{
|
||||
printf(RADEON_MSG" Driver was not probed but is being initializing\n");
|
||||
|
@ -40,8 +40,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define VIDIX_VERSION 100
|
||||
|
||||
#define PROBE_NORMAL 0 /* normal probing */
|
||||
#define PROBE_FORCE 1 /* ignore device_id but recognize device if it's known */
|
||||
|
||||
|
@ -44,11 +44,6 @@
|
||||
#include "libavutil/common.h"
|
||||
#include "mpbswap.h"
|
||||
|
||||
extern unsigned int vdlGetVersion( void )
|
||||
{
|
||||
return VIDIX_VERSION;
|
||||
}
|
||||
|
||||
VDL_HANDLE vdlOpen(const char *name,unsigned cap,int verbose)
|
||||
{
|
||||
VDXContext *ctx;
|
||||
|
@ -74,9 +74,6 @@ typedef struct VDXContext {
|
||||
|
||||
typedef VDXContext * VDL_HANDLE;
|
||||
|
||||
/* returns library version */
|
||||
unsigned vdlGetVersion( void );
|
||||
|
||||
/* Opens corresponded video driver and returns handle
|
||||
of associated stream.
|
||||
path - specifies path where drivers are located.
|
||||
|
Loading…
Reference in New Issue
Block a user