Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
70c486c3
Commit
70c486c3
authored
Jun 26, 2017
by
Victorien Le Couviour--Tuffet
Committed by
Jean-Baptiste Kempf
Jul 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: load video profile filters strings in all vouts
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
9f9edaa7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
+12
-11
modules/gui/macosx/VLCVideoEffectsWindowController.m
modules/gui/macosx/VLCVideoEffectsWindowController.m
+12
-11
No files found.
modules/gui/macosx/VLCVideoEffectsWindowController.m
View file @
70c486c3
...
...
@@ -609,24 +609,25 @@
/* filter handling */
NSString
*
tempString
=
B64DecNSStr
([
items
firstObject
]);
vout_thread_t
*
p_
vout
=
getVout
();
NSArray
<
NSValue
*>
*
vout
s
=
getVout
s
();
/* enable the new filters */
var_SetString
(
p_playlist
,
"video-filter"
,
[
tempString
UTF8String
]);
if
(
p_vout
)
{
var_SetString
(
p_vout
,
"video-filter"
,
[
tempString
UTF8String
]);
}
if
(
vouts
)
for
(
NSValue
*
ptr
in
vouts
)
{
vout_thread_t
*
p_vout
=
[
ptr
pointerValue
];
var_SetString
(
p_vout
,
"video-filter"
,
[
tempString
UTF8String
]);
}
tempString
=
B64DecNSStr
([
items
objectAtIndex
:
1
]);
/* enable another round of new filters */
var_SetString
(
p_playlist
,
"sub-source"
,
[
tempString
UTF8String
]);
if
(
p_vout
)
{
var_SetString
(
p_vout
,
"sub-source"
,
[
tempString
UTF8String
]);
}
if
(
p_vout
)
{
vlc_object_release
(
p_vout
);
}
if
(
vouts
)
for
(
NSValue
*
ptr
in
vouts
)
{
vout_thread_t
*
p_vout
=
[
ptr
pointerValue
];
var_SetString
(
p_vout
,
"sub-source"
,
[
tempString
UTF8String
]);
vlc_object_release
(
p_vout
);
}
tempString
=
B64DecNSStr
([
items
objectAtIndex
:
2
]);
/* enable another round of new filters */
...
...
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