• Chandresh Kanani's avatar
    modified code of io.read_video and io.read_video_timestamps to intepret pts... · 17e355f7
    Chandresh Kanani authored
    modified code of io.read_video and io.read_video_timestamps to intepret pts values in seconds (#1331)
    
    * modified code of io.read_video and io.read_video_timestamps to interpret pts values in seconds
    
    * changed default value for pts_unit to pts, corrected formatting
    
    * hanndliing both fractions and floats for start_pts and end_pts, added test cases for pts_unit sec
    
    * moved unit conversion logic to _read_from_stream method
    17e355f7
test_io.py 9.24 KB