Commit c5aa4d1d authored by reynaldo's avatar reynaldo

now we set codec_tag, still have to figure out how to handle flipping

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6892 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f62ad1c6
......@@ -104,6 +104,7 @@ static int mtv_read_header(AVFormatContext *s, AVFormatParameters *ap)
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment