summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-08-11 20:54:09 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-08-11 20:54:09 +0000
commit0589ba30555462d51bec177957062605102af83f (patch)
treea61d7211c1f841e1964700d8f14216973fd200ce /libmpdemux
parentbfae13d1dbfa27070f5acfe47f1e81572268a729 (diff)
downloadmpv-0589ba30555462d51bec177957062605102af83f.tar.bz2
mpv-0589ba30555462d51bec177957062605102af83f.tar.xz
video fourcc fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16201 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/muxer_lavf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpdemux/muxer_lavf.c b/libmpdemux/muxer_lavf.c
index 901746a787..17f32a15c4 100644
--- a/libmpdemux/muxer_lavf.c
+++ b/libmpdemux/muxer_lavf.c
@@ -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;