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/svq1.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/libxinevdec/svq1.c') diff --git a/src/libxinevdec/svq1.c b/src/libxinevdec/svq1.c index 6904f7ce7..4ea3eeaa7 100644 --- a/src/libxinevdec/svq1.c +++ b/src/libxinevdec/svq1.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: svq1.c,v 1.11 2002/10/22 05:14:34 tmmm Exp $ + * $Id: svq1.c,v 1.12 2002/11/11 05:55:52 tmmm Exp $ */ #include @@ -1390,6 +1390,10 @@ static void svq1dec_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("Sorenson Video 1"); + this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1; + } else if (this->decoder_ok) { if (this->size + buf->size > this->bufsize) { -- cgit v1.2.3