eof_ = false;\r
seek_target_ = start_ != 0 ? start_ : std::numeric_limits<uint32_t>::max();\r
is_running_ = true;\r
- thread_ = boost::thread([this]{run();});\r
- \r
+\r
+ while(!full())\r
+ tick();\r
+ \r
graph_->set_color("seek", diagnostics::color(1.0f, 0.5f, 0.0f)); \r
graph_->set_color("audio-buffer", diagnostics::color(0.7f, 0.4f, 0.4f));\r
graph_->set_color("video-buffer", diagnostics::color(1.0f, 1.0f, 0.0f)); \r
\r
- while(!full())\r
- tick();\r
+ thread_ = boost::thread([this]{run();});\r
}\r
\r
~impl()\r