Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Commit a27615a

Browse files
committed
Remove mp4 video job type condition
1 parent f919da9 commit a27615a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

admin/rt-transcoder-handler.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -195,11 +195,6 @@ function wp_media_transcoding( $wp_metadata, $attachment_id, $autoformat = true
195195
}
196196

197197
$job_type = 'video';
198-
/** FORMAT * */
199-
if ( 'video/mp4' === $metadata['mime_type'] && 'mp4' === $type ) {
200-
$autoformat = 'thumbnails';
201-
$job_type = 'thumbnail';
202-
}
203198

204199
if ( 'audio' === $type_array[0] ) {
205200
$job_type = 'audio';

0 commit comments

Comments
 (0)