vlc/vlc-1.2 | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Thu 
Jan  5 16:03:27 2012 +0100| [13e968b41baab555d0afad81e6986603fc28377b] | 
committer: Jean-Baptiste Kempf

dash: HTTPConnectionManager: Removing useless method.

Signed-off-by: Jean-Baptiste Kempf <[email protected]>
(cherry picked from commit cbef7d0cda327a86455388af128949cca5a01012)

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=13e968b41baab555d0afad81e6986603fc28377b
---

 .../dash/http/HTTPConnectionManager.cpp            |    7 -------
 .../dash/http/HTTPConnectionManager.h              |    1 -
 2 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/modules/stream_filter/dash/http/HTTPConnectionManager.cpp 
b/modules/stream_filter/dash/http/HTTPConnectionManager.cpp
index 8dce57b..0084f7d 100644
--- a/modules/stream_filter/dash/http/HTTPConnectionManager.cpp
+++ b/modules/stream_filter/dash/http/HTTPConnectionManager.cpp
@@ -46,13 +46,6 @@ HTTPConnectionManager::~HTTPConnectionManager   ()
     this->closeAllConnections();
 }
 
-IHTTPConnection*    HTTPConnectionManager::getConnection            
(std::string url)
-{
-    HTTPConnection *con = new HTTPConnection(url, this->stream);
-    con->init();
-    this->connections.push_back(con);
-    return con;
-}
 bool                HTTPConnectionManager::closeConnection          
(IHTTPConnection *con)
 {
     for(std::vector<HTTPConnection *>::iterator it = 
this->connections.begin(); it != this->connections.end(); ++it)
diff --git a/modules/stream_filter/dash/http/HTTPConnectionManager.h 
b/modules/stream_filter/dash/http/HTTPConnectionManager.h
index 11487ed..56ba8f6 100644
--- a/modules/stream_filter/dash/http/HTTPConnectionManager.h
+++ b/modules/stream_filter/dash/http/HTTPConnectionManager.h
@@ -50,7 +50,6 @@ namespace dash
 
                 void                closeAllConnections ();
                 bool                closeConnection     (IHTTPConnection *con);
-                IHTTPConnection*    getConnection       (std::string url);
                 int                 read                (Chunk *chunk, void 
*p_buffer, size_t len);
                 int                 peek                (Chunk *chunk, const 
uint8_t **pp_peek, size_t i_peek);
                 void                attach              
(dash::logic::IDownloadRateObserver *observer);

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to