diff options
author | corey <corey@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-05-17 00:16:51 +0000 |
---|---|---|
committer | corey <corey@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-05-17 00:16:51 +0000 |
commit | f58a3d0fda592994b7a2791d72356411ecbe35dc (patch) | |
tree | 3a0c48c7900117eeba28628264c395573f6507a4 /libmpdemux/muxer_lavf.c | |
parent | 26e13fe9af55de74aaddfe21bb481f381af55e78 (diff) | |
download | mpv-f58a3d0fda592994b7a2791d72356411ecbe35dc.tar.bz2 mpv-f58a3d0fda592994b7a2791d72356411ecbe35dc.tar.xz |
Pass imgfmt from lavc encoder to lavf muxer (this is needed for dv).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23327 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/muxer_lavf.c')
-rw-r--r-- | libmpdemux/muxer_lavf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpdemux/muxer_lavf.c b/libmpdemux/muxer_lavf.c index feec823627..5f309dbc43 100644 --- a/libmpdemux/muxer_lavf.c +++ b/libmpdemux/muxer_lavf.c @@ -240,6 +240,7 @@ static void fix_parameters(muxer_stream_t *stream) if(ctx->codec_id <= 0 || force_fourcc) ctx->codec_tag= stream->bih->biCompression; mp_msg(MSGT_MUXER, MSGL_INFO, "VIDEO CODEC ID: %d\n", ctx->codec_id); + ctx->pix_fmt = imgfmt2pixfmt(stream->imgfmt); ctx->width = stream->bih->biWidth; ctx->height = stream->bih->biHeight; ctx->bit_rate = 800000; |