[Ffmpeg-cvslog] r6892 - trunk/libavformat/mtv.c

Reimar Döffinger Reimar.Doeffinger
Sat Nov 4 12:31:41 CET 2006


Hello,
On Fri, Nov 03, 2006 at 09:13:43PM +0100, reynaldo wrote:
> Author: reynaldo
> Date: Fri Nov  3 21:13:42 2006
> New Revision: 6892
> 
> Modified:
>    trunk/libavformat/mtv.c
> 
> Log:
> now we set codec_tag, still have to figure out how to handle flipping
> 
> Modified: trunk/libavformat/mtv.c
> ==============================================================================
> --- trunk/libavformat/mtv.c	(original)
> +++ trunk/libavformat/mtv.c	Fri Nov  3 21:13:42 2006
> @@ -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);

My idea for MPlayer was using  MKTAG(mtv->img_bpp, 'B', 'G', 'R');
for flipped, but not sure it is a good idea.

Greetings,
Reimar D?ffinger




More information about the ffmpeg-cvslog mailing list