Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(339)

Unified Diff: media/filters/chunk_demuxer.cc

Issue 10542128: Return the results of Append in ChunkDemuxer::On{Audio,Video}Buffers() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/chunk_demuxer.cc
diff --git a/media/filters/chunk_demuxer.cc b/media/filters/chunk_demuxer.cc
index 1e1615465a4b53dc727f56b6d1b6ea49ea7fd0ee..a47d6e23271e652ff1eae4e45436511f62a7b6e6 100644
--- a/media/filters/chunk_demuxer.cc
+++ b/media/filters/chunk_demuxer.cc
@@ -867,10 +867,7 @@ bool ChunkDemuxer::OnAudioBuffers(const StreamParser::BufferQueue& buffers) {
if (!audio_)
return false;
- // TODO(annacc): return Append's result after http://crbug.com/125072 is fixed
- audio_->Append(buffers);
-
- return true;
+ return audio_->Append(buffers);
}
bool ChunkDemuxer::OnVideoBuffers(const StreamParser::BufferQueue& buffers) {
@@ -879,10 +876,7 @@ bool ChunkDemuxer::OnVideoBuffers(const StreamParser::BufferQueue& buffers) {
if (!video_)
return false;
- // TODO(annacc): return Append's result after http://crbug.com/125072 is fixed
- video_->Append(buffers);
-
- return true;
+ return video_->Append(buffers);
}
bool ChunkDemuxer::OnKeyNeeded(scoped_array<uint8> init_data,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698