From e38a8cca2c6be40954a44f167f7cc9fac0813ede Mon Sep 17 00:00:00 2001 From: Mike Melanson Date: Mon, 11 Nov 2002 05:55:51 +0000 Subject: native video decoders now report themselves in the stream/meta info fields CVS patchset: 3233 CVS date: 2002/11/11 05:55:51 --- src/libxinevdec/qtrle.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/libxinevdec/qtrle.c') diff --git a/src/libxinevdec/qtrle.c b/src/libxinevdec/qtrle.c index df2e9970c..4130b7184 100644 --- a/src/libxinevdec/qtrle.c +++ b/src/libxinevdec/qtrle.c @@ -21,7 +21,7 @@ * For more information on the QT RLE format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: qtrle.c,v 1.4 2002/10/22 05:40:01 tmmm Exp $ + * $Id: qtrle.c,v 1.5 2002/11/11 05:55:51 tmmm Exp $ */ #include @@ -727,6 +727,10 @@ static void qtrle_decode_data (video_decoder_t *this_gen, this->stream->video_out->open (this->stream->video_out); this->decoder_ok = 1; + /* load the stream/meta info */ + this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Quicktime Animation (RLE)"); + this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1; + return; } else if (this->decoder_ok) { -- cgit v1.2.3