Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8092765

MediaView not doing pillar-boxing and unable to Align video in center position of MediaView in jdk1.8.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • 8u20
    • 8u5
    • javafx
    • windows, MAC OSX

      Hi,


      I am developing video-editing software, previously it is running on jdk1.7.0_u45 successfully.
      When I tried to run this with jdk1.8.0 latest release it starts reflecting some problem.

      One problem with MediaView I am facing is MediaView not doing pillor-boxing when the provided area is not the same aspect ratio as that of the video aspect ratio. I am inserting mediaview to BordarPane and it is not taking dimensions of border pan and keeping video in center by putting pillor box. It is coming on top-left corner of border pan. I want media view in center of border pan.

      Please suggest any work-around for this.
      I can provide a test-Application in which it is easily reproducible but as my JIRA Account do not have facility to attach any file with the JIRA-case, so I will make available externally.

      Thanks & Regards
      Rahul K Sharma





            msladecek Martin Sládeček
            rahuljfx Rahul (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: