Changeset 243072 in webkit
- Timestamp:
- Mar 18, 2019 9:52:45 AM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r243070 r243072 1 2019-03-18 Eric Carlson <eric.carlson@apple.com> 2 3 Change some logging levels 4 https://bugs.webkit.org/show_bug.cgi?id=195861 5 <rdar://problem/48961669> 6 7 Reviewed by Jer Noble. 8 9 * Modules/mediastream/RTCPeerConnection.cpp: 10 (WebCore::RTCPeerConnection::dispatchEvent): 11 * Modules/webaudio/AudioNode.cpp: 12 (WebCore::AudioNode::addInput): 13 (WebCore::AudioNode::addOutput): 14 (WebCore::AudioNode::connect): 15 (WebCore::AudioNode::disconnect): 16 * Modules/webaudio/AudioParam.cpp: 17 (WebCore::AudioParam::connect): 18 (WebCore::AudioParam::disconnect): 19 * Modules/webaudio/WaveShaperNode.cpp: 20 (WebCore::WaveShaperNode::setOversample): 21 * html/HTMLMediaElement.cpp: 22 (WebCore::HTMLMediaElement::canPlayType const): 23 (WebCore::HTMLMediaElement::seekTask): 24 (WebCore::HTMLMediaElement::dispatchEvent): 25 (WebCore::HTMLMediaElement::ensureMediaControlsInjectedScript): 26 (WebCore::HTMLMediaElement::didAddUserAgentShadowRoot): 27 (WebCore::HTMLMediaElement::setMediaControlsDependOnPageScaleFactor): 28 * html/track/InbandGenericTextTrack.cpp: 29 (WebCore::InbandGenericTextTrack::addGenericCue): 30 (WebCore::InbandGenericTextTrack::removeGenericCue): 31 (WebCore::InbandGenericTextTrack::newCuesParsed): 32 * html/track/InbandWebVTTTextTrack.cpp: 33 (WebCore::InbandWebVTTTextTrack::newCuesParsed): 34 * html/track/LoadableTextTrack.cpp: 35 (WebCore::LoadableTextTrack::newCuesAvailable): 36 * html/track/TextTrack.cpp: 37 (WebCore::TextTrack::removeCue): 38 * inspector/agents/WebConsoleAgent.cpp: 39 (WebCore::WebConsoleAgent::getLoggingChannels): 40 * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp: 41 (WebCore::InbandTextTrackPrivateAVF::processAttributedStrings): 42 (WebCore::InbandTextTrackPrivateAVF::removeCompletedCues): 43 (WebCore::InbandTextTrackPrivateAVF::processNativeSamples): 44 * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: 45 (WebCore::MediaPlayerPrivateAVFoundationObjC::createImageForTimeInRect): 46 (WebCore::MediaPlayerPrivateAVFoundationObjC::updateLastImage): 47 (WebCore::MediaPlayerPrivateAVFoundationObjC::metadataDidArrive): 48 * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm: 49 (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::seekWithTolerance): 50 (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::seekInternal): 51 (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::isCurrentPlaybackTargetWireless const): 52 1 53 2019-03-15 Antoine Quint <graouts@apple.com> 2 54 -
trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp
r242886 r243072 581 581 void RTCPeerConnection::dispatchEvent(Event& event) 582 582 { 583 DEBUG_LOG(LOGIDENTIFIER, "dispatching '", event.type(), "'");583 INFO_LOG(LOGIDENTIFIER, "dispatching '", event.type(), "'"); 584 584 EventTarget::dispatchEvent(event); 585 585 } -
trunk/Source/WebCore/Modules/webaudio/AudioNode.cpp
r242734 r243072 164 164 { 165 165 ASSERT(isMainThread()); 166 DEBUG_LOG(LOGIDENTIFIER, input->node()->nodeType());166 INFO_LOG(LOGIDENTIFIER, input->node()->nodeType()); 167 167 m_inputs.append(WTFMove(input)); 168 168 } … … 171 171 { 172 172 ASSERT(isMainThread()); 173 DEBUG_LOG(LOGIDENTIFIER, output->node()->nodeType());173 INFO_LOG(LOGIDENTIFIER, output->node()->nodeType()); 174 174 m_outputs.append(WTFMove(output)); 175 175 } … … 222 222 ASSERT(isMainThread()); 223 223 224 DEBUG_LOG(LOGIDENTIFIER, param.name(), ", output = ", outputIndex);224 INFO_LOG(LOGIDENTIFIER, param.name(), ", output = ", outputIndex); 225 225 226 226 if (outputIndex >= numberOfOutputs()) … … 246 246 247 247 auto* output = this->output(outputIndex); 248 DEBUG_LOG(LOGIDENTIFIER, output->node()->nodeType());248 INFO_LOG(LOGIDENTIFIER, output->node()->nodeType()); 249 249 250 250 output->disconnectAll(); -
trunk/Source/WebCore/Modules/webaudio/AudioParam.cpp
r242734 r243072 195 195 return; 196 196 197 DEBUG_LOG(LOGIDENTIFIER, output->node()->nodeType());197 INFO_LOG(LOGIDENTIFIER, output->node()->nodeType()); 198 198 199 199 output->addParam(this); … … 209 209 return; 210 210 211 DEBUG_LOG(LOGIDENTIFIER, output->node()->nodeType());211 INFO_LOG(LOGIDENTIFIER, output->node()->nodeType()); 212 212 213 213 if (m_outputs.remove(output)) { -
trunk/Source/WebCore/Modules/webaudio/WaveShaperNode.cpp
r242734 r243072 72 72 { 73 73 ASSERT(isMainThread()); 74 DEBUG_LOG(LOGIDENTIFIER, type);74 INFO_LOG(LOGIDENTIFIER, type); 75 75 76 76 // Synchronize with any graph changes or changes to channel configuration. -
trunk/Source/WebCore/html/HTMLMediaElement.cpp
r243033 r243072 1160 1160 } 1161 1161 1162 DEBUG_LOG(LOGIDENTIFIER, "[", mimeType, "] ->", canPlay);1162 INFO_LOG(LOGIDENTIFIER, mimeType, ": ", canPlay); 1163 1163 1164 1164 return canPlay; … … 3079 3079 MediaTime mediaTime = m_player->mediaTimeForTimeValue(time); 3080 3080 if (time != mediaTime) 3081 DEBUG_LOG(LOGIDENTIFIER, time, " media timeline equivalent is ", mediaTime);3081 INFO_LOG(LOGIDENTIFIER, time, " media timeline equivalent is ", mediaTime); 3082 3082 } 3083 3083 … … 5915 5915 void HTMLMediaElement::dispatchEvent(Event& event) 5916 5916 { 5917 DEBUG_LOG(LOGIDENTIFIER, "dispatching '", event.type(), "'");5917 DEBUG_LOG(LOGIDENTIFIER, event.type()); 5918 5918 5919 5919 HTMLElement::dispatchEvent(event); … … 7271 7271 bool HTMLMediaElement::ensureMediaControlsInjectedScript() 7272 7272 { 7273 DEBUG_LOG(LOGIDENTIFIER);7273 INFO_LOG(LOGIDENTIFIER); 7274 7274 7275 7275 Page* page = document().page(); … … 7345 7345 void HTMLMediaElement::didAddUserAgentShadowRoot(ShadowRoot& root) 7346 7346 { 7347 DEBUG_LOG(LOGIDENTIFIER);7347 INFO_LOG(LOGIDENTIFIER); 7348 7348 7349 7349 if (!ensureMediaControlsInjectedScript()) … … 7423 7423 void HTMLMediaElement::setMediaControlsDependOnPageScaleFactor(bool dependsOnPageScale) 7424 7424 { 7425 DEBUG_LOG(LOGIDENTIFIER, "MediaElement::setMediaControlsDependPageScaleFactor", dependsOnPageScale);7425 INFO_LOG(LOGIDENTIFIER, dependsOnPageScale); 7426 7426 7427 7427 if (document().settings().mediaControlsScaleWithPageZoom()) { 7428 DEBUG_LOG(LOGIDENTIFIER, "MediaElement::setMediaControlsDependPageScaleFactor", "forced to false by Settings value");7428 INFO_LOG(LOGIDENTIFIER, "forced to false by Settings value"); 7429 7429 m_mediaControlsDependOnPageScaleFactor = false; 7430 7430 return; -
trunk/Source/WebCore/html/track/InbandGenericTextTrack.cpp
r237187 r243072 126 126 updateCueFromCueData(cue.get(), cueData); 127 127 if (hasCue(cue.ptr(), TextTrackCue::IgnoreDuration)) { 128 DEBUG_LOG(LOGIDENTIFIER, "ignoring already added cue: ", cue.get());128 INFO_LOG(LOGIDENTIFIER, "ignoring already added cue: ", cue.get()); 129 129 return; 130 130 } 131 131 132 DEBUG_LOG(LOGIDENTIFIER, "added cue: ", cue.get());132 INFO_LOG(LOGIDENTIFIER, "added cue: ", cue.get()); 133 133 134 134 if (cueData.status() != GenericCueData::Complete) … … 154 154 auto cue = makeRefPtr(m_cueMap.find(cueData)); 155 155 if (cue) { 156 DEBUG_LOG(LOGIDENTIFIER, *cue);156 INFO_LOG(LOGIDENTIFIER, *cue); 157 157 removeCue(*cue); 158 158 } else 159 DEBUG_LOG(LOGIDENTIFIER, "UNABLE to find cue: ", cueData);159 INFO_LOG(LOGIDENTIFIER, "UNABLE to find cue: ", cueData); 160 160 161 161 } … … 195 195 196 196 if (hasCue(vttCue.ptr(), TextTrackCue::IgnoreDuration)) { 197 DEBUG_LOG(LOGIDENTIFIER, "ignoring already added cue: ", vttCue.get());197 INFO_LOG(LOGIDENTIFIER, "ignoring already added cue: ", vttCue.get()); 198 198 return; 199 199 } 200 200 201 DEBUG_LOG(LOGIDENTIFIER, vttCue.get());201 INFO_LOG(LOGIDENTIFIER, vttCue.get()); 202 202 203 203 addCue(WTFMove(vttCue)); -
trunk/Source/WebCore/html/track/InbandWebVTTTextTrack.cpp
r237187 r243072 73 73 auto vttCue = VTTCue::create(*scriptExecutionContext(), *cueData); 74 74 if (hasCue(vttCue.ptr(), TextTrackCue::IgnoreDuration)) { 75 DEBUG_LOG(LOGIDENTIFIER, "ignoring already added cue: ", vttCue.get());75 INFO_LOG(LOGIDENTIFIER, "ignoring already added cue: ", vttCue.get()); 76 76 return; 77 77 } 78 78 79 DEBUG_LOG(LOGIDENTIFIER, vttCue.get());79 INFO_LOG(LOGIDENTIFIER, vttCue.get()); 80 80 81 81 addCue(WTFMove(vttCue)); -
trunk/Source/WebCore/html/track/LoadableTextTrack.cpp
r237265 r243072 99 99 for (auto& newCue : newCues) { 100 100 newCue->setTrack(this); 101 DEBUG_LOG(LOGIDENTIFIER, *toVTTCue(newCue.get()));101 INFO_LOG(LOGIDENTIFIER, *toVTTCue(newCue.get())); 102 102 m_cues->add(newCue.releaseNonNull()); 103 103 } -
trunk/Source/WebCore/html/track/TextTrack.cpp
r239427 r243072 338 338 return Exception { InvalidStateError }; 339 339 340 DEBUG_LOG(LOGIDENTIFIER, cue);340 INFO_LOG(LOGIDENTIFIER, cue); 341 341 342 342 // 2. Remove cue from the method's TextTrack object's text track's text track list of cues. -
trunk/Source/WebCore/inspector/agents/WebConsoleAgent.cpp
r241729 r243072 74 74 case WTFLogLevelError: 75 75 case WTFLogLevelWarning: 76 case WTFLogLevelInfo: 76 77 level = Inspector::Protocol::Console::ChannelLevel::Basic; 77 78 break; 78 case WTFLogLevelInfo:79 79 case WTFLogLevelDebug: 80 80 level = Inspector::Protocol::Console::ChannelLevel::Verbose; -
trunk/Source/WebCore/platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp
r237266 r243072 319 319 320 320 if (count) 321 DEBUG_LOG(LOGIDENTIFIER, "added ", count, count > 1 ? " cues" : " cue", " at time ", time);321 INFO_LOG(LOGIDENTIFIER, "added ", count, count > 1 ? " cues" : " cue", " at time ", time); 322 322 323 323 Vector<Ref<GenericCueData>> arrivingCues; … … 360 360 nonExtensionCues.append(WTFMove(arrivingCue)); 361 361 else 362 DEBUG_LOG(LOGIDENTIFIER, "found an extension cue ", *cueData);362 INFO_LOG(LOGIDENTIFIER, "found an extension cue ", *cueData); 363 363 } 364 364 … … 374 374 cueData->setStatus(GenericCueData::Complete); 375 375 376 DEBUG_LOG(LOGIDENTIFIER, "updating cue ", *cueData);376 INFO_LOG(LOGIDENTIFIER, "updating cue ", *cueData); 377 377 378 378 client()->updateGenericCue(*cueData); … … 380 380 // We have to assume that the implicit duration is invalid for cues delivered during a seek because the AVF decode pipeline may not 381 381 // see every cue, so DO NOT update cue duration while seeking. 382 DEBUG_LOG(LOGIDENTIFIER, "ignoring cue delivered during seek ", *cueData);382 INFO_LOG(LOGIDENTIFIER, "ignoring cue delivered during seek ", *cueData); 383 383 } 384 384 } … … 396 396 for (auto& cueData : arrivingCues) { 397 397 m_cues.append(cueData.ptr()); 398 DEBUG_LOG(LOGIDENTIFIER, "adding cue ", cueData.get());398 INFO_LOG(LOGIDENTIFIER, "adding cue ", cueData.get()); 399 399 client()->addGenericCue(cueData); 400 400 } … … 427 427 continue; 428 428 429 DEBUG_LOG(LOGIDENTIFIER, "removing cue ", *cue);429 INFO_LOG(LOGIDENTIFIER, "removing cue ", *cue); 430 430 431 431 m_cues.remove(currentCue); … … 502 502 } 503 503 504 DEBUG_LOG(LOGIDENTIFIER, "chunk type = '", type.toString(), "', size = ", (size_t)boxLength);504 INFO_LOG(LOGIDENTIFIER, "chunk type = '", type.toString(), "', size = ", (size_t)boxLength); 505 505 506 506 do { … … 530 530 header.append("\n\n"); 531 531 532 DEBUG_LOG(LOGIDENTIFIER, "VTT header ", &header);532 INFO_LOG(LOGIDENTIFIER, "VTT header ", &header); 533 533 client()->parseWebVTTFileHeader(header.toString()); 534 534 m_haveReportedVTTHeader = true; … … 538 538 ISOWebVTTCue cueData = ISOWebVTTCue(presentationTime, duration); 539 539 cueData.read(view); 540 DEBUG_LOG(LOGIDENTIFIER, "VTT cue data ", cueData);540 INFO_LOG(LOGIDENTIFIER, "VTT cue data ", cueData); 541 541 client()->parseWebVTTCueData(cueData); 542 542 } -
trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm
r241738 r243072 1676 1676 1677 1677 #if !RELEASE_LOG_DISABLED 1678 DEBUG_LOG(LOGIDENTIFIER, "creating image took ", (MonotonicTime::now() - start).seconds());1678 INFO_LOG(LOGIDENTIFIER, "creating image took ", (MonotonicTime::now() - start).seconds()); 1679 1679 #endif 1680 1680 … … 2358 2358 2359 2359 #if !RELEASE_LOG_DISABLED 2360 DEBUG_LOG(LOGIDENTIFIER, "creating buffer took ", (MonotonicTime::now() - start).seconds());2360 INFO_LOG(LOGIDENTIFIER, "creating buffer took ", (MonotonicTime::now() - start).seconds()); 2361 2361 #endif 2362 2362 #endif // HAVE(CORE_VIDEO) … … 3155 3155 m_currentMetaData = metadata && ![metadata isKindOfClass:[NSNull class]] ? metadata : nil; 3156 3156 3157 DEBUG_LOG(LOGIDENTIFIER, "adding ", m_currentMetaData ? [m_currentMetaData.get() count] : 0, " at time ", mediaTime);3157 INFO_LOG(LOGIDENTIFIER, "adding ", m_currentMetaData ? [m_currentMetaData.get() count] : 0, " at time ", mediaTime); 3158 3158 3159 3159 #if ENABLE(DATACUE_VALUE) -
trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm
r242720 r243072 407 407 void MediaPlayerPrivateMediaSourceAVFObjC::seekWithTolerance(const MediaTime& time, const MediaTime& negativeThreshold, const MediaTime& positiveThreshold) 408 408 { 409 DEBUG_LOG(LOGIDENTIFIER, "time = ", time, ", negativeThreshold = ", negativeThreshold, ", positiveThreshold = ", positiveThreshold);409 INFO_LOG(LOGIDENTIFIER, "time = ", time, ", negativeThreshold = ", negativeThreshold, ", positiveThreshold = ", positiveThreshold); 410 410 411 411 m_seeking = true; … … 438 438 439 439 MediaTime synchronizerTime = PAL::toMediaTime(CMTimebaseGetTime([m_synchronizer timebase])); 440 DEBUG_LOG(LOGIDENTIFIER, "seekTime = ", m_lastSeekTime, ", synchronizerTime = ", synchronizerTime);440 INFO_LOG(LOGIDENTIFIER, "seekTime = ", m_lastSeekTime, ", synchronizerTime = ", synchronizerTime); 441 441 442 442 bool doesNotRequireSeek = synchronizerTime == m_lastSeekTime; … … 1164 1164 1165 1165 auto hasTarget = m_shouldPlayToTarget && m_playbackTarget->hasActiveRoute(); 1166 DEBUG_LOG(LOGIDENTIFIER, hasTarget);1166 INFO_LOG(LOGIDENTIFIER, hasTarget); 1167 1167 return hasTarget; 1168 1168 }
Note: See TracChangeset
for help on using the changeset viewer.