summaryrefslogtreecommitdiff
path: root/src/libxinevdec/roqvideo.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/roqvideo.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/roqvideo.c')
-rw-r--r--src/libxinevdec/roqvideo.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libxinevdec/roqvideo.c b/src/libxinevdec/roqvideo.c
index c5359451d..bc5245ae2 100644
--- a/src/libxinevdec/roqvideo.c
+++ b/src/libxinevdec/roqvideo.c
@@ -18,7 +18,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: roqvideo.c,v 1.12 2002/10/23 02:55:01 tmmm Exp $
+ * $Id: roqvideo.c,v 1.13 2002/11/11 05:55:52 tmmm Exp $
*/
/* And this is the header that came with the RoQ video decoder: */
@@ -423,6 +423,10 @@ static void roqvideo_decode_data (video_decoder_t *this_gen,
memset(this->v[0], 0x80, this->c_size);
memset(this->v[1], 0x80, this->c_size);
+ /* load the stream/meta info */
+ this->stream->meta_info[XINE_META_INFO_VIDEOCODEC] = strdup("RoQ VQ Video");
+ this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1;
+
return;
}