summaryrefslogtreecommitdiff
path: root/src/libxinevdec/cinepak.c
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2002-11-11 05:55:51 +0000
committerMike Melanson <mike@multimedia.cx>2002-11-11 05:55:51 +0000
commite38a8cca2c6be40954a44f167f7cc9fac0813ede (patch)
treee0304b50e2beadc26045b99a80704e4b8a189b05 /src/libxinevdec/cinepak.c
parentc0d7f4ceec083640fa102a31782c05f4064735ae (diff)
downloadxine-lib-e38a8cca2c6be40954a44f167f7cc9fac0813ede.tar.gz
xine-lib-e38a8cca2c6be40954a44f167f7cc9fac0813ede.tar.bz2
native video decoders now report themselves in the stream/meta info
fields CVS patchset: 3233 CVS date: 2002/11/11 05:55:51
Diffstat (limited to 'src/libxinevdec/cinepak.c')
-rw-r--r--src/libxinevdec/cinepak.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libxinevdec/cinepak.c b/src/libxinevdec/cinepak.c
index ee7836049..5ba91eb1d 100644
--- a/src/libxinevdec/cinepak.c
+++ b/src/libxinevdec/cinepak.c
@@ -22,7 +22,7 @@
* based on overview of Cinepak algorithm and example decoder
* by Tim Ferguson: http://www.csse.monash.edu.au/~timf/
*
- * $Id: cinepak.c,v 1.18 2002/11/04 00:33:32 tmmm Exp $
+ * $Id: cinepak.c,v 1.19 2002/11/11 05:55:51 tmmm Exp $
*/
#include <stdlib.h>
@@ -372,6 +372,10 @@ static void cvid_decode_data (video_decoder_t *this_gen, buf_element_t *buf) {
this->stream->video_out->open (this->stream->video_out);
this->decoder_ok = 1;
+ /* stream/meta info */
+ this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("Cinepak");
+ this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1;
+
} else if (this->decoder_ok) {
if (this->size + buf->size > this->bufsize) {