changeset 6343:d253cf4f43a9

realvideo support by Florian Schneider <flo-mplayer-dev@gmx.net>
author arpi
date Sat, 08 Jun 2002 20:51:50 +0000
parents 40027495a6ed
children ecb9d82d1b64
files codec-cfg.c codec-cfg.h etc/codecs.conf libmpcodecs/vd.c
diffstat 4 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/codec-cfg.c	Sat Jun 08 20:50:40 2002 +0000
+++ b/codec-cfg.c	Sat Jun 08 20:51:50 2002 +0000
@@ -229,6 +229,7 @@
 		"dk3adpcm",
 		"roqaudio",
 		"faad",
+		"realaud",
 		NULL
 	};
 	static char *videodrv[] = {
@@ -258,6 +259,7 @@
 		"huffyuv",
 		"zlib",
 		"mpegpes",
+		"realvid",
 		NULL
 	};
         char **drv=audioflag?audiodrv:videodrv;
--- a/codec-cfg.h	Sat Jun 08 20:50:40 2002 +0000
+++ b/codec-cfg.h	Sat Jun 08 20:51:50 2002 +0000
@@ -46,6 +46,7 @@
 #define AFM_DK3ADPCM 18
 #define AFM_ROQAUDIO 19
 #define AFM_AAC 20
+#define AFM_REAL 21
 
 #define VFM_MPEG 1
 #define VFM_VFW 2
@@ -72,6 +73,7 @@
 #define VFM_HUFFYUV 23
 #define VFM_ZLIB 24
 #define VFM_MPEGPES 25
+#define VFM_REAL 26
 
 #ifndef GUID_TYPE
 #define GUID_TYPE
--- a/etc/codecs.conf	Sat Jun 08 20:50:40 2002 +0000
+++ b/etc/codecs.conf	Sat Jun 08 20:51:50 2002 +0000
@@ -697,6 +697,15 @@
   out YUY2
   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:
 
--- a/libmpcodecs/vd.c	Sat Jun 08 20:50:40 2002 +0000
+++ b/libmpcodecs/vd.c	Sat Jun 08 20:51:50 2002 +0000
@@ -50,6 +50,7 @@
 extern vd_functions_t mpcodecs_vd_huffyuv;
 extern vd_functions_t mpcodecs_vd_zlib;
 extern vd_functions_t mpcodecs_vd_mpegpes;
+extern vd_functions_t mpcodecs_vd_real;
 
 vd_functions_t* mpcodecs_vd_drivers[] = {
         &mpcodecs_vd_null,
@@ -95,6 +96,9 @@
         &mpcodecs_vd_zlib,
 #endif
         &mpcodecs_vd_mpegpes,
+#ifdef USE_REALCODECS
+	&mpcodecs_vd_real,
+#endif
 	NULL
 };