diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-02-23 16:00:51 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-02-23 16:00:51 +0000 |
commit | 239db889b2b9e72b8c8ef1b64e18fe2db659582d (patch) | |
tree | fb75741b16afc0b6fbf2e285c421f2cdd57eb495 /lib/stream.lib.php | |
parent | 7db588f7da78af36dc8d520f9ad4010ebb3f1a81 (diff) | |
download | ampache-239db889b2b9e72b8c8ef1b64e18fe2db659582d.tar.gz ampache-239db889b2b9e72b8c8ef1b64e18fe2db659582d.tar.bz2 ampache-239db889b2b9e72b8c8ef1b64e18fe2db659582d.zip |
added b flag to the popen in downsampling
Diffstat (limited to 'lib/stream.lib.php')
-rw-r--r-- | lib/stream.lib.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stream.lib.php b/lib/stream.lib.php index 4668ee92..37674d7b 100644 --- a/lib/stream.lib.php +++ b/lib/stream.lib.php @@ -250,7 +250,7 @@ function start_downsample($song,$now_playing_id=0,$song_name=0) { log_event($GLOBALS['user']->username,' downsample ',$message); } // if debug - $fp = @popen($downsample_command, 'r'); + $fp = @popen($downsample_command, 'rb'); /* We need more than just the handle here */ $return_array['handle'] = $fp; |