Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
60fd182b
Commit
60fd182b
authored
Dec 27, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx/CAS: simplify stream-out summary to something useful
parent
7b6a20bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
31 deletions
+3
-31
modules/gui/macosx/ConvertAndSave.m
modules/gui/macosx/ConvertAndSave.m
+3
-31
No files found.
modules/gui/macosx/ConvertAndSave.m
View file @
60fd182b
...
...
@@ -439,39 +439,11 @@ static VLCConvertAndSave *_o_sharedInstance = nil;
-
(
IBAction
)
closeStreamPanel
:(
id
)
sender
{
NSMutableString
*
labelContent
=
[[
NSMutableString
alloc
]
initWithFormat
:
@"%@ @ %@:%@"
,
[
_stream_type_pop
titleOfSelectedItem
],
[
_stream_address_fld
stringValue
],
[
_stream_port_fld
stringValue
]];
NSMutableString
*
labelContent
=
[[
NSMutableString
alloc
]
initWithFormat
:
_NS
(
"%@ stream to %@:%@"
)
,
[
_stream_type_pop
titleOfSelectedItem
],
[
_stream_address_fld
stringValue
],
[
_stream_port_fld
stringValue
]];
if
([
_stream_type_pop
indexOfSelectedItem
]
>
1
)
{
[
labelContent
appendFormat
:
@" TTL:%@"
,
[
_stream_ttl_fld
stringValue
]];
if
([
_stream_sap_ckb
state
]
||
[
_stream_rtsp_ckb
state
]
||
[
_stream_http_ckb
state
]
||
[
_stream_sdp_ckb
state
])
[
labelContent
appendFormat
:
@" — %@:
\"
%@
\"
("
,
_NS
(
"Channel"
),
[
_stream_channel_fld
stringValue
]];
if
([
_stream_type_pop
indexOfSelectedItem
]
>
1
)
[
labelContent
appendFormat
:
@" (
\"
%@
\"
)"
,
[
_stream_channel_fld
stringValue
]];
BOOL
b_gotSomething
;
if
(
_stream_sap_ckb
)
{
[
labelContent
appendString
:
@"SAP"
];
b_gotSomething
=
YES
;
}
if
(
_stream_rtsp_ckb
)
{
if
(
b_gotSomething
)
[
labelContent
appendString
:
@", "
];
[
labelContent
appendString
:
@"RTSP"
];
b_gotSomething
=
YES
;
}
if
(
_stream_http_ckb
)
{
if
(
b_gotSomething
)
[
labelContent
appendString
:
@", "
];
[
labelContent
appendString
:
@"HTTP"
];
b_gotSomething
=
YES
;
}
if
([
_stream_sdp_ckb
state
])
{
if
(
b_gotSomething
)
[
labelContent
appendString
:
@", "
];
[
labelContent
appendString
:
@"SDP"
];
}
if
([
_stream_sap_ckb
state
]
||
[
_stream_rtsp_ckb
state
]
||
[
_stream_http_ckb
state
]
||
[
_stream_sdp_ckb
state
])
[
labelContent
appendString
:
@")"
];
}
[
_destination_stream_lbl
setStringValue
:
labelContent
];
[
labelContent
release
];
...
...
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