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

Add self.filename as a VideoFileClip attribute #405

Merged
merged 1 commit into from
Feb 14, 2017

Conversation

tburrows13
Copy link
Collaborator

Docstring on lines 39-40 state that VideoFileClip has an object self.filename. This is not currently correct, as only its reader has that attribute. This PR adds filename as an attribute of the actual clip as well.
Current usage:
my_clip.reader.filename`` Proposed usage: my_clip.filename

Also added line 45 to explain that a VideoFileClip does actually have more than 2 useful attributes.

Docstring on lines 39-40 state that `VideoFileClip` has an object `self.filename`. This is not currently correct, as only its `reader` has that attribute. This commit adds `filename` as an attribute of the actual clip as well.
Current usage:
`my_clip.reader.filename`
Proposed usage:
`my_clip.filename

Also added line 45 to explain that a `VideoFileClip` does actually have more than 2 useful attributes.
@Zulko
Copy link
Owner

Zulko commented Feb 14, 2017

Thanks !

@Zulko Zulko merged commit 6453c7f into Zulko:master Feb 14, 2017
@mbeacom mbeacom added this to the Release v0.2.2.13 milestone Feb 15, 2017
@mbeacom mbeacom added the enhancement Positive change that does not change the API, i.e. improved performance, using less memory etc. label Feb 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Positive change that does not change the API, i.e. improved performance, using less memory etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants