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

Unified Diff: services/media/framework/formatting.cc

Issue 1814553002: Motown: Improvements to packet definition (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Added a comment. Created 4 years, 9 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 | « services/media/factory_service/media_sink_impl.cc ('k') | services/media/framework/packet.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/media/framework/formatting.cc
diff --git a/services/media/framework/formatting.cc b/services/media/framework/formatting.cc
index cea3aaab8d367f6d8379e5a853a683725164f1d6..26c50bd3b7c9bde6d68624f075c3518f68cd94c8 100644
--- a/services/media/framework/formatting.cc
+++ b/services/media/framework/formatting.cc
@@ -57,8 +57,7 @@ std::ostream& operator<<(std::ostream& os, const PacketPtr& value) {
}
os << "&" << std::hex << uint64_t(value.get()) << std::dec;
- os << "/pts:" << value->presentation_time();
- os << "/dur:" << value->duration();
+ os << "/pts:" << value->pts();
os << "/eos:" << (value->end_of_stream() ? "t" : "f");
os << "/size:" << value->size();
os << "/payload:" << std::hex << uint64_t(value->payload()) << std::dec;
« no previous file with comments | « services/media/factory_service/media_sink_impl.cc ('k') | services/media/framework/packet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698