summaryrefslogtreecommitdiffstats
path: root/libavcodec/yop.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 /libavcodec/yop.c
parent7093b7534fd385263f678e48b7ef3177ad58da06 (diff)
downloadffmpeg-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/yop.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud