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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 8u5
    • Fix Version/s: 8u20
    • Component/s: javafx
    • Environment:

      windows, MAC OSX

      Description

      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





        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: