mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-24 10:14:13 -05:00
UI: Add MP4 to remuxable extensions
This commit is contained in:
+3
-4
@@ -205,8 +205,7 @@ void RemuxEntryPathItemDelegate::paint(QPainter *painter,
|
||||
|
||||
void RemuxEntryPathItemDelegate::handleBrowse(QWidget *container)
|
||||
{
|
||||
QString OutputPattern = "(*.mp4 *.flv *.mov *.mkv *.ts *.m3u8)";
|
||||
QString InputPattern = "(*.flv *.mov *.mkv *.ts *.m3u8)";
|
||||
QString ExtensionPattern = "(*.mp4 *.flv *.mov *.mkv *.ts *.m3u8)";
|
||||
|
||||
QLineEdit *text = container->findChild<QLineEdit *>();
|
||||
|
||||
@@ -218,7 +217,7 @@ void RemuxEntryPathItemDelegate::handleBrowse(QWidget *container)
|
||||
if (isOutput) {
|
||||
QString newPath = SaveFile(container,
|
||||
QTStr("Remux.SelectTarget"),
|
||||
currentPath, OutputPattern);
|
||||
currentPath, ExtensionPattern);
|
||||
|
||||
if (!newPath.isEmpty()) {
|
||||
container->setProperty(PATH_LIST_PROP,
|
||||
@@ -229,7 +228,7 @@ void RemuxEntryPathItemDelegate::handleBrowse(QWidget *container)
|
||||
QStringList paths = OpenFiles(
|
||||
container, QTStr("Remux.SelectRecording"), currentPath,
|
||||
QTStr("Remux.OBSRecording") + QString(" ") +
|
||||
InputPattern);
|
||||
ExtensionPattern);
|
||||
|
||||
if (!paths.empty()) {
|
||||
container->setProperty(PATH_LIST_PROP, paths);
|
||||
|
||||
Reference in New Issue
Block a user