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
97675912
Commit
97675912
authored
Mar 02, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: Integration of this convertion dialog in THEDP.
parent
728ebfa0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
6 deletions
+19
-6
modules/gui/qt4/dialogs/convert.cpp
modules/gui/qt4/dialogs/convert.cpp
+1
-1
modules/gui/qt4/dialogs/convert.hpp
modules/gui/qt4/dialogs/convert.hpp
+4
-2
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+14
-3
No files found.
modules/gui/qt4/dialogs/convert.cpp
View file @
97675912
...
@@ -140,7 +140,7 @@ void ConvertDialog::close()
...
@@ -140,7 +140,7 @@ void ConvertDialog::close()
{
{
hide
();
hide
();
QString
mrl
=
"sout=#"
+
profile
->
getTranscode
();
mrl
=
"sout=#"
+
profile
->
getTranscode
();
if
(
deinterBox
->
isChecked
()
)
if
(
deinterBox
->
isChecked
()
)
{
{
mrl
.
remove
(
'}'
);
mrl
.
remove
(
'}'
);
...
...
modules/gui/qt4/dialogs/convert.hpp
View file @
97675912
...
@@ -37,12 +37,14 @@ public:
...
@@ -37,12 +37,14 @@ public:
ConvertDialog
(
QWidget
*
,
intf_thread_t
*
);
ConvertDialog
(
QWidget
*
,
intf_thread_t
*
);
virtual
~
ConvertDialog
(){}
virtual
~
ConvertDialog
(){}
QString
getMrl
()
{
return
mrl
;}
private:
private:
QLineEdit
*
fileLine
;
QLineEdit
*
fileLine
;
QCheckBox
*
displayBox
;
QCheckBox
*
displayBox
,
*
deinterBox
;
QCheckBox
*
deinterBox
;
VLCProfileSelector
*
profile
;
VLCProfileSelector
*
profile
;
QString
mrl
;
private
slots
:
private
slots
:
virtual
void
close
();
virtual
void
close
();
virtual
void
cancel
();
virtual
void
cancel
();
...
...
modules/gui/qt4/dialogs_provider.cpp
View file @
97675912
...
@@ -44,6 +44,7 @@
...
@@ -44,6 +44,7 @@
#include "dialogs/extended.hpp"
#include "dialogs/extended.hpp"
#include "dialogs/vlm.hpp"
#include "dialogs/vlm.hpp"
#include "dialogs/sout.hpp"
#include "dialogs/sout.hpp"
#include "dialogs/convert.hpp"
#include "dialogs/open.hpp"
#include "dialogs/open.hpp"
#include "dialogs/openurl.hpp"
#include "dialogs/openurl.hpp"
#include "dialogs/help.hpp"
#include "dialogs/help.hpp"
...
@@ -566,11 +567,21 @@ void DialogsProvider::saveAPlaylist()
...
@@ -566,11 +567,21 @@ void DialogsProvider::saveAPlaylist()
void
DialogsProvider
::
streamingDialog
(
QWidget
*
parent
,
QString
mrl
,
void
DialogsProvider
::
streamingDialog
(
QWidget
*
parent
,
QString
mrl
,
bool
b_transcode_only
)
bool
b_transcode_only
)
{
{
SoutDialog
*
s
=
SoutDialog
::
getInstance
(
parent
,
p_intf
,
b_transcode_only
);
const
char
*
psz_option
;
if
(
!
b_transcode_only
)
{
SoutDialog
*
s
=
SoutDialog
::
getInstance
(
parent
,
p_intf
,
b_transcode_only
);
if
(
s
->
exec
()
==
QDialog
::
Accepted
)
psz_option
=
qtu
(
s
->
getMrl
()
);
}
else
{
ConvertDialog
*
s
=
new
ConvertDialog
(
parent
,
p_intf
);
if
(
s
->
exec
()
==
QDialog
::
Accepted
)
psz_option
=
qtu
(
s
->
getMrl
()
);
}
if
(
s
->
exec
()
==
QDialog
::
Accepted
)
if
(
!
EMPTY_STR
(
psz_option
)
)
{
{
const
char
*
psz_option
=
qtu
(
s
->
getMrl
()
);
msg_Dbg
(
p_intf
,
"Sout mrl %s"
,
psz_option
);
msg_Dbg
(
p_intf
,
"Sout mrl %s"
,
psz_option
);
playlist_AddExt
(
THEPL
,
qtu
(
mrl
),
_
(
"Streaming"
),
playlist_AddExt
(
THEPL
,
qtu
(
mrl
),
_
(
"Streaming"
),
...
...
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