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

Commits on Feb 14, 2017

  1. Added self.filename as a VideoFileClip attribute

    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.
    tburrows13 authored Feb 14, 2017
    Configuration menu
    Copy the full SHA
    3436cc3 View commit details
    Browse the repository at this point in the history