VideoManager: Remove unused/incorrect override - #14589
Conversation
There was a problem hiding this comment.
Pull request overview
Removes an unused and incorrect override (isDmaBuf() const) from GstDmaBufVideoBuffer, addressing a compilation failure caused by a method being marked override when the base class (GstHwVideoBuffer) does not declare it.
Changes:
- Delete
bool isDmaBuf() const override { return true; }fromGstDmaBufVideoBuffer. - Leaves the DMABuf path identification to the existing
storageTag()override.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #14589 +/- ##
==========================================
+ Coverage 25.47% 30.60% +5.13%
==========================================
Files 769 785 +16
Lines 65912 66778 +866
Branches 30495 30940 +445
==========================================
+ Hits 16788 20435 +3647
+ Misses 37285 32423 -4862
- Partials 11839 13920 +2081
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
Build ResultsPlatform Status
All builds passed. Pre-commit
Pre-commit hooks: 0 passed, 0 failed, 0 skipped. Test Resultslinux-coverage-integration: 25 passed, 0 skipped Code CoverageCoverage: 66.2% No baseline available for comparison Artifact Sizes
Updated: 2026-07-06 19:00:33 UTC • Commit: f29affa • Triggered by: Android |
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
60eeaa9 to
f29affa
Compare
|
So that function does actually get used internally in Qt but at least in Qt 6.10 it was only used in QtWidgets. Something to keep an eye on if we remove this |
|
If it ever comes back it will fail compile right? |
|
Oh, ick. So this is a GST version problem in that Ubuntu 22 has an older GST? I originally thought this was just a compile time thing on an override that wasn't actually implemented. What's the way to deal with this? How does Qt run on Ubuntu 22 if this virtual is missing? |
|
This is entirely qt based and unrelated to gstreamer, since it applies to all video backends that qt supports. I guess the best solution would be to handle the error in cmake or with compile defs |


Removes the unused/incorrect
isDmaBuf() const overridefromGstDmaBufVideoBuffer. The method has no callers anywhere in the codebase.This replaces #14365, which had become unmergeable after the GStreamer backend overhaul (#... "Video: overhaul GStreamer backend and packaging") relocated
GstDmaBufVideoBuffer.hinto the newHwBuffers/dmabuf/directory. This branch re-applies the same one-line removal at the file's new location on top of currentmaster.Original author: @Ryanf55