From 02819b5c047bb354b0ef2374e7c6a6ac4bbd5bba Mon Sep 17 00:00:00 2001
From: wangrong <wangrong@shsening.com>
Date: 星期四, 23 一月 2025 11:42:36 +0800
Subject: [PATCH] add sample
---
nodes/vp_rtsp_src_node.h | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/nodes/vp_rtsp_src_node.h b/nodes/vp_rtsp_src_node.h
index 89f0854..15f9e18 100644
--- a/nodes/vp_rtsp_src_node.h
+++ b/nodes/vp_rtsp_src_node.h
@@ -11,9 +11,8 @@
class vp_rtsp_src_node: public vp_src_node {
private:
/* data */
- //std::string gst_template = "rtspsrc location=%s ! application/x-rtp,media=video ! rtph264depay ! h264parse ! %s ! videoconvert ! appsink";
- std::string gst_template = "rtspsrc location=%s ! rtph264depay ! h264parse ! %s ! videoconvert ! appsink";
- cv::VideoCapture rtsp_capture;
+ std::string gst_template = "rtspsrc location=%s ! application/x-rtp,media=video ! rtph264depay ! h264parse ! %s ! videoconvert ! appsink";
+ cv::VideoCapture rtsp_capture;
protected:
// re-implemetation
virtual void handle_run() override;
--
Gitblit v1.9.1