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

Issue 2468183002: RtpFrameObject::GetCodecHeader now return rtc::Optional<RTPVideoTypeHeader> (Closed)

Created:
4 years, 1 month ago by philipel
Modified:
4 years, 1 month ago
Reviewers:
terelius, stefan-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhengzhonghou_agora.io, video-team_agora.io, stefan-webrtc, mflodman
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

RtpFrameObject::GetCodecHeader now return rtc::Optional<RTPVideoTypeHeader> Since it is unsafe to hand out a pointer to a packet that might be removed/ overwritten at any time we now return a copy of the header if it exist. BUG=webrtc:5514 Committed: https://crrev.com/88488287086bfada4c4cfe9b1119a4459b359b9d Cr-Commit-Position: refs/heads/master@{#14920}

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -8 lines) Patch
M webrtc/modules/video_coding/frame_object.h View 2 chunks +2 lines, -1 line 5 comments Download
M webrtc/modules/video_coding/frame_object.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M webrtc/modules/video_coding/rtp_frame_reference_finder.cc View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
philipel
4 years, 1 month ago (2016-11-02 13:03:26 UTC) #2
terelius
https://codereview.webrtc.org/2468183002/diff/1/webrtc/modules/video_coding/frame_object.h File webrtc/modules/video_coding/frame_object.h (right): https://codereview.webrtc.org/2468183002/diff/1/webrtc/modules/video_coding/frame_object.h#newcode75 webrtc/modules/video_coding/frame_object.h:75: rtc::Optional<RTPVideoTypeHeader> GetCodecHeader() const; How large is the RTPVideoTypeHeader, and ...
4 years, 1 month ago (2016-11-02 13:08:19 UTC) #3
philipel
https://codereview.webrtc.org/2468183002/diff/1/webrtc/modules/video_coding/frame_object.h File webrtc/modules/video_coding/frame_object.h (right): https://codereview.webrtc.org/2468183002/diff/1/webrtc/modules/video_coding/frame_object.h#newcode75 webrtc/modules/video_coding/frame_object.h:75: rtc::Optional<RTPVideoTypeHeader> GetCodecHeader() const; On 2016/11/02 13:08:18, terelius wrote: > ...
4 years, 1 month ago (2016-11-02 13:12:24 UTC) #4
terelius
lgtm https://codereview.webrtc.org/2468183002/diff/1/webrtc/modules/video_coding/frame_object.h File webrtc/modules/video_coding/frame_object.h (right): https://codereview.webrtc.org/2468183002/diff/1/webrtc/modules/video_coding/frame_object.h#newcode75 webrtc/modules/video_coding/frame_object.h:75: rtc::Optional<RTPVideoTypeHeader> GetCodecHeader() const; On 2016/11/02 13:12:24, philipel wrote: ...
4 years, 1 month ago (2016-11-02 13:18:38 UTC) #5
philipel
https://codereview.webrtc.org/2468183002/diff/1/webrtc/modules/video_coding/frame_object.h File webrtc/modules/video_coding/frame_object.h (right): https://codereview.webrtc.org/2468183002/diff/1/webrtc/modules/video_coding/frame_object.h#newcode75 webrtc/modules/video_coding/frame_object.h:75: rtc::Optional<RTPVideoTypeHeader> GetCodecHeader() const; On 2016/11/02 13:18:38, terelius wrote: > ...
4 years, 1 month ago (2016-11-02 13:26:15 UTC) #6
terelius
https://codereview.webrtc.org/2468183002/diff/1/webrtc/modules/video_coding/frame_object.h File webrtc/modules/video_coding/frame_object.h (right): https://codereview.webrtc.org/2468183002/diff/1/webrtc/modules/video_coding/frame_object.h#newcode75 webrtc/modules/video_coding/frame_object.h:75: rtc::Optional<RTPVideoTypeHeader> GetCodecHeader() const; On 2016/11/02 13:26:14, philipel wrote: > ...
4 years, 1 month ago (2016-11-02 13:34:49 UTC) #7
stefan-webrtc
lgtm
4 years, 1 month ago (2016-11-03 13:46:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2468183002/1
4 years, 1 month ago (2016-11-03 14:06:47 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_x64_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_compile_x64_dbg/builds/8595)
4 years, 1 month ago (2016-11-03 14:36:43 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2468183002/1
4 years, 1 month ago (2016-11-03 15:17:05 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-03 15:56:57 UTC) #15
commit-bot: I haz the power
4 years, 1 month ago (2016-11-03 16:11:26 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/88488287086bfada4c4cfe9b1119a4459b359b9d
Cr-Commit-Position: refs/heads/master@{#14920}

Powered by Google App Engine
This is Rietveld 408576698