diff options
author | Val Doroshchuk <valentyn.doroshchuk@qt.io> | 2020-09-22 13:04:44 +0200 |
---|---|---|
committer | Val Doroshchuk <valentyn.doroshchuk@qt.io> | 2020-09-24 11:30:48 +0200 |
commit | bf82ab669c53c4b9abb724e197252a788323095e (patch) | |
tree | 88de9b04c52327bc650662756eecf43d4e6f84b0 /src/plugins/directshow/common/directshowutils.h | |
parent | ce6440c999c34a2b80fa25121e893eccf68203a5 (diff) | |
download | qtmultimedia-bf82ab669c53c4b9abb724e197252a788323095e.tar.gz |
DirectShow: Use also pin category when negotiating
The pin should be negotiated once and use PIN_CATEGORY_CAPTURE.
The same logic is implemented in chromium.
Pick-to: 5.15
Change-Id: I89ac13c1a7e982c1011b2a872e853ee5bc2036b2
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'src/plugins/directshow/common/directshowutils.h')
-rw-r--r-- | src/plugins/directshow/common/directshowutils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/directshow/common/directshowutils.h b/src/plugins/directshow/common/directshowutils.h index 5f2cfaa23..ec761abe6 100644 --- a/src/plugins/directshow/common/directshowutils.h +++ b/src/plugins/directshow/common/directshowutils.h @@ -68,7 +68,7 @@ struct ScopedSafeRelease } }; -bool getPin(IBaseFilter *filter, PIN_DIRECTION pinDirection, IPin **pin, HRESULT *hrOut); +bool getPin(IBaseFilter *filter, PIN_DIRECTION pinDirection, REFGUID category, IPin **pin, HRESULT *hrOut); bool isPinConnected(IPin *pin, HRESULT *hrOut = nullptr); bool hasPinDirection(IPin *pin, PIN_DIRECTION direction, HRESULT *hrOut = nullptr); bool matchPin(IPin *pin, PIN_DIRECTION pinDirection, BOOL shouldBeConnected, HRESULT *hrOut = nullptr); |