mirror of https://github.com/mpv-player/mpv
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:
parent
985f17ed48
commit
cd356609ae
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue