summaryrefslogtreecommitdiffstats
path: root/play/index.php
diff options
context:
space:
mode:
authorPaul Arthur <flowerysong00@yahoo.com>2011-04-21 19:36:27 -0400
committerPaul Arthur <flowerysong00@yahoo.com>2011-04-21 19:36:27 -0400
commit073ea584dc49429d76f955c57639e919ce3472d8 (patch)
tree7ae3ede1d14fcb2164ecefd4085517abe58bfa84 /play/index.php
parent04d77b1a7c56be433833421eb4972355265e9fd6 (diff)
downloadampache-073ea584dc49429d76f955c57639e919ce3472d8.tar.gz
ampache-073ea584dc49429d76f955c57639e919ce3472d8.tar.bz2
ampache-073ea584dc49429d76f955c57639e919ce3472d8.zip
Fix forced transcoding. FS#1633.6-alpha1
Diffstat (limited to 'play/index.php')
-rw-r--r--play/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/play/index.php b/play/index.php
index 3e0945ba..8e41cbc5 100644
--- a/play/index.php
+++ b/play/index.php
@@ -316,6 +316,7 @@ if (((Config::get('transcode') == 'always' AND !$video) ||
'Decided to transcode. Transcode:' . Config::get('transcode') .
' Native Stream: ' . ($media->native_stream() ? 'true' : 'false') .
' Remote: ' . ($remote ? 'true' : 'false'), 5);
+ $media->set_transcode();
$fp = Stream::start_transcode($media, $media_name, $start);
$media_name = $media->f_artist_full . " - " . $media->title . "." . $media->type;
$transcoded = true;