Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
acbdfcb0
Commit
acbdfcb0
authored
Feb 11, 2012
by
Christopher Mueller
Committed by
Hugo Beauzée-Luyssen
Feb 14, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dash: removed couts from downloader
Signed-off-by:
Hugo Beauzée-Luyssen
<
beauze.h@gmail.com
>
parent
b6140023
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
modules/stream_filter/dash/DASHDownloader.cpp
modules/stream_filter/dash/DASHDownloader.cpp
+0
-9
No files found.
modules/stream_filter/dash/DASHDownloader.cpp
View file @
acbdfcb0
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment