Index: webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.h |
diff --git a/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.h b/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.h |
index 31ef525816cd012fd168db0b6de3da46cdc04930..59535ee8c63176ca752aa7854d950ff9cd6d5775 100644 |
--- a/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.h |
+++ b/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.h |
@@ -44,6 +44,13 @@ bool H264AnnexBBufferToCMSampleBuffer(const uint8_t* annexb_buffer, |
CMVideoFormatDescriptionRef video_format, |
CMSampleBufferRef* out_sample_buffer); |
+bool H264AnnexBBufferHasVideoFormatDescription(const uint8_t* annexb_buffer, |
noahric
2016/03/03 22:10:55
Comments, since the rest of the file is nicely com
tkchin_webrtc
2016/03/04 19:03:07
Done.
|
+ size_t annexb_buffer_size); |
+ |
+CMVideoFormatDescriptionRef CreateVideoFormatDescription( |
+ const uint8_t* annexb_buffer, |
+ size_t annexb_buffer_size); |
+ |
// Helper class for reading NALUs from an RTP Annex B buffer. |
class AnnexBBufferReader final { |
public: |