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
39eaf8e0
Commit
39eaf8e0
authored
Apr 17, 2012
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
declare private options only if they are used
avoid confusing old versions of ffmpeg
parent
d52f2cef
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
modules/demux/avformat/avformat.c
modules/demux/avformat/avformat.c
+4
-0
modules/stream_out/switcher.c
modules/stream_out/switcher.c
+2
-0
No files found.
modules/demux/avformat/avformat.c
View file @
39eaf8e0
...
...
@@ -44,7 +44,9 @@ vlc_module_begin ()
set_callbacks
(
OpenDemux
,
CloseDemux
)
add_string
(
"avformat-format"
,
NULL
,
FORMAT_TEXT
,
FORMAT_LONGTEXT
,
true
)
add_obsolete_string
(
"ffmpeg-format"
)
/* removed since 2.1.0 */
#if LIBAVFORMAT_VERSION_INT >= ((53<<16)+(26<<8)+0)
add_string
(
"avformat-options"
,
NULL
,
AV_OPTIONS_TEXT
,
AV_OPTIONS_LONGTEXT
,
true
)
#endif
#ifdef ENABLE_SOUT
/* mux submodule */
...
...
@@ -54,7 +56,9 @@ vlc_module_begin ()
set_capability
(
"sout mux"
,
2
)
add_string
(
"sout-avformat-mux"
,
NULL
,
MUX_TEXT
,
MUX_LONGTEXT
,
true
)
add_obsolete_string
(
"ffmpeg-mux"
)
/* removed since 2.1.0 */
#if (LIBAVFORMAT_VERSION_INT >= ((53<<16)+(2<<8)+0))
add_string
(
"sout-avformat-options"
,
NULL
,
AV_OPTIONS_TEXT
,
AV_OPTIONS_LONGTEXT
,
true
)
#endif
set_callbacks
(
OpenMux
,
CloseMux
)
#endif
#ifndef MERGE_FFMPEG
...
...
modules/stream_out/switcher.c
View file @
39eaf8e0
...
...
@@ -131,8 +131,10 @@ vlc_module_begin ()
QSCALE_TEXT
,
QSCALE_LONGTEXT
,
true
)
add_bool
(
SOUT_CFG_PREFIX
"mute-audio"
,
true
,
AUDIO_TEXT
,
AUDIO_LONGTEXT
,
true
)
#if LIBAVCODEC_VERSION_MAJOR >= 54
add_string
(
SOUT_CFG_PREFIX
"options"
,
NULL
,
AV_OPTIONS_TEXT
,
AV_OPTIONS_LONGTEXT
,
true
)
#endif
vlc_module_end
()
static
const
char
*
const
ppsz_sout_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