1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 15:52:25 +00:00

video fourcc fix

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16201 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
michael 2005-08-11 20:54:09 +00:00
parent bfae13d1db
commit 0589ba3055

View File

@ -196,6 +196,7 @@ 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);
ctx->codec_tag= stream->bih->biCompression;
mp_msg(MSGT_MUXER, MSGL_INFO, "VIDEO CODEC ID: %d\n", ctx->codec_id);
ctx->width = stream->bih->biWidth;
ctx->height = stream->bih->biHeight;