Changeset 241251 in webkit
- Timestamp:
- Feb 10, 2019 11:34:10 AM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r241250 r241251 1 2019-02-10 Philippe Normand <pnormand@igalia.com> 2 3 Unreviewed, GTK Debug build fix after r241148. 4 5 * Modules/mediasource/SourceBuffer.cpp: 6 (WebCore::removeSamplesFromTrackBuffer): 7 SourceBuffer::logClassName and friends are declared for 8 !RELEASE_LOG_DISABLED builds so adapt calling sites accordingly. 9 1 10 2019-02-10 Zalan Bujtas <zalan@apple.com> 2 11 -
trunk/Source/WebCore/Modules/mediasource/SourceBuffer.cpp
r241148 r241251 736 736 static PlatformTimeRanges removeSamplesFromTrackBuffer(const DecodeOrderSampleMap::MapType& samples, SourceBuffer::TrackBuffer& trackBuffer, const SourceBuffer* buffer, const char* logPrefix) 737 737 { 738 #if ! LOG_DISABLED738 #if !RELEASE_LOG_DISABLED 739 739 MediaTime earliestSample = MediaTime::positiveInfiniteTime(); 740 740 MediaTime latestSample = MediaTime::zeroTime(); … … 751 751 for (const auto& sampleIt : samples) { 752 752 const DecodeOrderSampleMap::KeyType& decodeKey = sampleIt.first; 753 #if ! LOG_DISABLED753 #if !RELEASE_LOG_DISABLED 754 754 size_t startBufferSize = trackBuffer.samples.sizeInBytes(); 755 755 #endif … … 757 757 const RefPtr<MediaSample>& sample = sampleIt.second; 758 758 759 #if ! LOG_DISABLED759 #if !RELEASE_LOG_DISABLED 760 760 if (willLog) 761 761 logger.debug(buffer->logChannel(), logIdentifier, "removing sample ", *sampleIt.second); … … 772 772 erasedRanges.add(startTime, endTime); 773 773 774 #if ! LOG_DISABLED774 #if !RELEASE_LOG_DISABLED 775 775 bytesRemoved += startBufferSize - trackBuffer.samples.sizeInBytes(); 776 776 if (startTime < earliestSample) … … 809 809 erasedRanges.unionWith(additionalErasedRanges); 810 810 811 #if ! LOG_DISABLED811 #if !RELEASE_LOG_DISABLED 812 812 if (bytesRemoved && willLog) 813 813 logger.debug(buffer->logChannel(), logIdentifier, "removed ", bytesRemoved, ", start = ", earliestSample, ", end = ", latestSample);
Note: See TracChangeset
for help on using the changeset viewer.