code: def libvlc_media_get_stats(p_md, p_stats):
      '''Get the current statistics about the media.
      @param p_md:: media descriptor object.
      @param p_stats:: structure that contain the statistics about the media (this structure must be allocated by the caller).
      @return: true if the statistics are available, false otherwise \libvlc_return_bool.
      '''
      f = _Cfunctions.get('libvlc_media_get_stats', None) or \
          _Cfunction('libvlc_media_get_stats', ((1,), (1,),), None,
                      ctypes.c_int, Media, ctypes.POINTER(MediaStats))
      return f(p_md, p_statsf libvlc_media_get_stats(p_md, p_stats):
      '''Get the current statistics about the media.
      @param p_md:: media descriptor object.
      @param p_stats:: structure that contain the statistics about the media (this structure must be allocated by the caller).
      @return: true if the statistics are available, false otherwise \libvlc_return_bool.
      '''
      f = _Cfunctions.get('libvlc_media_get_stats', None) or \
          _Cfunction('libvlc_media_get_stats', ((1,), (1,),), None,
                      ctypes.c_int, Media, ctypes.POINTER(MediaStats))
      return f(p_md, p_stats)
docs: Get the current statistics about the media.
      @param p_md:: media descriptor object.
      @param p_stats:: structure that contain the statistics about the media (this structure must be allocated by the caller).
      @return: true if the statistics are available, false otherwise \libvlc_return_bool.