Do *not* throw away the first 8 packets when converting FLV. Bad!

This commit is contained in:
Thulinma 2013-07-02 15:47:54 +02:00
parent bfecf417dc
commit 0e41e88569

View file

@ -42,6 +42,7 @@ namespace Converters {
sending = true; sending = true;
meta_out["moreheader"] = 0LL; meta_out["moreheader"] = 0LL;
output << meta_out.toNetPacked(); output << meta_out.toNetPacked();
output << prebuffer.rdbuf();
prebuffer.str(""); prebuffer.str("");
std::cerr << "Buffer done, starting real-time output..." << std::endl; std::cerr << "Buffer done, starting real-time output..." << std::endl;
}else{ }else{