Skip to content
Snippets Groups Projects
Commit 4726bbb4 authored by Clément Bœsch's avatar Clément Bœsch
Browse files

Merge commit 'd0a603a5'


* commit 'd0a603a5':
  examples/encode_video: set the framerate

Merged-by: default avatarClément Bœsch <u@pkh.me>
parents e9bd4574 d0a603a5
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment