Update video.cpp

This commit is contained in:
Dzmitry Maladzenkau 2024-04-28 21:06:11 +02:00 committed by GitHub
parent 8ef1badf07
commit 9f37c03e69
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#include <gst/gst.h> #include <gst/gst.h>
#include <gst/rtsp-server/rtsp-server.h> #include <gst/rtsp-server/rtsp-server.h>
#include <gst/app/gstappsrc.h> #include <gst/app/gstappsrc.h>
#include <rclcpp/rclcpp.hpp> #include <rclcpp/rclcpp.hpp>
@ -167,4 +167,4 @@ void Image2rtsp::topic_callback(const sensor_msgs::msg::Image::SharedPtr msg){
GST_BUFFER_FLAG_SET(buf, GST_BUFFER_FLAG_LIVE); GST_BUFFER_FLAG_SET(buf, GST_BUFFER_FLAG_LIVE);
gst_app_src_push_buffer(appsrc, buf); gst_app_src_push_buffer(appsrc, buf);
} }
} }