mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 687972. Add a little bit more logging.
This commit is contained in:
parent
b5caa28910
commit
4ef340dbbe
@ -644,7 +644,9 @@ void nsBuiltinDecoder::NotifySuspendedStatusChanged()
|
||||
NS_ASSERTION(NS_IsMainThread(), "Should be on main thread.");
|
||||
if (!mStream)
|
||||
return;
|
||||
if (mStream->IsSuspendedByCache() && mElement) {
|
||||
bool suspended = mStream->IsSuspendedByCache();
|
||||
printf("*** nsBuiltinDecoder::NotifySuspendedStatusChanged(%p), suspended=%d\n", this, suspended);
|
||||
if (suspended && mElement) {
|
||||
// if this is an autoplay element, we need to kick off its autoplaying
|
||||
// now so we consume data and hopefully free up cache space
|
||||
mElement->NotifyAutoplayDataReady();
|
||||
|
Loading…
Reference in New Issue
Block a user