Skip to content

Acquire/ReleaseStreamForApplicationWithReference does not work correctly on Windows #68

Description

@caner-milko

Hi,
CNTV2DriverInterface::ReleaseStreamForApplicationWithReference, CNTV2DriverInterface::AcquireStreamForApplicationWithReference and CNTV2DriverInterface::ReleaseStreamForApplication functions don't work based on reference count on Windows, though they work as expected on Linux.

To reproduce, call AcquireStreamForApplicationWithReference function twice, then call ReleaseStreamForApplicationWithReference. The stream stays acquired on Linux, but the stream gets released on Windows.

Replacing the reference count registers with their windows equivalent seems to solve the issue(ie. kVRegReleaseLinuxReferenceCount -> kVRegReleaseReferenceCount) for Windows.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions