packages/multimedia/v4l2rtspserver/patches/030-fix-build.patch
Rosen Penev f04dfb7783 v4l2rtspserver: Update to 0.1.1
Switched to using versioned releases.

Removed md5 usage and went full sha256.

Added uclibc++ support by backporting upstream patches.

Various other adjustments.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-01-25 21:21:09 -08:00

25 lines
993 B
Diff

From be6dc4592e91841cfe593d88bfe8a8f068671c74 Mon Sep 17 00:00:00 2001
From: Michel Promonet <michel.promonet@free.fr>
Date: Tue, 11 Dec 2018 08:34:14 +0100
Subject: [PATCH] fix build
---
src/ServerMediaSubsession.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ServerMediaSubsession.cpp b/src/ServerMediaSubsession.cpp
index 9ac9a76..a8b0bb3 100755
--- a/src/ServerMediaSubsession.cpp
+++ b/src/ServerMediaSubsession.cpp
@@ -99,7 +99,7 @@ RTPSink* BaseServerMediaSubsession::createSink(UsageEnvironment& env, Groupsock
getline(is, sampleRate, '/');
std::string channels("2");
getline(is, channels);
- videoSink = SimpleRTPSink::createNew(env, rtpGroupsock,rtpPayloadTypeIfDynamic, atoi(sampleRate), "audio", "L16", atoi(channels), True, False);
+ videoSink = SimpleRTPSink::createNew(env, rtpGroupsock,rtpPayloadTypeIfDynamic, atoi(sampleRate.c_str()), "audio", "L16", atoi(channels.c_str()), True, False);
}
return videoSink;
}
--
2.20.1