Python Forum
Can't work out parameter format for LibVLC functions
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't work out parameter format for LibVLC functions
#10
video_set_aspect_ratio calls libvlc_video_set_aspect_ratio by using str_to_bytes(psz_aspect)
def video_set_aspect_ratio(self, psz_aspect): 
3755          '''Set new video aspect ratio. 
3756          @param psz_aspect: new video aspect-ratio or None to reset to default @note Invalid aspect ratios are ignored. 
3757          ''' 
3758          return libvlc_video_set_aspect_ratio(self, str_to_bytes(psz_aspect)) 
Reply


Messages In This Thread
RE: Can't work out parameter format for LibVLC functions - by Yoriz - Apr-30-2019, 05:23 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [ERROR] ParamValidationError: Parameter validation failed: Invalid type for parameter gdbengo 3 11,388 Dec-26-2022, 08:48 AM
Last Post: ibreeden
  main libvlc error: stale plugins cache: schascheck 2 7,811 Dec-27-2020, 05:24 PM
Last Post: schascheck
  User functions don't work: Baldev10 7 3,230 Aug-18-2020, 08:34 PM
Last Post: deanhystad
  I writte 5 functions (def) but on 6 don't work. Someone can help me? perrud 2 2,835 Feb-03-2018, 10:20 AM
Last Post: perrud

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020