diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2003-01-01 20:39:19 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2003-01-01 20:39:19 +0000 |
commit | 73baf5e122d22c67def6754ea37b8da50f571b1b (patch) | |
tree | 1238adb5dc0da38f4eff48ffb1507ff6ab07fbd5 /src/libreal/xine_decoder.c | |
parent | d93626d8fc6996d79627e18626ff5dece7dab9bf (diff) | |
download | xine-lib-73baf5e122d22c67def6754ea37b8da50f571b1b.tar.gz xine-lib-73baf5e122d22c67def6754ea37b8da50f571b1b.tar.bz2 |
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
Diffstat (limited to 'src/libreal/xine_decoder.c')
-rw-r--r-- | src/libreal/xine_decoder.c | 13 |
1 files changed, 11 insertions, 2 deletions
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 */ |