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
6ef23b74
Commit
6ef23b74
authored
Mar 28, 2010
by
Sebastien Zwickert
Committed by
Pierre d'Herbemont
May 03, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VLCKit: Add the # character that prefixes the output chain.
Signed-off-by:
Pierre d'Herbemont
<
pdherbemont@free.fr
>
parent
83775809
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
projects/macosx/framework/Sources/VLCStreamOutput.m
projects/macosx/framework/Sources/VLCStreamOutput.m
+3
-3
projects/macosx/framework/Sources/VLCStreamSession.m
projects/macosx/framework/Sources/VLCStreamSession.m
+1
-1
No files found.
projects/macosx/framework/Sources/VLCStreamOutput.m
View file @
6ef23b74
...
@@ -175,7 +175,7 @@
...
@@ -175,7 +175,7 @@
if
(
audioBitrate
)
[
subOptions
addObject
:[
NSString
stringWithFormat
:
@"ab=%@"
,
audioBitrate
]];
if
(
audioBitrate
)
[
subOptions
addObject
:[
NSString
stringWithFormat
:
@"ab=%@"
,
audioBitrate
]];
if
(
channels
)
[
subOptions
addObject
:[
NSString
stringWithFormat
:
@"channels=%@"
,
channels
]];
if
(
channels
)
[
subOptions
addObject
:[
NSString
stringWithFormat
:
@"channels=%@"
,
channels
]];
if
(
audioSync
)
[
subOptions
addObject
:[
NSString
stringWithFormat
:
@"audioSync"
,
width
]];
if
(
audioSync
)
[
subOptions
addObject
:[
NSString
stringWithFormat
:
@"audioSync"
,
width
]];
[
optionsAsArray
addObject
:
[
NSString
stringWithFormat
:
@"transcode{%@}"
,
[
subOptions
componentsJoinedByString
:
@","
]]];
[
optionsAsArray
addObject
:
[
NSString
stringWithFormat
:
@"
#
transcode{%@}"
,
[
subOptions
componentsJoinedByString
:
@","
]]];
[
subOptions
removeAllObjects
];
[
subOptions
removeAllObjects
];
}
}
...
@@ -190,7 +190,7 @@
...
@@ -190,7 +190,7 @@
if
(
destination
)
[
subOptions
addObject
:[
NSString
stringWithFormat
:
@"dst=
\"
%@
\"
"
,
[
destination
stringByReplacingOccurrencesOfString
:
@"
\"
"
withString
:
@"
\\\"
"
]]];
if
(
destination
)
[
subOptions
addObject
:[
NSString
stringWithFormat
:
@"dst=
\"
%@
\"
"
,
[
destination
stringByReplacingOccurrencesOfString
:
@"
\"
"
withString
:
@"
\\\"
"
]]];
if
(
url
)
[
subOptions
addObject
:[
NSString
stringWithFormat
:
@"url=
\"
%@
\"
"
,
[
url
stringByReplacingOccurrencesOfString
:
@"
\"
"
withString
:
@"
\\\"
"
]]];
if
(
url
)
[
subOptions
addObject
:[
NSString
stringWithFormat
:
@"url=
\"
%@
\"
"
,
[
url
stringByReplacingOccurrencesOfString
:
@"
\"
"
withString
:
@"
\\\"
"
]]];
if
(
access
)
[
subOptions
addObject
:[
NSString
stringWithFormat
:
@"access=%@"
,
access
]];
if
(
access
)
[
subOptions
addObject
:[
NSString
stringWithFormat
:
@"access=%@"
,
access
]];
[
optionsAsArray
addObject
:[
NSString
stringWithFormat
:
@"std{%@}"
,
[
subOptions
componentsJoinedByString
:
@","
]]];
[
optionsAsArray
addObject
:[
NSString
stringWithFormat
:
@"
#
std{%@}"
,
[
subOptions
componentsJoinedByString
:
@","
]]];
[
subOptions
removeAllObjects
];
[
subOptions
removeAllObjects
];
}
}
...
@@ -207,7 +207,7 @@
...
@@ -207,7 +207,7 @@
if
(
sdp
)
[
subOptions
addObject
:[
NSString
stringWithFormat
:
@"sdp=%@"
,
sdp
]];
if
(
sdp
)
[
subOptions
addObject
:[
NSString
stringWithFormat
:
@"sdp=%@"
,
sdp
]];
if
(
sap
)
[
subOptions
addObject
:
@"sap"
];
if
(
sap
)
[
subOptions
addObject
:
@"sap"
];
if
(
name
)
[
subOptions
addObject
:[
NSString
stringWithFormat
:
@"name=
\"
%@
\"
"
,
name
]];
if
(
name
)
[
subOptions
addObject
:[
NSString
stringWithFormat
:
@"name=
\"
%@
\"
"
,
name
]];
[
optionsAsArray
addObject
:[
NSString
stringWithFormat
:
@"rtp{%@}"
,
[
subOptions
componentsJoinedByString
:
@","
]]];
[
optionsAsArray
addObject
:[
NSString
stringWithFormat
:
@"
#
rtp{%@}"
,
[
subOptions
componentsJoinedByString
:
@","
]]];
[
subOptions
removeAllObjects
];
[
subOptions
removeAllObjects
];
}
}
representedOptions
=
[
optionsAsArray
componentsJoinedByString
:
@":"
];
representedOptions
=
[
optionsAsArray
componentsJoinedByString
:
@":"
];
...
...
projects/macosx/framework/Sources/VLCStreamSession.m
View file @
6ef23b74
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
{
{
NSString
*
libvlcArgs
;
NSString
*
libvlcArgs
;
if
(
self
.
drawable
)
if
(
self
.
drawable
)
libvlcArgs
=
[
NSString
stringWithFormat
:
@"duplicate{dst=display,dst=
\"
%@
\"
}"
,[
streamOutput
representedLibVLCOptions
]];
libvlcArgs
=
[
NSString
stringWithFormat
:
@"
#
duplicate{dst=display,dst=
\"
%@
\"
}"
,[
streamOutput
representedLibVLCOptions
]];
else
else
libvlcArgs
=
[
streamOutput
representedLibVLCOptions
];
libvlcArgs
=
[
streamOutput
representedLibVLCOptions
];
if
(
libvlcArgs
)
if
(
libvlcArgs
)
...
...
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