diff libmpdemux/muxer_lavf.c @ 16200:bb505841be0a

video fourcc fix
author michael
date Thu, 11 Aug 2005 20:54:09 +0000
parents b939c687986f
children 0a31740dd5e6
line wrap: on
line diff
--- a/libmpdemux/muxer_lavf.c	Thu Aug 11 17:23:45 2005 +0000
+++ b/libmpdemux/muxer_lavf.c	Thu Aug 11 20:54:09 2005 +0000
@@ -196,6 +196,7 @@
 	else if(stream->type == MUXER_TYPE_VIDEO)
 	{
 		ctx->codec_id = codec_get_bmp_id(stream->bih->biCompression);
+                ctx->codec_tag= stream->bih->biCompression;
 		mp_msg(MSGT_MUXER, MSGL_INFO, "VIDEO CODEC ID: %d\n", ctx->codec_id);
 		ctx->width = stream->bih->biWidth;
 		ctx->height = stream->bih->biHeight;