Ticket #11310: disable_object_buffering.patch

File disable_object_buffering.patch, 512 bytes (added by antonio.e.russo@…, 8 years ago)

disable object buffering before readfile in mythvideo

Line 
1diff -c -r a/modules/video/stream.php b/modules/video/stream.php
2*** a/modules/video/stream.php  2013-01-02 19:39:08.927433000 -0800
3--- b/modules/video/stream.php  2013-01-02 19:42:15.984312568 -0800
4***************
5*** 63,68 ****
6--- 63,71 ----
7      if (stripos($Master_Host,':') !== false) {
8          $Master_Host = '['.$Master_Host.']';
9      }
10+     if (ob_get_level()) {
11+         ob_end_clean();
12+     }
13      readfile("http://$Master_Host:$port/Content/GetVideo?Id=".$vid_id);
14 
15  // Nothing else to do