Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

feat(context): added WithContext method for Transcoder #29

Merged
merged 1 commit into from
Aug 6, 2021

Conversation

hbomb79
Copy link
Contributor

@hbomb79 hbomb79 commented Jul 7, 2021

As mentioned in issue #10, this PR aims to provide users with an easy way to pass in a context.Context object to the transcoder.

Transcoder.Start() will now check if a context is set (via WithContext, similarily to how the transcoder is currently configured) and if there is one present it will use exec.CommandContext instead of just exec.Command.

Feedback appreciated, hope this helps.

@xfrr xfrr merged commit 9367de1 into floostack:master Aug 6, 2021
@xfrr xfrr added the enhancement New feature or request label Aug 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants