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

Unified Diff: media/cast/framer/framer.h

Issue 289483003: Cast: Only ACK decodable frames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor formatting change Created 6 years, 7 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/cast/framer/frame_id_map.cc ('k') | media/cast/framer/framer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/framer/framer.h
diff --git a/media/cast/framer/framer.h b/media/cast/framer/framer.h
index 0c7397b26062756e2fd7fd16f439ef32de6ab114..0b7249eff34ff857c79ae2a1f1ee77806e73f9f2 100644
--- a/media/cast/framer/framer.h
+++ b/media/cast/framer/framer.h
@@ -40,15 +40,14 @@ class Framer {
const RtpCastHeader& rtp_header,
bool* duplicate);
- // Extracts a complete encoded frame - will only return a complete continuous
- // frame.
- // Returns false if the frame does not exist or if the frame is not complete
- // within the given time frame.
- bool GetEncodedVideoFrame(transport::EncodedFrame* video_frame,
- bool* next_frame);
-
- bool GetEncodedAudioFrame(transport::EncodedFrame* audio_frame,
- bool* next_frame);
+ // Extracts a complete encoded frame - will only return a complete and
+ // decodable frame. Returns false if no such frames exist.
+ // |next_frame| will be set to true if the returned frame is the very
+ // next frame. |have_multiple_complete_frames| will be set to true
+ // if there are more decodadble frames available.
+ bool GetEncodedFrame(transport::EncodedFrame* video_frame,
+ bool* next_frame,
+ bool* have_multiple_complete_frames);
void ReleaseFrame(uint32 frame_id);
« no previous file with comments | « media/cast/framer/frame_id_map.cc ('k') | media/cast/framer/framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698