提交 4726bbb4 编写于 作者: C Clément Bœsch

Merge commit 'd0a603a5'

* commit 'd0a603a5':
  examples/encode_video: set the framerate
Merged-by: NClément Bœsch <u@pkh.me>
......@@ -75,7 +75,9 @@ int main(int argc, char **argv)
c->width = 352;
c->height = 288;
/* frames per second */
c->time_base = (AVRational){1,25};
c->time_base = (AVRational){1, 25};
c->framerate = (AVRational){25, 1};
/* emit one intra frame every ten frames
* check frame pict_type before passing frame
* to encoder, if frame->pict_type is AV_PICTURE_TYPE_I
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册