Changeset 997509d in git for src/moviemaker.cc


Ignore:
Timestamp:
08/01/14 01:06:02 (6 years ago)
Author:
Olly Betts <olly@…>
Branches:
line_contents, master, stereo, travis-osx
Children:
fa0246c
Parents:
710bd97
Message:

src/moviemaker.cc: Set rc_buffer_size to avoid warning from libav
when exporting MPEG.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/moviemaker.cc

    r710bd97 r997509d  
    190190    c->gop_size = 12; /* emit one intra frame every twelve frames at most */
    191191    c->pix_fmt = AV_PIX_FMT_YUV420P;
     192    c->rc_buffer_size = c->bit_rate * 4; // Enough for 4 seconds
    192193    // B frames are backwards predicted - they can improve compression,
    193194    // but may slow encoding and decoding.
Note: See TracChangeset for help on using the changeset viewer.