[wp-trac] [WordPress Trac] #29176: Wrong length (duration) in wp_read_video_metadata()
WordPress Trac
noreply at wordpress.org
Wed Sep 10 21:54:32 UTC 2014
#29176: Wrong length (duration) in wp_read_video_metadata()
--------------------------+------------------
Reporter: jrf | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.1
Component: Media | Version: 3.6
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------
Changes (by wonderboymusic):
* keywords: has-patch needs-testing => has-patch
* milestone: Awaiting Review => 4.1
Comment:
You are correct, it is getting clobbered. Also need to change `ceil()` to
`round()` in `wp_read_video_metadata()` and `wp_read_audio_metadata()`.
[attachment:29176.diff] does that.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29176#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list