diff options
Diffstat (limited to 'src/libxinevdec/msvc.c')
-rw-r--r-- | src/libxinevdec/msvc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libxinevdec/msvc.c b/src/libxinevdec/msvc.c index 3e1fcd60a..47de2eb00 100644 --- a/src/libxinevdec/msvc.c +++ b/src/libxinevdec/msvc.c @@ -22,7 +22,7 @@ * based on overview of Microsoft Video-1 algorithm * by Mike Melanson: http://www.pcisys.net/~melanson/codecs/video1.txt * - * $Id: msvc.c,v 1.13 2002/10/20 18:07:23 tmmm Exp $ + * $Id: msvc.c,v 1.14 2002/11/11 05:55:51 tmmm Exp $ */ #include <stdlib.h> @@ -243,6 +243,10 @@ static void msvc_decode_data (video_decoder_t *this_gen, buf_element_t *buf) { 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("Microsoft Video-1"); + this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1; + } else if (this->decoder_ok) { if (this->size + buf->size > this->bufsize) { |