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