From 510f186efffc1b3bf282b29e7f2a6b3401e41618 Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 24 Jan 2006 23:55:43 +0000 Subject: [PATCH] setting codec_tag unconditionally to FMP4 is a bad idea (breaks mov/mp4) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17480 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/muxer_lavf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libmpdemux/muxer_lavf.c b/libmpdemux/muxer_lavf.c index 88d08d36ee..d95a9ac75c 100644 --- a/libmpdemux/muxer_lavf.c +++ b/libmpdemux/muxer_lavf.c @@ -204,7 +204,9 @@ static void fix_parameters(muxer_stream_t *stream) 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;