summaryrefslogtreecommitdiff
path: root/ffmpeg_opt.c
diff options
context:
space:
mode:
authorGiorgio Vazzana <mywing81@gmail.com>2013-03-11 16:39:52 +0100
committerNicolas George <nicolas.george@normalesup.org>2013-03-12 17:14:47 +0100
commitee4a6586952ba0ac8309468b04631da12767cebd (patch)
tree500f306af127986734aa8c649fb939df816efaca /ffmpeg_opt.c
parent7093b7534fd385263f678e48b7ef3177ad58da06 (diff)
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 'ffmpeg_opt.c')
0 files changed, 0 insertions, 0 deletions