Index: media/mp2t/es_parser_h264.h |
diff --git a/media/mp2t/es_parser_h264.h b/media/mp2t/es_parser_h264.h |
index 5cb247e89617ff90e9b2e0a702bb7c03f63f1cbd..3e3d31cc9d71f5b797b7e46eb2009db6f4bf7257 100644 |
--- a/media/mp2t/es_parser_h264.h |
+++ b/media/mp2t/es_parser_h264.h |
@@ -55,7 +55,8 @@ class EsParserH264 : public EsParser { |
bool ParseInternal(); |
// Emit a frame if a frame has been started earlier. |
- void EmitFrameIfNeeded(int next_aud_pos); |
+ // Returns true if successful, false if no PTS is available for the frame. |
+ bool EmitFrameIfNeeded(int next_aud_pos); |
// Start a new frame. |
// Note: if aud_pos < 0, clear the current frame. |