weixin_39620653 2020-11-22 02:26
浏览 0

Dynamic aspect ratio painter for the CallbackMediaPlayerComponent

On the direct rendering callback media player, setting the aspect ratio by normal methods has no effect.

Aspect ratio is a presentation issue, and the app that renders (presents) the video that is responsible for scaling it and therefore for rendering in the desired aspect ratio.

Consider adding a new "painter" implementation that allows dynamic setting of the aspect ratio.

There may need to be some way to force it repaint the current frame e.g. if the media is stopped.

Consider adding something similar for cropping.

See https://github.com/caprica/vlcj-javafx/issues/2

该提问来源于开源项目:caprica/vlcj

  • 写回答

11条回答 默认 最新

  • weixin_39620653 2020-11-22 02:26
    关注

    May come back to this in the future, for now it's in the long grass.

    评论

报告相同问题?