# HG changeset patch # User michael # Date 1138146943 0 # Node ID 92a9690cc3e21feaeb7c8a749c758f4068c66cea # Parent 7d60fe925f87bf82ee01c6c29ac4385851ce535c setting codec_tag unconditionally to FMP4 is a bad idea (breaks mov/mp4) diff -r 7d60fe925f87 -r 92a9690cc3e2 libmpdemux/muxer_lavf.c --- 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;