Take out the latest_config-variable as a reference instead of a copy. Ensuring that the code which changes the stop_frame variable is changed globally. Fixes "Could not capture frame" error produced when the number of frames exceeds the maximum number of frames in a video file.
Take out the latest_config-variable as a reference instead of a copy. Ensuring that the code which changes the stop_frame variable is changed globally. Fixes "Could not capture frame" error produced when the number of frames exceeds the maximum number of frames in a video file.
Issue https://github.com/ros-drivers/video_stream_opencv/issues/61#issue-594011639