From 73baf5e122d22c67def6754ea37b8da50f571b1b Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Wed, 1 Jan 2003 20:39:19 +0000 Subject: real video v40 support by chris rankin, added missing copyright notices/credits for mplayer CVS patchset: 3746 CVS date: 2003/01/01 20:39:19 --- src/libreal/xine_decoder.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/libreal/xine_decoder.c') diff --git a/src/libreal/xine_decoder.c b/src/libreal/xine_decoder.c index cc23c18a1..a4c80097c 100644 --- a/src/libreal/xine_decoder.c +++ b/src/libreal/xine_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.23 2002/12/23 13:41:16 holstsn Exp $ + * $Id: xine_decoder.c,v 1.24 2003/01/01 20:39:20 guenter Exp $ * * thin layer to use real binary-only codecs in xine * @@ -192,6 +192,12 @@ static int init_codec (realdec_decoder_t *this, buf_element_t *buf) { this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup ("RV 30"); break; + case BUF_VIDEO_RV40: + if (!load_syms_linux(this, "drv4.so.6.0")) + return 0; + this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] + = strdup("RV 40"); + break; default: printf ("libreal: error, i don't handle buf type 0x%08x\n", buf->type); @@ -593,7 +599,10 @@ static void *init_class (xine_t *xine, void *data) { * exported plugin catalog entry */ -static uint32_t supported_types[] = { BUF_VIDEO_RV20, BUF_VIDEO_RV30, 0 }; +static uint32_t supported_types[] = { BUF_VIDEO_RV20, + BUF_VIDEO_RV30, + BUF_VIDEO_RV40, + 0 }; static decoder_info_t dec_info_real = { supported_types, /* supported types */ -- cgit v1.2.3