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
2ad63ccb
Commit
2ad63ccb
authored
Dec 28, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx/CAS: fix SDP announcements
parent
309906f6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
modules/gui/macosx/ConvertAndSave.m
modules/gui/macosx/ConvertAndSave.m
+15
-3
No files found.
modules/gui/macosx/ConvertAndSave.m
View file @
2ad63ccb
...
...
@@ -861,7 +861,6 @@ static VLCConvertAndSave *_o_sharedInstance = nil;
[
composedOptions
appendFormat
:
@",soverlay"
];
}
if
(
!
b_streaming
)
{
/* file transcoding */
// add muxer
...
...
@@ -882,8 +881,21 @@ static VLCConvertAndSave *_o_sharedInstance = nil;
if
([
_stream_sap_ckb
state
])
[
composedOptions
appendFormat
:
@",sap,name=
\"
%@
\"
"
,
[
_stream_channel_fld
stringValue
]];
if
([
_stream_sdp_matrix
selectedCell
]
!=
[
_stream_sdp_matrix
cellWithTag
:
0
])
//FIXME
[
composedOptions
appendFormat
:
@",sdp=%@"
,
[
_stream_sdp_fld
stringValue
]];
if
([
_stream_sdp_matrix
selectedCell
]
!=
[
_stream_sdp_matrix
cellWithTag
:
0
])
{
NSInteger
tag
=
[[
_stream_sdp_matrix
selectedCell
]
tag
];
switch
(
tag
)
{
case
1
:
[
composedOptions
appendFormat
:
@",sdp=
\"
http://%@
\"
"
,
[
_stream_sdp_fld
stringValue
]];
break
;
case
2
:
[
composedOptions
appendFormat
:
@",sdp=
\"
rtsp://%@
\"
"
,
[
_stream_sdp_fld
stringValue
]];
break
;
case
3
:
[
composedOptions
appendFormat
:
@",sdp=
\"
file://%s
\"
"
,
vlc_path2uri
([[
_stream_sdp_fld
stringValue
]
UTF8String
],
NULL
)];
default:
break
;
}
}
[
composedOptions
appendString
:
@"} :sout-keep"
];
}
...
...
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