[Windows] Supports optional frame_rate for progressive playback. [chromium/src : main]

0 views
Skip to first unread message

Qiu, Jianlin (Gerrit)

unread,
Jan 20, 2026, 4:52:15 AM (21 hours ago) Jan 20
to chromium...@chromium.org, chromeos-gfx-...@google.com, feature-me...@chromium.org, ipc-securi...@chromium.org, media-cro...@chromium.org, media-wi...@chromium.org

Qiu, Jianlin voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: If8a72aee75c6cbd9cb11e623171cae30a271f2a8
Gerrit-Change-Number: 7496971
Gerrit-PatchSet: 1
Gerrit-Owner: Qiu, Jianlin <jianl...@intel.com>
Gerrit-Reviewer: Qiu, Jianlin <jianl...@intel.com>
Gerrit-Comment-Date: Tue, 20 Jan 2026 09:51:58 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

gwsq (Gerrit)

unread,
Jan 20, 2026, 6:31:43 AM (20 hours ago) Jan 20
to Qiu, Jianlin, Chromium IPC Reviews, Ken Buchanan, Dale Curtis, Chromium LUCI CQ, chromium...@chromium.org, chromeos-gfx-...@google.com, feature-me...@chromium.org, ipc-securi...@chromium.org, media-cro...@chromium.org, media-wi...@chromium.org
Attention needed from Dale Curtis and Ken Buchanan

Message from gwsq

From googleclient/chrome/chromium_gwsq/ipc/config.gwsq:
IPC: ke...@chromium.org

📎 It looks like you’re making a possibly security-sensitive change! 📎 IPC security review isn’t a rubberstamp, so your friendly security reviewer will need a fair amount of context to review your CL effectively. Please review your CL description and code comments to make sure they provide context for someone unfamiliar with your project/area. Pay special attention to where data comes from and which processes it flows between (and their privilege levels). Feel free to point your security reviewer at design docs, bugs, or other links if you can’t reasonably make a self-contained CL description. (Also see https://cbea.ms/git-commit/).

IPC reviewer(s): ke...@chromium.org


Reviewer source(s):
ke...@chromium.org is from context(googleclient/chrome/chromium_gwsq/ipc/config.gwsq)

Open in Gerrit

Related details

Attention is currently required from:
  • Dale Curtis
  • Ken Buchanan
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: If8a72aee75c6cbd9cb11e623171cae30a271f2a8
Gerrit-Change-Number: 7496971
Gerrit-PatchSet: 2
Gerrit-Owner: Qiu, Jianlin <jianl...@intel.com>
Gerrit-Reviewer: Dale Curtis <dalec...@chromium.org>
Gerrit-Reviewer: Ken Buchanan <ke...@chromium.org>
Gerrit-Reviewer: Qiu, Jianlin <jianl...@intel.com>
Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
Gerrit-CC: gwsq
Gerrit-Attention: Ken Buchanan <ke...@chromium.org>
Gerrit-Attention: Dale Curtis <dalec...@chromium.org>
Gerrit-Comment-Date: Tue, 20 Jan 2026 11:31:11 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Ken Buchanan (Gerrit)

unread,
Jan 20, 2026, 11:07:42 AM (15 hours ago) Jan 20
to Qiu, Jianlin, Chromium IPC Reviews, Dale Curtis, Chromium LUCI CQ, chromium...@chromium.org, chromeos-gfx-...@google.com, feature-me...@chromium.org, ipc-securi...@chromium.org, media-cro...@chromium.org, media-wi...@chromium.org
Attention needed from Dale Curtis and Qiu, Jianlin

Ken Buchanan voted and added 1 comment

Votes added by Ken Buchanan

Code-Review+1

1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Ken Buchanan . resolved

mojom lgtm

Open in Gerrit

Related details

Attention is currently required from:
  • Dale Curtis
  • Qiu, Jianlin
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: If8a72aee75c6cbd9cb11e623171cae30a271f2a8
    Gerrit-Change-Number: 7496971
    Gerrit-PatchSet: 2
    Gerrit-Owner: Qiu, Jianlin <jianl...@intel.com>
    Gerrit-Reviewer: Dale Curtis <dalec...@chromium.org>
    Gerrit-Reviewer: Ken Buchanan <ke...@chromium.org>
    Gerrit-Reviewer: Qiu, Jianlin <jianl...@intel.com>
    Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
    Gerrit-CC: gwsq
    Gerrit-Attention: Qiu, Jianlin <jianl...@intel.com>
    Gerrit-Attention: Dale Curtis <dalec...@chromium.org>
    Gerrit-Comment-Date: Tue, 20 Jan 2026 16:07:35 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Dale Curtis (Gerrit)

    unread,
    Jan 20, 2026, 2:25:41 PM (12 hours ago) Jan 20
    to Qiu, Jianlin, Ken Buchanan, Chromium IPC Reviews, Chromium LUCI CQ, chromium...@chromium.org, chromeos-gfx-...@google.com, feature-me...@chromium.org, ipc-securi...@chromium.org, media-cro...@chromium.org, media-wi...@chromium.org
    Attention needed from Qiu, Jianlin

    Dale Curtis added 1 comment

    Patchset-level comments
    Dale Curtis . unresolved

    This is only going to work for src= video which is pretty rare. You would instead need to add this support to MSE if you want this to work on YT and elsewhere.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Qiu, Jianlin
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: If8a72aee75c6cbd9cb11e623171cae30a271f2a8
      Gerrit-Change-Number: 7496971
      Gerrit-PatchSet: 2
      Gerrit-Owner: Qiu, Jianlin <jianl...@intel.com>
      Gerrit-Reviewer: Dale Curtis <dalec...@chromium.org>
      Gerrit-Reviewer: Ken Buchanan <ke...@chromium.org>
      Gerrit-Reviewer: Qiu, Jianlin <jianl...@intel.com>
      Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
      Gerrit-CC: gwsq
      Gerrit-Attention: Qiu, Jianlin <jianl...@intel.com>
      Gerrit-Comment-Date: Tue, 20 Jan 2026 19:25:32 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Dale Curtis (Gerrit)

      unread,
      Jan 20, 2026, 2:26:38 PM (12 hours ago) Jan 20
      to Qiu, Jianlin, Ken Buchanan, Chromium IPC Reviews, Chromium LUCI CQ, chromium...@chromium.org, chromeos-gfx-...@google.com, feature-me...@chromium.org, ipc-securi...@chromium.org, media-cro...@chromium.org, media-wi...@chromium.org
      Attention needed from Qiu, Jianlin

      Dale Curtis added 1 comment

      Commit Message
      Line 12, Patchset 2 (Latest):configured, instead of hard code to 60fps which blocks super resolution
      Dale Curtis . unresolved

      AFAIK we only enable super resolution at composition time not decode time, which is not done in this code (decode time). That instead happens at swap chain presenter?

      Gerrit-Comment-Date: Tue, 20 Jan 2026 19:26:27 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Qiu, Jianlin (Gerrit)

      unread,
      Jan 20, 2026, 7:33:26 PM (7 hours ago) Jan 20
      to Ken Buchanan, Chromium IPC Reviews, Dale Curtis, Chromium LUCI CQ, chromium...@chromium.org, chromeos-gfx-...@google.com, feature-me...@chromium.org, ipc-securi...@chromium.org, media-cro...@chromium.org, media-wi...@chromium.org
      Attention needed from Dale Curtis

      Qiu, Jianlin added 2 comments

      Patchset-level comments
      Dale Curtis . unresolved

      This is only going to work for src= video which is pretty rare. You would instead need to add this support to MSE if you want this to work on YT and elsewhere.

      Qiu, Jianlin

      Yes as indicated the in commit message, supporting populating framerate will be added with another seperate CL.

      My plan is to use the information in the 'trex' box for fragmented mp4, and also reference the stts/stsz box -> But that seems to introducing overhead for parsing them.

      Any suggestions?

      Commit Message
      Line 12, Patchset 2 (Latest):configured, instead of hard code to 60fps which blocks super resolution
      Dale Curtis . unresolved

      AFAIK we only enable super resolution at composition time not decode time, which is not done in this code (decode time). That instead happens at swap chain presenter?

      Qiu, Jianlin

      Yes that happens at swapchain presenter. After MSE also delivers framerate information to compositor, I'll add change in VideoResourceUpdater to make sure TextureDrawQuad and VideoHoleDrawQuad includes the framerate information, so they can be featured by the overlay processor.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Dale Curtis
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: If8a72aee75c6cbd9cb11e623171cae30a271f2a8
      Gerrit-Change-Number: 7496971
      Gerrit-PatchSet: 2
      Gerrit-Owner: Qiu, Jianlin <jianl...@intel.com>
      Gerrit-Reviewer: Dale Curtis <dalec...@chromium.org>
      Gerrit-Reviewer: Ken Buchanan <ke...@chromium.org>
      Gerrit-Reviewer: Qiu, Jianlin <jianl...@intel.com>
      Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
      Gerrit-CC: gwsq
      Gerrit-Attention: Dale Curtis <dalec...@chromium.org>
      Gerrit-Comment-Date: Wed, 21 Jan 2026 00:33:17 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Dale Curtis <dalec...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Dale Curtis (Gerrit)

      unread,
      Jan 20, 2026, 7:35:34 PM (7 hours ago) Jan 20
      to Qiu, Jianlin, Ken Buchanan, Chromium IPC Reviews, Chromium LUCI CQ, chromium...@chromium.org, chromeos-gfx-...@google.com, feature-me...@chromium.org, ipc-securi...@chromium.org, media-cro...@chromium.org, media-wi...@chromium.org
      Attention needed from Qiu, Jianlin

      Dale Curtis added 2 comments

      Patchset-level comments
      Dale Curtis . unresolved

      This is only going to work for src= video which is pretty rare. You would instead need to add this support to MSE if you want this to work on YT and elsewhere.

      Qiu, Jianlin

      Yes as indicated the in commit message, supporting populating framerate will be added with another seperate CL.

      My plan is to use the information in the 'trex' box for fragmented mp4, and also reference the stts/stsz box -> But that seems to introducing overhead for parsing them.

      Any suggestions?

      Dale Curtis

      That sounds right, but I'd have to go check the relevant specs. I'd probably just do what ffmpeg is doing.

      Commit Message
      Line 12, Patchset 2 (Latest):configured, instead of hard code to 60fps which blocks super resolution
      Dale Curtis . unresolved

      AFAIK we only enable super resolution at composition time not decode time, which is not done in this code (decode time). That instead happens at swap chain presenter?

      Qiu, Jianlin

      Yes that happens at swapchain presenter. After MSE also delivers framerate information to compositor, I'll add change in VideoResourceUpdater to make sure TextureDrawQuad and VideoHoleDrawQuad includes the framerate information, so they can be featured by the overlay processor.

      Dale Curtis

      But why do we need this code change at all then? Isn't it okay that we use 60fps during the decode stage? The compositor portion should already have access to the actual render interval: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/graphics/video_frame_submitter.cc;l=874;drc=0d56d0143aa2bb6c7bfad81a4e27063ad2a9de8a

      which properly accounts for playbackRate.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Qiu, Jianlin
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: If8a72aee75c6cbd9cb11e623171cae30a271f2a8
      Gerrit-Change-Number: 7496971
      Gerrit-PatchSet: 2
      Gerrit-Owner: Qiu, Jianlin <jianl...@intel.com>
      Gerrit-Reviewer: Dale Curtis <dalec...@chromium.org>
      Gerrit-Reviewer: Ken Buchanan <ke...@chromium.org>
      Gerrit-Reviewer: Qiu, Jianlin <jianl...@intel.com>
      Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
      Gerrit-CC: gwsq
      Gerrit-Attention: Qiu, Jianlin <jianl...@intel.com>
      Gerrit-Comment-Date: Wed, 21 Jan 2026 00:35:17 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Qiu, Jianlin <jianl...@intel.com>
      Comment-In-Reply-To: Dale Curtis <dalec...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Qiu, Jianlin (Gerrit)

      unread,
      Jan 20, 2026, 7:45:37 PM (6 hours ago) Jan 20
      to Ken Buchanan, Chromium IPC Reviews, Dale Curtis, Chromium LUCI CQ, chromium...@chromium.org, chromeos-gfx-...@google.com, feature-me...@chromium.org, ipc-securi...@chromium.org, media-cro...@chromium.org, media-wi...@chromium.org
      Attention needed from Dale Curtis

      Qiu, Jianlin added 1 comment

      Commit Message
      Line 12, Patchset 2 (Latest):configured, instead of hard code to 60fps which blocks super resolution
      Dale Curtis . unresolved

      AFAIK we only enable super resolution at composition time not decode time, which is not done in this code (decode time). That instead happens at swap chain presenter?

      Qiu, Jianlin

      Yes that happens at swapchain presenter. After MSE also delivers framerate information to compositor, I'll add change in VideoResourceUpdater to make sure TextureDrawQuad and VideoHoleDrawQuad includes the framerate information, so they can be featured by the overlay processor.

      Dale Curtis

      But why do we need this code change at all then? Isn't it okay that we use 60fps during the decode stage? The compositor portion should already have access to the actual render interval: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/graphics/video_frame_submitter.cc;l=874;drc=0d56d0143aa2bb6c7bfad81a4e27063ad2a9de8a

      which properly accounts for playbackRate.

      Qiu, Jianlin

      I intend to replace the hard-code here: https://source.chromium.org/chromium/chromium/src/+/main:ui/gl/dc_layer_tree.cc;l=451;drc=0d56d0143aa2bb6c7bfad81a4e27063ad2a9de8a

      Yes using the actual render interval should be a better solution.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Dale Curtis
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: If8a72aee75c6cbd9cb11e623171cae30a271f2a8
      Gerrit-Change-Number: 7496971
      Gerrit-PatchSet: 2
      Gerrit-Owner: Qiu, Jianlin <jianl...@intel.com>
      Gerrit-Reviewer: Dale Curtis <dalec...@chromium.org>
      Gerrit-Reviewer: Ken Buchanan <ke...@chromium.org>
      Gerrit-Reviewer: Qiu, Jianlin <jianl...@intel.com>
      Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
      Gerrit-CC: gwsq
      Gerrit-Attention: Dale Curtis <dalec...@chromium.org>
      Gerrit-Comment-Date: Wed, 21 Jan 2026 00:45:26 +0000
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Qiu, Jianlin (Gerrit)

      unread,
      Jan 20, 2026, 7:49:09 PM (6 hours ago) Jan 20
      to Ken Buchanan, Chromium IPC Reviews, Dale Curtis, Chromium LUCI CQ, chromium...@chromium.org, chromeos-gfx-...@google.com, feature-me...@chromium.org, ipc-securi...@chromium.org, media-cro...@chromium.org, media-wi...@chromium.org
      Attention needed from Dale Curtis and Ken Buchanan

      Qiu, Jianlin added 1 comment

      Commit Message
      Line 12, Patchset 2 (Latest):configured, instead of hard code to 60fps which blocks super resolution
      Dale Curtis . unresolved

      AFAIK we only enable super resolution at composition time not decode time, which is not done in this code (decode time). That instead happens at swap chain presenter?

      Qiu, Jianlin

      Yes that happens at swapchain presenter. After MSE also delivers framerate information to compositor, I'll add change in VideoResourceUpdater to make sure TextureDrawQuad and VideoHoleDrawQuad includes the framerate information, so they can be featured by the overlay processor.

      Dale Curtis

      But why do we need this code change at all then? Isn't it okay that we use 60fps during the decode stage? The compositor portion should already have access to the actual render interval: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/graphics/video_frame_submitter.cc;l=874;drc=0d56d0143aa2bb6c7bfad81a4e27063ad2a9de8a

      which properly accounts for playbackRate.

      Qiu, Jianlin

      I intend to replace the hard-code here: https://source.chromium.org/chromium/chromium/src/+/main:ui/gl/dc_layer_tree.cc;l=451;drc=0d56d0143aa2bb6c7bfad81a4e27063ad2a9de8a

      Yes using the actual render interval should be a better solution.

      Qiu, Jianlin

      I'm holding this CL, and switch to use rendering interval for FPS calculation. (effectively depending on PTS for the rate).

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Dale Curtis
      • Ken Buchanan
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: If8a72aee75c6cbd9cb11e623171cae30a271f2a8
      Gerrit-Change-Number: 7496971
      Gerrit-PatchSet: 2
      Gerrit-Owner: Qiu, Jianlin <jianl...@intel.com>
      Gerrit-Reviewer: Dale Curtis <dalec...@chromium.org>
      Gerrit-Reviewer: Ken Buchanan <ke...@chromium.org>
      Gerrit-Reviewer: Qiu, Jianlin <jianl...@intel.com>
      Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
      Gerrit-CC: gwsq
      Gerrit-Attention: Ken Buchanan <ke...@chromium.org>
      Gerrit-Attention: Dale Curtis <dalec...@chromium.org>
      Gerrit-Comment-Date: Wed, 21 Jan 2026 00:48:59 +0000
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy
      Reply all
      Reply to author
      Forward
      0 new messages