Skip to content

Commit 04384fc

Browse files
committed
Remove redundant TODOs
1 parent ab8e269 commit 04384fc

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/libav_streamer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ static int dispatch_output_packet(void * opaque, uint8_t * buffer, int buffer_si
8484
std::vector<uint8_t> encoded_frame;
8585
encoded_frame.assign(buffer, buffer + buffer_size);
8686
connection->write_and_clear(encoded_frame);
87-
return 0; // TODO: can this fail?
87+
return 0;
8888
}
8989

9090
void LibavStreamer::initialize(const cv::Mat & img)

src/web_video_server.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,7 @@ bool WebVideoServer::handle_list_streams(
306306
}
307307
auto & topic_name = topic_and_types.first;
308308
auto & topic_type = topic_and_types.second[0]; // explicitly take the first
309-
// TODO debugging
310-
fprintf(stderr, "topic_type: %s\n", topic_type.c_str());
309+
311310
if (topic_type == "sensor_msgs/msg/Image") {
312311
image_topics.push_back(topic_name);
313312
} else if (topic_type == "sensor_msgs/msg/CameraInfo") {

0 commit comments

Comments
 (0)