RobotWebTools / web_video_server

HTTP Streaming of ROS Image Topics in Multiple Formats
http://ros.org/wiki/web_video_server
Other
269 stars 187 forks source link

Width&height parameters not working #119

Closed yzhu27 closed 1 year ago

yzhu27 commented 2 years ago

Description Former version: https://github.com/RobotWebTools/web_video_server/blob/8e828bb5011f6f488950b6865effca7f058c4aae/src/image_streamer.cpp#L115-L118

Current version: https://github.com/RobotWebTools/web_video_server/blob/c90d142831409ba215553890821db09a1fcaa4b5/src/image_streamer.cpp#L115-L118

the deletion of two if lines (L115 and L117 in former version) makes follow statement (L128) always false: https://github.com/RobotWebTools/web_video_server/blob/8e828bb5011f6f488950b6865effca7f058c4aae/src/image_streamer.cpp#L128-L135 This results in which the height and width parameters never working.