Skip to content

Commit 2e18d69

Browse files
authored
Merge pull request #21 from jdufresne/log-duration
Log the duration value when it exists
2 parents dcc740d + 5b63abc commit 2e18d69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fix-webm-duration.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,10 +445,10 @@
445445
var durationSection = infoSection.getSectionById(0x489);
446446
if (durationSection) {
447447
if (durationSection.getValue() <= 0) {
448-
logger('[fix-webm-duration] Duration section is present, but the value is empty');
448+
logger(`[fix-webm-duration] Duration section is present, but the value is ${durationSection.getValue()}`);
449449
durationSection.setValue(duration);
450450
} else {
451-
logger('[fix-webm-duration] Duration section is present');
451+
logger(`[fix-webm-duration] Duration section is present, and the value is ${durationSection.getValue()}`);
452452
return false;
453453
}
454454
} else {

0 commit comments

Comments
 (0)