Mercurial > libavcodec.hg
diff apiexample.c @ 2637:ef44d24680d1 libavcodec
switch to native time bases
| author | michael |
|---|---|
| date | Sat, 30 Apr 2005 21:43:59 +0000 |
| parents | 9a7770ebed14 |
| children | dfcfaeed1679 |
line wrap: on
line diff
--- a/apiexample.c Mon Apr 25 18:41:38 2005 +0000 +++ b/apiexample.c Sat Apr 30 21:43:59 2005 +0000 @@ -195,8 +195,7 @@ c->width = 352; c->height = 288; /* frames per second */ - c->frame_rate = 25; - c->frame_rate_base= 1; + c->time_base= (AVRational){1,25}; c->gop_size = 10; /* emit one intra frame every ten frames */ c->max_b_frames=1;
