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
This commit is contained in:
michael 2006-01-24 23:55:43 +00:00
parent 1cba4675fa
commit 510f186eff
1 changed files with 2 additions and 0 deletions

View File

@ -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;