[vlc-commits] demux: adaptive: clean up

Francois Cartegnie git at videolan.org
Fri May 10 10:58:53 CEST 2019


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Apr 24 19:33:27 2019 +0200| [3d1218cced4cda1e1f0f7c8ab5890c77c93a87c4] | committer: Francois Cartegnie

demux: adaptive: clean up

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3d1218cced4cda1e1f0f7c8ab5890c77c93a87c4
---

 modules/demux/adaptive/http/HTTPConnectionManager.cpp | 8 --------
 modules/demux/adaptive/http/HTTPConnectionManager.h   | 1 -
 2 files changed, 9 deletions(-)

diff --git a/modules/demux/adaptive/http/HTTPConnectionManager.cpp b/modules/demux/adaptive/http/HTTPConnectionManager.cpp
index 020df8364e..31d8b17740 100644
--- a/modules/demux/adaptive/http/HTTPConnectionManager.cpp
+++ b/modules/demux/adaptive/http/HTTPConnectionManager.cpp
@@ -58,14 +58,6 @@ void AbstractConnectionManager::setDownloadRateObserver(IDownloadRateObserver *o
     rateObserver = obs;
 }
 
-HTTPConnectionManager::HTTPConnectionManager    (vlc_object_t *p_object_, AbstractConnectionFactory *factory_)
-    : AbstractConnectionManager( p_object_ )
-{
-    vlc_mutex_init(&lock);
-    downloader = new (std::nothrow) Downloader();
-    downloader->start();
-    factory = factory_;
-}
 
 HTTPConnectionManager::HTTPConnectionManager    (vlc_object_t *p_object_, AuthStorage *storage)
     : AbstractConnectionManager( p_object_ )
diff --git a/modules/demux/adaptive/http/HTTPConnectionManager.h b/modules/demux/adaptive/http/HTTPConnectionManager.h
index ea64563ce3..9b25d3e176 100644
--- a/modules/demux/adaptive/http/HTTPConnectionManager.h
+++ b/modules/demux/adaptive/http/HTTPConnectionManager.h
@@ -66,7 +66,6 @@ namespace adaptive
         class HTTPConnectionManager : public AbstractConnectionManager
         {
             public:
-                HTTPConnectionManager           (vlc_object_t *p_object, AbstractConnectionFactory *);
                 HTTPConnectionManager           (vlc_object_t *p_object, AuthStorage *);
                 virtual ~HTTPConnectionManager  ();
 



More information about the vlc-commits mailing list