From 79bbe8a0780c0b32ba119ea471b0ddc55e0b930a Mon Sep 17 00:00:00 2001 From: Thulinma Date: Thu, 17 Oct 2013 09:39:16 +0200 Subject: [PATCH] Fixed Oswald's oops. --- src/Makefile.am | 1 - src/connectors/conn_http.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index b2af5aca..f61b23ce 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -63,7 +63,6 @@ MistConnHTTPProgressiveFLV_SOURCES=connectors/conn_http_progressive_flv.cpp ../V MistConnHTTPProgressiveMP3_SOURCES=connectors/conn_http_progressive_mp3.cpp ../VERSION MistConnHTTPProgressiveMP4_SOURCES=connectors/conn_http_progressive_mp4.cpp ../VERSION MistConnHTTPProgressiveOGG_SOURCES=connectors/conn_http_progressive_ogg.cpp ../VERSION -MistConnHTTPSRT_SOURCES=connectors/conn_http_srt.cpp ../VERSION MistConnHTTPDynamic_SOURCES=connectors/conn_http_dynamic.cpp ../VERSION MistConnHTTPSmooth_SOURCES=connectors/xap.h connectors/conn_http_smooth.cpp ../VERSION MistConnHTTPLive_SOURCES=connectors/conn_http_live.cpp ../VERSION diff --git a/src/connectors/conn_http.cpp b/src/connectors/conn_http.cpp index 8546d19f..dd590f77 100644 --- a/src/connectors/conn_http.cpp +++ b/src/connectors/conn_http.cpp @@ -213,7 +213,7 @@ namespace Connector_HTTP { relurl = "/"; } for (JSON::ArrIter it = conncapa["methods"].ArrBegin(); it != conncapa["methods"].ArrEnd(); it++){ - if (!ServConf["streams"][streamname]["meta"].isMember("live") || !it->isMember("nolive")){ + if (!strmMeta.isMember("live") || !it->isMember("nolive")){ addSource(relurl, sources, host, port, *it, most_simul, total_matches); } }