Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
75a5efb2
Commit
75a5efb2
authored
Mar 15, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: provide a way to dump from the convert dialog.
parent
97513e31
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
9 deletions
+19
-9
modules/gui/qt4/dialogs/convert.cpp
modules/gui/qt4/dialogs/convert.cpp
+18
-8
modules/gui/qt4/dialogs/convert.hpp
modules/gui/qt4/dialogs/convert.hpp
+1
-1
No files found.
modules/gui/qt4/dialogs/convert.cpp
View file @
75a5efb2
...
@@ -80,11 +80,14 @@ ConvertDialog::ConvertDialog( QWidget *parent, intf_thread_t *_p_intf,
...
@@ -80,11 +80,14 @@ ConvertDialog::ConvertDialog( QWidget *parent, intf_thread_t *_p_intf,
QGridLayout
*
settingLayout
=
new
QGridLayout
(
settingBox
);
QGridLayout
*
settingLayout
=
new
QGridLayout
(
settingBox
);
profile
=
new
VLCProfileSelector
(
this
);
profile
=
new
VLCProfileSelector
(
this
);
settingLayout
->
addWidget
(
profile
,
0
,
0
);
settingLayout
->
addWidget
(
profile
,
0
,
0
,
1
,
-
1
);
deinterBox
=
new
QCheckBox
(
qtr
(
"Deinterlace"
)
);
deinterBox
=
new
QCheckBox
(
qtr
(
"Deinterlace"
)
);
settingLayout
->
addWidget
(
deinterBox
,
1
,
0
);
settingLayout
->
addWidget
(
deinterBox
,
1
,
0
);
dumpBox
=
new
QCheckBox
(
qtr
(
"Dump raw input"
)
);
settingLayout
->
addWidget
(
dumpBox
,
1
,
1
);
mainLayout
->
addWidget
(
settingBox
,
3
,
0
,
1
,
-
1
);
mainLayout
->
addWidget
(
settingBox
,
3
,
0
,
1
,
-
1
);
/* Buttons */
/* Buttons */
...
@@ -119,16 +122,23 @@ void ConvertDialog::close()
...
@@ -119,16 +122,23 @@ void ConvertDialog::close()
{
{
hide
();
hide
();
mrl
=
"sout=#"
+
profile
->
getTranscode
();
if
(
dumpBox
->
isChecked
()
)
if
(
deinterBox
->
isChecked
()
)
{
{
mrl
.
remove
(
'}'
);
mrl
=
"demux=dump :demuxdump-file"
+
fileLine
->
text
();
mrl
+=
",deinterlace}"
;
}
}
mrl
+=
":duplicate{"
;
else
if
(
displayBox
->
isChecked
()
)
mrl
+=
"dst=display,"
;
{
mrl
+=
"dst=std{access=file,mux="
+
profile
->
getMux
()
+
mrl
=
"sout=#"
+
profile
->
getTranscode
();
if
(
deinterBox
->
isChecked
()
)
{
mrl
.
remove
(
'}'
);
mrl
+=
",deinterlace}"
;
}
mrl
+=
":duplicate{"
;
if
(
displayBox
->
isChecked
()
)
mrl
+=
"dst=display,"
;
mrl
+=
"dst=std{access=file,mux="
+
profile
->
getMux
()
+
",dst='"
+
fileLine
->
text
()
+
"'}"
;
",dst='"
+
fileLine
->
text
()
+
"'}"
;
}
msg_Dbg
(
p_intf
,
"Transcode MRL: %s"
,
qtu
(
mrl
)
);
msg_Dbg
(
p_intf
,
"Transcode MRL: %s"
,
qtu
(
mrl
)
);
accept
();
accept
();
...
...
modules/gui/qt4/dialogs/convert.hpp
View file @
75a5efb2
...
@@ -42,7 +42,7 @@ public:
...
@@ -42,7 +42,7 @@ public:
private:
private:
QLineEdit
*
fileLine
;
QLineEdit
*
fileLine
;
QCheckBox
*
displayBox
,
*
deinterBox
;
QCheckBox
*
displayBox
,
*
deinterBox
,
*
dumpBox
;
VLCProfileSelector
*
profile
;
VLCProfileSelector
*
profile
;
QString
mrl
;
QString
mrl
;
private
slots
:
private
slots
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment