[wp-trac] [WordPress Trac] #56217: Add video rotation info in wp_read_video_metadata()

WordPress Trac noreply at wordpress.org
Sun Oct 30 13:51:27 UTC 2022


#56217: Add video rotation info in wp_read_video_metadata()
--------------------------------------+------------------------------
 Reporter:  opajaap                   |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Media                     |     Version:  6.0
 Severity:  normal                    |  Resolution:
 Keywords:  has-unit-tests has-patch  |     Focuses:
--------------------------------------+------------------------------

Comment (by opajaap):

 Still not fixed in 6.1-RC5

 Does it take over three months to add this simple harmless foolproof
 code?:
 {{{#!php
 <?php
 // Rotated?
         if ( isset( $mp4info['rotate'] ) ) {
                 $rot = $mp4info['rotate'];
                 if ( $rot == 90 || $rot == 270 ) {
                         $t = $videox;
                         $videox = $videoy;
                         $videoy = $t;
                 }
         }
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56217#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list