From 6216abb0abcd04dec336ac0da9c1c3b336d0e70f Mon Sep 17 00:00:00 2001 From: Thong Nguyen Date: Wed, 12 Feb 2014 23:09:53 +0000 Subject: [PATCH] Changed STKCoreFoundationDataSource to not open in registerForEvents (delay open and registration) --- StreamingKit/StreamingKit/STKCoreFoundationDataSource.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/StreamingKit/StreamingKit/STKCoreFoundationDataSource.m b/StreamingKit/StreamingKit/STKCoreFoundationDataSource.m index 2532181..2049ecd 100644 --- a/StreamingKit/StreamingKit/STKCoreFoundationDataSource.m +++ b/StreamingKit/StreamingKit/STKCoreFoundationDataSource.m @@ -148,10 +148,10 @@ static void ReadStreamCallbackProc(CFReadStreamRef stream, CFStreamEventType eve { eventsRunLoop = runLoop; - if (!stream) + if (!stream) { - [self open]; - + // Will register when they open or seek + return YES; }