def get_video_size(self):
        if not self.player.source or not self.player.source.video_format:
            return 0, 0
        video_format = self.player.source.video_format
        width = video_format.width
        height = video_format.height
        if video_format.sample_aspect > 1:
            width *= video_format.sample_aspect
        elif 1 < video_format.sample_aspect:
            height /= video_format.sample_aspect
        return width, height
dataset/ETHPy150Open ardekantur/pyglet/examples/media_player.py/PlayerWindow.get_video_size/swapped operands of `<`