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

Issue 2649113003: Revert of H264SpsPpsTracker.InsertSpsPpsNalus() should accept Nalus with header. (Closed)

Created:
3 years, 11 months ago by kjellander_webrtc
Modified:
3 years, 11 months ago
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Revert of H264SpsPpsTracker.InsertSpsPpsNalus() should accept Nalus with header. (patchset #3 id:40001 of https://codereview.webrtc.org/2638933002/ ) Reason for revert: Triggers leak on Linux memcheck (non-default trybot): ### BEGIN MEMORY TOOL REPORT (error hash=#0112A395AF2326BC#) Command: ../Release/./modules_unittests --isolated-script-test-output=/b/s/w/ioUlJCnu/output.json --isolated-script-test-chartjson-output=/b/s/w/ioUlJCnu/chartjson-output.json --gtest_filter=-CommonFormats/AudioProcessingTest* Leak_DefinitelyLost 45 bytes in 1 blocks are definitely lost in loss record 118 of 277 operator new[](unsigned long) (m_replacemalloc/vg_replace_malloc.c:363) webrtc::video_coding::H264SpsPpsTracker::CopyAndFixBitstream(webrtc::VCMPacket*) (/b/s/w/irJgAGsR/out/Release/modules_unittests) webrtc::video_coding::TestH264SpsPpsTracker_SpsPpsOutOfBand_Test::TestBody() (/b/s/w/irJgAGsR/out/Release/modules_unittests) Suppression (error hash=#0112A395AF2326BC#): For more info on using suppressions see http://dev.chromium.org/developers/tree-sheriffs/sheriff-details-chromium/memory-sheriff#TOC-Suppressing-memory-reports { <insert_a_suppression_name_here> Memcheck:Leak fun:_Zna* fun:_ZN6webrtc12video_coding17H264SpsPpsTracker19CopyAndFixBitstreamEPNS_9VCMPacketE fun:_ZN6webrtc12video_coding42TestH264SpsPpsTracker_SpsPpsOutOfBand_Test8TestBodyEv } ### END MEMORY TOOL REPORT (error hash=#0112A395AF2326BC#) Original issue's description: > H264SpsPpsTracker.InsertSpsPpsNalus() should accept Nalus with header. > > - Changed method name to clarify that entire Nalus are expected. > - Added unit test code. > - Adjusted InsetSpsPpsNalus() implementation to above requirement. > > BUG=webrtc:5948 > > Review-Url: https://codereview.webrtc.org/2638933002 > Cr-Commit-Position: refs/heads/master@{#16221} > Committed: https://chromium.googlesource.com/external/webrtc/+/f53d7374cfa59440f777729d3a0b7dd39830d6ec TBR=philipel@webrtc.org,sprang@webrtc.org,johan@webrtc.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=webrtc:5948 Review-Url: https://codereview.webrtc.org/2649113003 Cr-Commit-Position: refs/heads/master@{#16225} Committed: https://chromium.googlesource.com/external/webrtc/+/914d49d0fd43e5c650edd0d1e44667da924202c3

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -102 lines) Patch
M webrtc/modules/video_coding/h264_sps_pps_tracker.h View 1 chunk +2 lines, -3 lines 0 comments Download
M webrtc/modules/video_coding/h264_sps_pps_tracker.cc View 2 chunks +7 lines, -37 lines 0 comments Download
M webrtc/modules/video_coding/h264_sps_pps_tracker_unittest.cc View 1 chunk +0 lines, -60 lines 0 comments Download
M webrtc/video/rtp_stream_receiver.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 6 (3 generated)
kjellander_webrtc
Created Revert of H264SpsPpsTracker.InsertSpsPpsNalus() should accept Nalus with header.
3 years, 11 months ago (2017-01-24 04:16:44 UTC) #2
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/2649113003/1
3 years, 11 months ago (2017-01-24 04:16:53 UTC) #3
commit-bot: I haz the power
3 years, 11 months ago (2017-01-24 04:17:03 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/external/webrtc/+/914d49d0fd43e5c650edd0d1e...

Powered by Google App Engine
This is Rietveld 408576698