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

Unified Diff: media/base/mac/videotoolbox_glue.h

Issue 863083002: [cast] Add optional VideoEncoder method to flush frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | media/base/mac/videotoolbox_glue.mm » ('j') | media/cast/sender/h264_vt_encoder.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/mac/videotoolbox_glue.h
diff --git a/media/base/mac/videotoolbox_glue.h b/media/base/mac/videotoolbox_glue.h
index cb2748c39a39a511acb254440a5dda9a57229fd5..69dfd6ac5115134e8438829d899f8f0720707cfd 100644
--- a/media/base/mac/videotoolbox_glue.h
+++ b/media/base/mac/videotoolbox_glue.h
@@ -48,6 +48,7 @@ class MEDIA_EXPORT VideoToolboxGlue {
CFStringRef kVTCompressionPropertyKey_AverageBitRate() const;
CFStringRef kVTCompressionPropertyKey_ColorPrimaries() const;
CFStringRef kVTCompressionPropertyKey_ExpectedFrameRate() const;
+ CFStringRef kVTCompressionPropertyKey_MaxFrameDelayCount() const;
CFStringRef kVTCompressionPropertyKey_MaxKeyFrameInterval() const;
CFStringRef kVTCompressionPropertyKey_MaxKeyFrameIntervalDuration() const;
CFStringRef kVTCompressionPropertyKey_ProfileLevel() const;
@@ -89,6 +90,9 @@ class MEDIA_EXPORT VideoToolboxGlue {
CVPixelBufferPoolRef VTCompressionSessionGetPixelBufferPool(
VTCompressionSessionRef session) const;
void VTCompressionSessionInvalidate(VTCompressionSessionRef session) const;
+ OSStatus VTCompressionSessionCompleteFrames(
+ VTCompressionSessionRef session,
+ CoreMediaGlue::CMTime completeUntilPresentationTimeStamp) const;
// Originally from VTSession.h
OSStatus VTSessionSetProperty(VTSessionRef session,
« no previous file with comments | « no previous file | media/base/mac/videotoolbox_glue.mm » ('j') | media/cast/sender/h264_vt_encoder.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698