changeset 17479:92a9690cc3e2

setting codec_tag unconditionally to FMP4 is a bad idea (breaks mov/mp4)
author michael
date Tue, 24 Jan 2006 23:55:43 +0000
parents 7d60fe925f87
children 3993a5fad89a
files libmpdemux/muxer_lavf.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/muxer_lavf.c	Tue Jan 24 23:50:41 2006 +0000
+++ b/libmpdemux/muxer_lavf.c	Tue Jan 24 23:55:43 2006 +0000
@@ -204,7 +204,9 @@
 	else if(stream->type == MUXER_TYPE_VIDEO)
 	{
 		ctx->codec_id = codec_get_bmp_id(stream->bih->biCompression);
+#if 0 //breaks mov/mp4
                 ctx->codec_tag= stream->bih->biCompression;
+#endif
 		mp_msg(MSGT_MUXER, MSGL_INFO, "VIDEO CODEC ID: %d\n", ctx->codec_id);
 		ctx->width = stream->bih->biWidth;
 		ctx->height = stream->bih->biHeight;