af97242c3f5cd9c8171a1b4ceb3e8af965e67079,tools/effmpeg.py,DataItem,is_type,#DataItem#Any#,92

Before Change


        elif item_type == "audio":
            return self.type == "audio"
        elif item_type.lower() == "none":
            return self.type is None
        else:
            return False

    def set_fps(self):

After Change


    def is_type(self, item_type=None):
         Get the type 
        if item_type == "media":
            chk_type = self.type in "vid audio"
        elif item_type == "dir":
            chk_type = self.type == "dir"
        elif item_type == "vid":
            chk_type = self.type == "vid"
        elif item_type == "audio":
            chk_type = self.type == "audio"
        elif item_type.lower() == "none":
            chk_type = self.type is None
        else:
            chk_type = False
        logger.debug("item_type: "%s", chk_type: "%s"", item_type, chk_type)
        return chk_type

    def set_fps(self):
         Set the Frames Per Second 
        try:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 11

Non-data size: 5

Instances


Project Name: deepfakes/faceswap
Commit Name: af97242c3f5cd9c8171a1b4ceb3e8af965e67079
Time: 2019-02-24
Author: 36920800+torzdf@users.noreply.github.com
File Name: tools/effmpeg.py
Class Name: DataItem
Method Name: is_type


Project Name: deepfakes/faceswap
Commit Name: af97242c3f5cd9c8171a1b4ceb3e8af965e67079
Time: 2019-02-24
Author: 36920800+torzdf@users.noreply.github.com
File Name: tools/effmpeg.py
Class Name: Effmpeg
Method Name: __check_is_valid_time


Project Name: home-assistant/home-assistant
Commit Name: 8009542b3e85cc6aff18a45e7d9da6995f2a0123
Time: 2016-01-25
Author: tim@weeble.info
File Name: homeassistant/components/light/lifx.py
Class Name: LIFXLight
Method Name: brightness


Project Name: deepfakes/faceswap
Commit Name: af97242c3f5cd9c8171a1b4ceb3e8af965e67079
Time: 2019-02-24
Author: 36920800+torzdf@users.noreply.github.com
File Name: tools/effmpeg.py
Class Name: Effmpeg
Method Name: parse_time


Project Name: horovod/horovod
Commit Name: cb6bb26d0f5469f48d054196764c04f6d7bce797
Time: 2020-06-13
Author: github@enrico.minack.dev
File Name: horovod/spark/driver/rsh.py
Class Name:
Method Name: rsh


Project Name: home-assistant/home-assistant
Commit Name: 8009542b3e85cc6aff18a45e7d9da6995f2a0123
Time: 2016-01-25
Author: tim@weeble.info
File Name: homeassistant/components/light/lifx.py
Class Name: LIFXLight
Method Name: color_temp


Project Name: pantsbuild/pants
Commit Name: d88e7595485d87071e8a1678a27b76f0fe2f3bc8
Time: 2016-11-05
Author: kwilson@twopensource.com
File Name: src/python/pants/base/fingerprint_strategy.py
Class Name: TaskIdentityFingerprintStrategy
Method Name: compute_fingerprint


Project Name: deepfakes/faceswap
Commit Name: b07c8cbe4889f39221955a27d22d52052b7e7c2a
Time: 2019-03-05
Author: 36920800+torzdf@users.noreply.github.com
File Name: tools/lib_alignments/jobs.py
Class Name: Rename
Method Name: check_multi_hashes


Project Name: deepfakes/faceswap
Commit Name: af97242c3f5cd9c8171a1b4ceb3e8af965e67079
Time: 2019-02-24
Author: 36920800+torzdf@users.noreply.github.com
File Name: tools/effmpeg.py
Class Name: DataItem
Method Name: is_type


Project Name: deepfakes/faceswap
Commit Name: af97242c3f5cd9c8171a1b4ceb3e8af965e67079
Time: 2019-02-24
Author: 36920800+torzdf@users.noreply.github.com
File Name: tools/effmpeg.py
Class Name: Effmpeg
Method Name: __check_equals_time


Project Name: Microsoft/nni
Commit Name: 73b2221b5eb4fd21802e6bf41e21d5df8ef9bf2c
Time: 2019-11-22
Author: v-yugzh@microsoft.com
File Name: src/sdk/pynni/nni/nas/pytorch/mutator.py
Class Name: Mutator
Method Name: _get_decision


Project Name: home-assistant/home-assistant
Commit Name: 754d536974fccd0768b90938d79071ba0910714a
Time: 2016-10-21
Author: martin@dasos.com
File Name: homeassistant/components/media_player/squeezebox.py
Class Name: SqueezeBoxDevice
Method Name: media_image_url