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

Fix GlVideoRenderer.hasFilters() logic #135

Merged
merged 1 commit into from
Sep 29, 2021

Conversation

izzytwosheds
Copy link
Contributor

GlVideoRenderer.hasFilters() always returned true, since it always had a DefaultFrameRendererFilter
Intended behavior of hasFilters() method is to see if renderer has user provided filters, which would mean that user is modifying video frames, which in turn means that we cannot use a PassthroughTrackTranscoder. Fixing this now.

Copy link
Collaborator

@ReallyVasiliy ReallyVasiliy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍
We should be mindful of updating the flag if we provide a way to modify filters outside the ctor in the future

@izzytwosheds izzytwosheds merged commit 9ea8690 into linkedin:main Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants