summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-02-03 20:07:10 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-06-13 17:29:49 +0100
commit90bbb14b614af9bb238e74362111be0a9a8fca5a (patch)
tree27d499d40c3d5c1af9e99b89a653cbaec0c63d93
parentAdd a test for creating sample video broadcast data (diff)
downloadp2pvr-90bbb14b614af9bb238e74362111be0a9a8fca5a.tar.bz2
p2pvr-90bbb14b614af9bb238e74362111be0a9a8fca5a.tar.xz
p2pvr-90bbb14b614af9bb238e74362111be0a9a8fca5a.zip
Move core start into right file
-rw-r--r--p2pvr/lib/serviceStreamer.cpp7
-rw-r--r--p2pvr/lib/serviceStreamerCore.cpp7
2 files changed, 7 insertions, 7 deletions
diff --git a/p2pvr/lib/serviceStreamer.cpp b/p2pvr/lib/serviceStreamer.cpp
index db1ad50..92bbe5f 100644
--- a/p2pvr/lib/serviceStreamer.cpp
+++ b/p2pvr/lib/serviceStreamer.cpp
@@ -18,13 +18,6 @@ ServiceStreamer::~ServiceStreamer()
}
void
-ServiceStreamerCore::Start(DVBSI::DeliveryPtr transport)
-{
- tuner = devs->GetTunerSpecific(transport);
- patHandle = tuner->StartSendingSection(0, patParser);
-}
-
-void
ServiceStreamer::Start()
{
const auto transport = si->GetDeliveryForService(serviceId);
diff --git a/p2pvr/lib/serviceStreamerCore.cpp b/p2pvr/lib/serviceStreamerCore.cpp
index 3328088..b046f2e 100644
--- a/p2pvr/lib/serviceStreamerCore.cpp
+++ b/p2pvr/lib/serviceStreamerCore.cpp
@@ -58,6 +58,13 @@ ServiceStreamerCore::HandlePMT(DVBSI::ProgramMapPtr pmp)
}
void
+ServiceStreamerCore::Start(DVBSI::DeliveryPtr transport)
+{
+ tuner = devs->GetTunerSpecific(transport);
+ patHandle = tuner->StartSendingSection(0, patParser);
+}
+
+void
ServiceStreamerCore::Stop()
{
stopHandle(serviceHandle);