From 639a4bc3b16504be24325cf834540f2fe2b77c75 Mon Sep 17 00:00:00 2001 From: Tom Finegan Date: Wed, 10 Aug 2016 14:15:56 -0700 Subject: [PATCH] webm2pes: Remove debug printfs(). Change-Id: I13ba6590c63e7fef14efee812095ac704ef8b69e --- m2ts/webm2pes.cc | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/m2ts/webm2pes.cc b/m2ts/webm2pes.cc index f4a07ce..a8bd007 100644 --- a/m2ts/webm2pes.cc +++ b/m2ts/webm2pes.cc @@ -437,17 +437,6 @@ bool Webm2Pes::WritePesPacket(const VideoFrame& frame, frame_ranges.push_back(Range(0, frame.buffer().length)); } - /// - /// TODO: DEBUG/REMOVE - /// - printf("-FRAME TOTAL LENGTH %u\n", - static_cast(frame.buffer().length)); - for (const Range& frame_range : frame_ranges) { - printf("--frame range: off:%u len:%u\n", - static_cast(frame_range.offset), - static_cast(frame_range.length)); - } - const std::int64_t khz90_pts = NanosecondsTo90KhzTicks(frame.nanosecond_pts()); PesHeader header; @@ -486,9 +475,6 @@ bool Webm2Pes::WritePesPacket(const VideoFrame& frame, return false; } - printf("---wrote payload size=%u\n", - static_cast(bytes_to_copy)); - std::size_t bytes_copied = bytes_to_copy; while (extra_bytes) { // Write PES packets for the remaining data, but omit the PTS and BCMV @@ -510,11 +496,6 @@ bool Webm2Pes::WritePesPacket(const VideoFrame& frame, } bytes_copied += extra_bytes_to_copy; - - // TODO: DEBUG/REMOVE - printf("----wrote fragment total=%u this_fragment=%u\n", - static_cast(bytes_copied), - static_cast(extra_bytes_to_copy)); } }