mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 18:50:20 +08:00
添加title
This commit is contained in:
parent
201e06dc0b
commit
5efea2d0cc
@ -101,6 +101,7 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
#endif
|
||||
|
||||
static char *url = argv[1];
|
||||
//设置退出信号处理函数
|
||||
signal(SIGINT, [](int) { SDLDisplayerHelper::Instance().shutdown(); });
|
||||
//设置日志
|
||||
@ -140,7 +141,7 @@ int main(int argc, char *argv[]) {
|
||||
decoder.set<H264Decoder>();
|
||||
}
|
||||
if(!displayer){
|
||||
displayer.set<YuvDisplayer>();
|
||||
displayer.set<YuvDisplayer>(nullptr,url);
|
||||
}
|
||||
if(!merger){
|
||||
merger.set<FrameMerger>();
|
||||
|
Loading…
Reference in New Issue
Block a user