• Diederick Niehorster's avatar
    avdevice/dshow: implement option to use device video timestamps · 7dc33aad
    Diederick Niehorster authored
    The dshow avdevice ignores timestamps for video frames provided by the
    DirectShow device, instead using wallclock time, apparently because the
    implementer of this code had a device that provided unreliable
    timestamps. Me (and others) would like to use the device's timestamps.
    The new use_video_device_timestamps option for dshow device enables them
    to do so. Since the majority of video devices out there probably provide
    fine timestamps, this patch sets the default to using the device
    timestamps, which means best fidelity timestamps are used by default.
    Using the new option, the user can switch this off and revert to the old
    behavior, so a fall back remains available in case the device provides
    broken timestamps.
    
    add use_video_device_timestamps to docs.
    
    Closes: #8620
    Signed-off-by: 's avatarDiederick Niehorster <dcnieho@gmail.com>
    Reviewed-by: 's avatarRoger Pack <rogerdpack2@gmail.com>
    7dc33aad
indevs.texi 48.3 KB