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

V0.0.11 #6

Closed
wants to merge 6 commits into from
Closed

V0.0.11 #6

wants to merge 6 commits into from

Conversation

WheheoHu
Copy link
Collaborator

添加 Add:

  • __str__方法,返回DfttTimecode对象的时间码值

    __str__method,return timecode value for DfttTimecode object

  • DfttTimecode单元测试(使用pytest)

    Unit test for DfttTimecode (Using pytest)

修改 Modify:

  • 对丢帧的检测条件添加有关23.97/23.976的判定

    Add 23.97/23.976FPS to drop frame conditions

  • + -运算符对相加的两个DfttTimecode对象的strict属性进行或运算

    + -operators performs an or operation on the strict property of two DfttTimecode objects that are added together

  • 比较运算符,比如== > >=等,在对两个DfttTimecode对象进行比较的时候会先对两个对象的帧率进行判定,若帧率不同抛出异常

    Comparison operators, such as ==, >, >=, in the comparison of two DfttTimecode objects will first compare the frame rate of the two objects, if the frame rate is different throw an exception

修复 BugFix:

  • timecode_output(self, dest_type, output_part)output_part = 3时错误返回分钟数据的问题

    Addressed a problem when output_part = 3 in timecode_output(self, dest_type, output_part) would return minute value in timecode value

@WheheoHu WheheoHu closed this Dec 19, 2022
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.

1 participant