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

When adding water mark by GPU using service, it doest not stop service when stopping service #39

Closed
KishanViramgama opened this issue Mar 7, 2020 · 0 comments

Comments

@KishanViramgama
Copy link

When adding water mark by GPU using service, it doest not stop service when stopping service

call gpuMp4Composer.cancel(); but not stop.

gpuMp4Composer = null;
gpuMp4Composer = new GPUMp4Composer(filePath_local , file_path)
		.filter(new GlWatermarkFilter(image, GlWatermarkFilter.Position.RIGHT_BOTTOM))
		.listener(new GPUMp4Composer.Listener() {
			@Override
			public void onProgress(double progress) {
				double value = progress * 100;
			}
			@Override
			public void onCompleted() {				
			}
			@Override
			public void onCanceled() {				
			}
			@Override
			public void onFailed(Exception exception) {				
			}
		})
		.start();

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

No branches or pull requests

1 participant