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
7bd008c0
Commit
7bd008c0
authored
Mar 27, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
visual: default is none, not any (fixes #8354)
parent
843b6da8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
src/audio_output/filters.c
src/audio_output/filters.c
+6
-1
src/libvlc-module.c
src/libvlc-module.c
+1
-1
No files found.
src/audio_output/filters.c
View file @
7bd008c0
...
@@ -457,6 +457,11 @@ int aout_FiltersNew (audio_output_t *aout,
...
@@ -457,6 +457,11 @@ int aout_FiltersNew (audio_output_t *aout,
var_InheritBool
(
aout
,
"audio-time-stretch"
)
?
"scaletempo"
:
NULL
;
var_InheritBool
(
aout
,
"audio-time-stretch"
)
?
"scaletempo"
:
NULL
;
char
*
filters
=
var_InheritString
(
aout
,
"audio-filter"
);
char
*
filters
=
var_InheritString
(
aout
,
"audio-filter"
);
char
*
visual
=
var_InheritString
(
aout
,
"audio-visual"
);
char
*
visual
=
var_InheritString
(
aout
,
"audio-visual"
);
if
(
visual
!=
NULL
&&
!
strcasecmp
(
visual
,
"none"
))
{
free
(
visual
);
visual
=
NULL
;
}
if
(
request_vout
!=
NULL
)
if
(
request_vout
!=
NULL
)
owner
->
request_vout
=
*
request_vout
;
owner
->
request_vout
=
*
request_vout
;
...
@@ -465,7 +470,7 @@ int aout_FiltersNew (audio_output_t *aout,
...
@@ -465,7 +470,7 @@ int aout_FiltersNew (audio_output_t *aout,
owner
->
request_vout
.
pf_request_vout
=
RequestVout
;
owner
->
request_vout
.
pf_request_vout
=
RequestVout
;
owner
->
request_vout
.
p_private
=
aout
;
owner
->
request_vout
.
p_private
=
aout
;
}
}
owner
->
recycle_vout
=
(
visual
!=
NULL
)
&&
*
visual
;
owner
->
recycle_vout
=
visual
!=
NULL
;
/* parse user filter lists */
/* parse user filter lists */
const
char
*
list
[
AOUT_MAX_FILTERS
];
const
char
*
list
[
AOUT_MAX_FILTERS
];
...
...
src/libvlc-module.c
View file @
7bd008c0
...
@@ -1504,7 +1504,7 @@ vlc_module_begin ()
...
@@ -1504,7 +1504,7 @@ vlc_module_begin ()
add_module_list
(
"audio-filter"
,
"audio filter"
,
NULL
,
add_module_list
(
"audio-filter"
,
"audio filter"
,
NULL
,
AUDIO_FILTER_TEXT
,
AUDIO_FILTER_LONGTEXT
,
false
)
AUDIO_FILTER_TEXT
,
AUDIO_FILTER_LONGTEXT
,
false
)
set_subcategory
(
SUBCAT_AUDIO_VISUAL
)
set_subcategory
(
SUBCAT_AUDIO_VISUAL
)
add_module
(
"audio-visual"
,
"visualization2"
,
NULL
,
AUDIO_VISUAL_TEXT
,
add_module
(
"audio-visual"
,
"visualization2"
,
"none"
,
AUDIO_VISUAL_TEXT
,
AUDIO_VISUAL_LONGTEXT
,
false
)
AUDIO_VISUAL_LONGTEXT
,
false
)
/* Video options */
/* Video options */
...
...
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