-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[增加日志记录和配置目录设置功能]:在mpvplayer示例程序中增加了日志记录和配置目录设置的功能,并更新了相关代码。
- 在`mainwindow.cc`中为`mpvPlayer`增加了日志文件路径设置和配置目录设置,使用`Utils`命名空间下的函数获取日志路径和配置路径。 - 更新了`mpvplayer.cc`,为`MpvPlayer`类增加了设置和获取日志文件路径以及配置目录的函数。 - 在`mpvplayer.hpp`中,为`MpvPlayer`类声明了新的公共成员函数,包括设置和获取日志文件路径及配置目录。 - 修改了`previewwidget.cc`中的`startPreview`函数,使用新的接口设置音频和字幕轨道为"no",替换了旧的阻塞方法。
- Loading branch information
Showing
4 changed files
with
57 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters