realvideo support by Florian Schneider <flo-mplayer-dev@gmx.net>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6344 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-06-08 20:51:50 +00:00
parent 985f17ed48
commit cd356609ae
4 changed files with 17 additions and 0 deletions

View File

@ -229,6 +229,7 @@ static short get_driver(char *s,int audioflag)
"dk3adpcm", "dk3adpcm",
"roqaudio", "roqaudio",
"faad", "faad",
"realaud",
NULL NULL
}; };
static char *videodrv[] = { static char *videodrv[] = {
@ -258,6 +259,7 @@ static short get_driver(char *s,int audioflag)
"huffyuv", "huffyuv",
"zlib", "zlib",
"mpegpes", "mpegpes",
"realvid",
NULL NULL
}; };
char **drv=audioflag?audiodrv:videodrv; char **drv=audioflag?audiodrv:videodrv;

View File

@ -46,6 +46,7 @@
#define AFM_DK3ADPCM 18 #define AFM_DK3ADPCM 18
#define AFM_ROQAUDIO 19 #define AFM_ROQAUDIO 19
#define AFM_AAC 20 #define AFM_AAC 20
#define AFM_REAL 21
#define VFM_MPEG 1 #define VFM_MPEG 1
#define VFM_VFW 2 #define VFM_VFW 2
@ -72,6 +73,7 @@
#define VFM_HUFFYUV 23 #define VFM_HUFFYUV 23
#define VFM_ZLIB 24 #define VFM_ZLIB 24
#define VFM_MPEGPES 25 #define VFM_MPEGPES 25
#define VFM_REAL 26
#ifndef GUID_TYPE #ifndef GUID_TYPE
#define GUID_TYPE #define GUID_TYPE

View File

@ -697,6 +697,15 @@ videocodec 3ivX
out YUY2 out YUY2
out BGR32,BGR24,BGR16,BGR15 out BGR32,BGR24,BGR16,BGR15
; experimental real video decoder using closed source codecs
videocodec rv30
info "RealPlayer 8 RV30 decoder"
status working
fourcc RV30,rv30
driver realvid
dll "drv3.so.6.0"
out I420
; others: ; others:

View File

@ -50,6 +50,7 @@ extern vd_functions_t mpcodecs_vd_libmpeg2;
extern vd_functions_t mpcodecs_vd_huffyuv; extern vd_functions_t mpcodecs_vd_huffyuv;
extern vd_functions_t mpcodecs_vd_zlib; extern vd_functions_t mpcodecs_vd_zlib;
extern vd_functions_t mpcodecs_vd_mpegpes; extern vd_functions_t mpcodecs_vd_mpegpes;
extern vd_functions_t mpcodecs_vd_real;
vd_functions_t* mpcodecs_vd_drivers[] = { vd_functions_t* mpcodecs_vd_drivers[] = {
&mpcodecs_vd_null, &mpcodecs_vd_null,
@ -95,6 +96,9 @@ vd_functions_t* mpcodecs_vd_drivers[] = {
&mpcodecs_vd_zlib, &mpcodecs_vd_zlib,
#endif #endif
&mpcodecs_vd_mpegpes, &mpcodecs_vd_mpegpes,
#ifdef USE_REALCODECS
&mpcodecs_vd_real,
#endif
NULL NULL
}; };