'Get the video size in pixels as 2-tuple (width, height).
@param num: video number (default 0).'

def video_get_size(self, num=0):

    r = libvlc_video_get_size(self, num)
    if (isinstance(r, tuple) and (len(r) == 2)):
        return r
    else:
        raise VLCException(('invalid    video    number    (%s)' % (num,)))
