From aa67e09b71cf2ab375b47c7cc9f0ce6ea2083060 Mon Sep 17 00:00:00 2001 From: Oswald Auguste de Bruin Date: Fri, 20 Sep 2013 14:02:13 +0200 Subject: [PATCH] MP4 does not work yet, but code has been cleaned up a little. --- src/connectors/conn_http_progressive_mp4.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/connectors/conn_http_progressive_mp4.cpp b/src/connectors/conn_http_progressive_mp4.cpp index 2e451489..7a5060cb 100644 --- a/src/connectors/conn_http_progressive_mp4.cpp +++ b/src/connectors/conn_http_progressive_mp4.cpp @@ -166,21 +166,16 @@ namespace Connector_HTTP { if (Strm.lastType() == DTSC::PAUSEMARK){ keyPartIt++; if (keyPartIt != Conv.keyParts.end()){ - //Schop player - //t trackID - //s (*keyPartIt).time - //p time+len + //Instruct player std::stringstream cmd; cmd << "t "<< (*keyPartIt).trackID; cmd << "\ns " << (*keyPartIt).time; cmd << "\no\n"; - //std::cerr << cmd.str() << std::endl; ss.SendNow(cmd.str()); } }else if(Strm.lastType() == DTSC::AUDIO || Strm.lastType() == DTSC::VIDEO){ - //std::cerr << "send data" << std::endl; //parse DTSC to MP4 here - conn.SendNow(Strm.lastData());//send out and clear Convverter buffer + conn.SendNow(Strm.lastData());//send out and clear Converter buffer } if (Strm.lastType() == DTSC::INVALID){ #if DEBUG >= 3