Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setter of context in NetStream is not functional #344

Closed
PatrickSCLin opened this issue Nov 26, 2017 · 1 comment
Closed

Setter of context in NetStream is not functional #344

PatrickSCLin opened this issue Nov 26, 2017 · 1 comment
Labels
Milestone

Comments

@PatrickSCLin
Copy link

context = mixer.videoIO.context = nil, so this will cause context always be null.

open var context:CIContext? {
        get {
            return mixer.videoIO.context
        }
        set {
            mixer.videoIO.context = context
        }
    }

use newValue instead context in Setter.

open var context:CIContext? {
        get {
            return mixer.videoIO.context
        }
        set {
            mixer.videoIO.context = newValue
        }
    }
shogo4405 added a commit that referenced this issue Nov 26, 2017
@shogo4405 shogo4405 added this to the 0.8.5 milestone Nov 26, 2017
@shogo4405 shogo4405 added the bug label Nov 26, 2017
@shogo4405
Copy link
Owner

Certainly.

shogo4405 added a commit that referenced this issue Nov 26, 2017
PhilipDukhov pushed a commit to PhilipDukhov/HaishinKit.swift that referenced this issue Apr 10, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants