[vlc-commits] dash: removed couts from downloader

Christopher Mueller git at videolan.org
Tue Feb 14 17:30:21 CET 2012


vlc | branch: master | Christopher Mueller <christopher.mueller at itec.aau.at> | Sat Feb 11 12:00:00 2012 +0100| [acbdfcb0a682c485d04081ef961e36998cc7fd6f] | committer: Hugo Beauzée-Luyssen

dash: removed couts from downloader

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h at gmail.com>

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

 modules/stream_filter/dash/DASHDownloader.cpp |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/modules/stream_filter/dash/DASHDownloader.cpp b/modules/stream_filter/dash/DASHDownloader.cpp
index 1e190bf..df49c98 100644
--- a/modules/stream_filter/dash/DASHDownloader.cpp
+++ b/modules/stream_filter/dash/DASHDownloader.cpp
@@ -42,13 +42,9 @@ DASHDownloader::DASHDownloader  (HTTPConnectionManager *conManager, IAdaptationL
 }
 DASHDownloader::~DASHDownloader ()
 {
-    std::cout << "Downloader set eof" << std::endl;
     this->t_sys->buffer->setEOF(true);
-    std::cout << "Downloader try to join" << std::endl;
     vlc_join(this->dashDLThread, NULL);
     free(this->t_sys);
-
-    std::cout << "Downloader thread joined tsys freed" << std::endl;
 }
 
 bool        DASHDownloader::start       ()
@@ -92,16 +88,11 @@ void*       DASHDownloader::download    (void *thread_sys)
                 block_t *bufBlock = block_Alloc(ret);
                 memcpy(bufBlock->p_buffer, block->p_buffer, ret);
                 bufBlock->i_length = (mtime_t)((ret * 8) / ((float)currentChunk->getBitrate() / 1000000));
-
-                std::cout << "Put block into buffer MilliSeconds: " << bufBlock->i_length
-                          << " Bytes: " << bufBlock->i_buffer
-                          << " Bitrate: " << currentChunk->getBitrate() << std::endl;
                 buffer->put(bufBlock);
             }
         }
     }while(!buffer->getEOF());
 
-    std::cout << "Downloader end: " << std::endl;
     block_Release(block);
 
     return NULL;



More information about the vlc-commits mailing list