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

Unified Diff: media/mojo/interfaces/video_frame_struct_traits.h

Issue 2933573003: media: Followup changes to VideoFrame StructTraits. (Closed)
Patch Set: const& Created 3 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 | « media/mojo/interfaces/media_types.mojom ('k') | media/mojo/interfaces/video_frame_struct_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/interfaces/video_frame_struct_traits.h
diff --git a/media/mojo/interfaces/video_frame_struct_traits.h b/media/mojo/interfaces/video_frame_struct_traits.h
index d674b162148a4f152e116781e6bf9f13d66c0dfb..3324b091af8a0d95f506e332bd161b1ff0ed1e74 100644
--- a/media/mojo/interfaces/video_frame_struct_traits.h
+++ b/media/mojo/interfaces/video_frame_struct_traits.h
@@ -52,10 +52,6 @@ struct StructTraits<media::mojom::VideoFrameDataView,
return input->natural_size();
}
- static bool end_of_stream(const scoped_refptr<media::VideoFrame>& input) {
- return input->metadata()->IsTrue(media::VideoFrameMetadata::END_OF_STREAM);
- }
-
static base::TimeDelta timestamp(
const scoped_refptr<media::VideoFrame>& input) {
return input->timestamp();
« no previous file with comments | « media/mojo/interfaces/media_types.mojom ('k') | media/mojo/interfaces/video_frame_struct_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698