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

Unified Diff: media/filters/chunk_demuxer.h

Issue 2076673005: MSE: Plumb ChunkDemuxer appendData failures into append Error algorithm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the layout test Created 4 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
Index: media/filters/chunk_demuxer.h
diff --git a/media/filters/chunk_demuxer.h b/media/filters/chunk_demuxer.h
index be0f9dbc38be5283202b297eb17167414d6be383..eb1ea9d8767141a7472b5361bcb277949460a1b2 100644
--- a/media/filters/chunk_demuxer.h
+++ b/media/filters/chunk_demuxer.h
@@ -219,8 +219,9 @@ class MEDIA_EXPORT ChunkDemuxer : public Demuxer {
// and possibly updating |*timestamp_offset| during coded frame processing.
// |append_window_start| and |append_window_end| correspond to the MSE spec's
// similarly named source buffer attributes that are used in coded frame
- // processing.
- void AppendData(const std::string& id,
+ // processing. Returns true on success, false if the caller needs to run the
+ // append error algorithm with decode error parameter set to true.
+ bool AppendData(const std::string& id,
const uint8_t* data,
size_t length,
base::TimeDelta append_window_start,

Powered by Google App Engine
This is Rietveld 408576698