Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
VLCKit
VLCKit
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 74
    • Issues 74
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLAN
  • VLCKitVLCKit
  • Issues
  • #276

Closed
Open
Opened May 27, 2019 by waiwai@waiwaib

set videoAspectRatio at cocoa incorrect

I try to set VLCMediaPlayer videoAspectRatio ,video frame already change, but sometimes render content alignment maybe error(video content move to left unexplainable), sometimes videoAspectRatio not work,,,i real don't known what happen with that,I attach some file for this case, please help me to fix it.thanks.normalunexplainable

code to set videoAspectRatio:

mediaPlayer?.scaleFactor = 0 mediaPlayer?.videoCropGeometry = nil mediaPlayer?.videoAspectRatio = newValue.cStringRef

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: videolan/VLCKit#276