mirror of https://github.com/mpv-player/mpv
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:
parent
1cba4675fa
commit
510f186eff
|
@ -204,7 +204,9 @@ static void fix_parameters(muxer_stream_t *stream)
|
||||||
else if(stream->type == MUXER_TYPE_VIDEO)
|
else if(stream->type == MUXER_TYPE_VIDEO)
|
||||||
{
|
{
|
||||||
ctx->codec_id = codec_get_bmp_id(stream->bih->biCompression);
|
ctx->codec_id = codec_get_bmp_id(stream->bih->biCompression);
|
||||||
|
#if 0 //breaks mov/mp4
|
||||||
ctx->codec_tag= stream->bih->biCompression;
|
ctx->codec_tag= stream->bih->biCompression;
|
||||||
|
#endif
|
||||||
mp_msg(MSGT_MUXER, MSGL_INFO, "VIDEO CODEC ID: %d\n", ctx->codec_id);
|
mp_msg(MSGT_MUXER, MSGL_INFO, "VIDEO CODEC ID: %d\n", ctx->codec_id);
|
||||||
ctx->width = stream->bih->biWidth;
|
ctx->width = stream->bih->biWidth;
|
||||||
ctx->height = stream->bih->biHeight;
|
ctx->height = stream->bih->biHeight;
|
||||||
|
|
Loading…
Reference in New Issue