changeset 1449:64a44155a525 libavformat

now we set codec_tag, still have to figure out how to handle flipping
author reynaldo
date Fri, 03 Nov 2006 20:13:42 +0000
parents e8dc38807927
children 1580c48ba4b9
files mtv.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mtv.c	Fri Nov 03 16:19:14 2006 +0000
+++ b/mtv.c	Fri Nov 03 20:13:42 2006 +0000
@@ -104,6 +104,7 @@
     av_set_pts_info(st, 64, 1, mtv->video_fps);
     st->codec->codec_type      = CODEC_TYPE_VIDEO;
     st->codec->codec_id        = CODEC_ID_RAWVIDEO;
+    st->codec->codec_tag       = MKTAG('R', 'G', 'B', mtv->img_bpp);
     st->codec->width           = mtv->img_width;
     st->codec->height          = mtv->img_height;
     st->codec->bits_per_sample = mtv->img_bpp;