# HG changeset patch # User reynaldo # Date 1162584822 0 # Node ID 64a44155a525c5c90f0543a4130fae3f0c7f6cb0 # Parent e8dc38807927bb25425b4a17e2eb64dff8aa93c6 now we set codec_tag, still have to figure out how to handle flipping diff -r e8dc38807927 -r 64a44155a525 mtv.c --- 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;