Skip to content

Commit

Permalink
ストリーム終了ボタンで ffmpeg が終了できない不具合を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
tsukumijima committed Feb 19, 2020
1 parent e3a3415 commit 7ac1d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ function getCSV($csvfile, $encoding='UTF-16LE'){
if (!file_exists($csvfile)) return false;

// 行頭と行末の改行・BOM削除・UTF-8へ変換
file_put_contents($csvfile, trim(removeBOM(mb_convert_encoding(file_get_contents($csvfile), 'UTF-8', $encoding))));
file_put_contents($csvfile, str_replace('yadif=0:-1:1,', 'yadif=0:-1:1.', trim(removeBOM(mb_convert_encoding(file_get_contents($csvfile), 'UTF-8', $encoding)))));

// SplFileObject()を使用してCSVロード
$file = new SplFileObject($csvfile);
Expand Down

0 comments on commit 7ac1d4d

Please sign in to comment.