Skip to content

Commit

Permalink
#293 make sure -fullres isn't currently encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
kylegilman committed Mar 13, 2016
1 parent f090322 commit 56733b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion video-embed-thumbnail-generator.php
Expand Up @@ -3211,7 +3211,7 @@ function kgvid_generate_encode_checkboxes($movieurl, $post_id, $page, $blog_id =

if ( $format == 'fullres' ) {

if ( $encodevideo_info['fullres']['exists'] == true ) {
if ( $encodevideo_info['fullres']['exists'] == true && $format_stats['status'] != "encoding" ) {
unlink($encodevideo_info[$format]['filepath']);
$encodevideo_info['fullres']['exists'] = false;
}
Expand Down

1 comment on commit 56733b8

@kylegilman
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also affects #297

Please sign in to comment.