Bug 1878510 - When recreating WebM demuxer when encountering a new segment, propagate media time.
ClosedPublic

Authored by padenot on Jun 18 2024, 2:07 PM.

Diff Detail

Repository
rMOZILLACENTRAL mozilla-central
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: secure-revision.

Code analysis found 3 defects in diff 878257:

  • 1 defect found by clang-format
  • 2 defects found by clang-format (Mozlint)
WARNING: Found 3 defects (warning level) that can be dismissed.

You can run this analysis locally with:

  • ./mach lint --warnings --outgoing
  • ./mach clang-format -p dom/media/webm/WebMDemuxer.cpp

For your convenience, here is a patch that fixes all the clang-format defects (use it in your repository with hg import or git apply -p0).


If you see a problem in this automated review, please report it here.

You can view these defects in the Diff Detail section of Phabricator diff 878257.

alwu added a subscriber: alwu.

testing-exception-other: We will try to see if we can generate test for this, but now we want it to be landed ASAP.

dom/media/webm/WebMDemuxer.h
228

nits : Although I was using video at the first time, this is better to rename to mFrameEndTimeBeforeReset. Same for other patches.

This revision is now accepted and ready to land.Jun 18 2024, 4:38 PM
dom/media/webm/WebMDemuxer.h
228

I will do it in a follow-up bug.