summaryrefslogtreecommitdiff
path: root/libavdevice/fbdev.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-06-03 13:29:43 +0200
committerAnton Khirnov <anton@khirnov.net>2011-06-04 19:48:08 +0200
commita3b15e411d9624a37919e91fe81aec9c98457ed8 (patch)
tree122016b796068330c05f5eff2d72ca599aada592 /libavdevice/fbdev.c
parent1572484f62c59da6755fbcebf09821ada8c43728 (diff)
fbdev,v4l2: remove some forgotten uses of AVFormatParameters.time_base.
Diffstat (limited to 'libavdevice/fbdev.c')
-rw-r--r--libavdevice/fbdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/fbdev.c b/libavdevice/fbdev.c
index 58b3ab4572..7e9ffe5c77 100644
--- a/libavdevice/fbdev.c
+++ b/libavdevice/fbdev.c
@@ -169,7 +169,7 @@ av_cold static int fbdev_read_header(AVFormatContext *avctx,
st->codec->width = fbdev->width;
st->codec->height = fbdev->heigth;
st->codec->pix_fmt = pix_fmt;
- st->codec->time_base = ap->time_base;
+ st->codec->time_base = (AVRational){fbdev->fps.den, fbdev->fps.num};
st->codec->bit_rate =
fbdev->width * fbdev->heigth * fbdev->bytes_per_pixel * av_q2d(fbdev->fps) * 8;