Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
0559d37d
Commit
0559d37d
authored
Apr 17, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Sout Dialog: add FLV muxer... Some cosmetic changes too.
parent
765497c4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
19 deletions
+41
-19
modules/gui/qt4/dialogs/sout.cpp
modules/gui/qt4/dialogs/sout.cpp
+11
-3
modules/gui/qt4/ui/sout.ui
modules/gui/qt4/ui/sout.ui
+30
-16
No files found.
modules/gui/qt4/dialogs/sout.cpp
View file @
0559d37d
...
...
@@ -86,14 +86,21 @@ SoutDialog::SoutDialog( QWidget *parent, intf_thread_t *_p_intf ) :
CS
(
vBitrate
);
CS
(
aBitrate
);
CS
(
aChannels
);
CC
(
vScale
);
/* Mux */
CB
(
PSMux
);
CB
(
TSMux
);
CB
(
MPEG1Mux
);
CB
(
OggMux
);
CB
(
ASFMux
);
CB
(
MP4Mux
);
CB
(
MOVMux
);
CB
(
WAVMux
);
CB
(
RAWMux
);
CB
(
MP4Mux
);
CB
(
MOVMux
);
CB
(
WAVMux
);
CB
(
RAWMux
);
CB
(
FLVMux
);
/* Misc */
CB
(
soutAll
);
CS
(
ttl
);
CT
(
sapName
);
CT
(
sapGroup
);
CONNECT
(
ui
.
fileSelectButton
,
clicked
(),
this
,
fileBrowse
()
);
BUTTONACT
(
ui
.
okButton
,
ok
());
BUTTONACT
(
ui
.
cancelButton
,
cancel
());
QPushButton
*
okButton
=
new
QPushButton
(
qtr
(
"&Stream"
)
);
QPushButton
*
cancelButton
=
new
QPushButton
(
qtr
(
"&Cancel"
)
);
okButton
->
setDefault
(
true
);
ui
.
acceptButtonBox
->
addButton
(
okButton
,
QDialogButtonBox
::
AcceptRole
);
ui
.
acceptButtonBox
->
addButton
(
cancelButton
,
QDialogButtonBox
::
RejectRole
);
BUTTONACT
(
okButton
,
ok
());
BUTTONACT
(
cancelButton
,
cancel
());
}
void
SoutDialog
::
fileBrowse
()
...
...
@@ -153,6 +160,7 @@ void SoutDialog::updateMRL()
SMUX
(
MOV
,
"mov"
);
SMUX
(
WAV
,
"wav"
);
SMUX
(
RAW
,
"raw"
);
SMUX
(
FLV
,
"flv"
);
/* Transcode */
pd
.
b_soverlay
=
ui
.
sOverlay
->
isChecked
();
...
...
modules/gui/qt4/ui/sout.ui
View file @
0559d37d
...
...
@@ -5,8 +5,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>6
01
</width>
<height>6
11
</height>
<width>6
60
</width>
<height>6
76
</height>
</rect>
</property>
<property name="windowTitle" >
...
...
@@ -107,7 +107,10 @@
<bool>false</bool>
</property>
<property name="text" >
<string>Port</string>
<string>Port:</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
...
...
@@ -168,7 +171,10 @@
<bool>false</bool>
</property>
<property name="text" >
<string>Port</string>
<string>Port:</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
...
...
@@ -209,7 +215,10 @@
<bool>false</bool>
</property>
<property name="text" >
<string>Port</string>
<string>Port:</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
...
...
@@ -355,6 +364,13 @@
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="FLVMux" >
<property name="text" >
<string>FLV</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
...
...
@@ -585,6 +601,9 @@
</item>
<item row="1" column="4" >
<widget class="QSpinBox" name="ttl" >
<property name="alignment" >
<set>Qt::AlignRight</set>
</property>
<property name="maximum" >
<number>255</number>
</property>
...
...
@@ -640,8 +659,7 @@
<number>6</number>
</property>
<item>
<widget class="QLineEdit" name="mrlEdit" >
</widget>
<widget class="QLineEdit" name="mrlEdit" />
</item>
</layout>
</widget>
...
...
@@ -668,16 +686,12 @@
</spacer>
</item>
<item>
<widget class="Q
PushButton" name="cancelButton
" >
<property name="
text
" >
<
string>Cancel</string
>
<widget class="Q
DialogButtonBox" name="acceptButtonBox
" >
<property name="
orientation
" >
<
enum>Qt::Horizontal</enum
>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="okButton" >
<property name="text" >
<string>OK</string>
<property name="standardButtons" >
<set>QDialogButtonBox::NoButton</set>
</property>
</widget>
</item>
...
...
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