[vlc-commits] dash: HTTPConnectionManager: Removing useless method.
Hugo Beauzée-Luyssen
git at videolan.org
Tue Jan 24 23:22:01 CET 2012
vlc/vlc-1.2 | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Thu Jan 5 16:03:27 2012 +0100| [13e968b41baab555d0afad81e6986603fc28377b] | committer: Jean-Baptiste Kempf
dash: HTTPConnectionManager: Removing useless method.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit cbef7d0cda327a86455388af128949cca5a01012)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> 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);
More information about the vlc-commits
mailing list