mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
v4l2: use dll to track rate difference
Track the difference between the configured and real framerate and use that as the rate correction to adjust the next_nsec clock field.
This commit is contained in:
parent
043245ca11
commit
41e35c7b17
5 changed files with 40 additions and 5 deletions
|
|
@ -1,7 +1,7 @@
|
|||
v4l2_sources = ['v4l2.c',
|
||||
'v4l2-device.c',
|
||||
'v4l2-source.c']
|
||||
v4l2_dependencies = [ spa_dep, libinotify_dep ]
|
||||
v4l2_dependencies = [ spa_dep, libinotify_dep, mathlib ]
|
||||
|
||||
if libudev_dep.found()
|
||||
v4l2_sources += [ 'v4l2-udev.c' ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue