diff options
author | Giorgio Vazzana <mywing81@gmail.com> | 2013-03-11 16:39:52 +0100 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2013-03-12 17:14:47 +0100 |
commit | ee4a6586952ba0ac8309468b04631da12767cebd (patch) | |
tree | 500f306af127986734aa8c649fb939df816efaca /libavcodec/mimic.c | |
parent | 7093b7534fd385263f678e48b7ef3177ad58da06 (diff) | |
download | ffmpeg-streaming-ee4a6586952ba0ac8309468b04631da12767cebd.zip ffmpeg-streaming-ee4a6586952ba0ac8309468b04631da12767cebd.tar.gz |
lavd/v4l2: fix bug in init_convert_timestamp()
The current code returned a period=0, resulting in identical pts for all frames
after time-filtering. This is because AV_TIME_BASE_Q={1, AV_TIME_BASE} and
not {AV_TIME_BASE, 1}. With this patch the correct period in microseconds is computed.
Diffstat (limited to 'libavcodec/mimic.c')
0 files changed, 0 insertions, 0 deletions