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
e5ef811f
Commit
e5ef811f
authored
Apr 25, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove prefer-system codecs option
Close #3093
parent
2200c2c0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
26 deletions
+1
-26
src/libvlc-module.c
src/libvlc-module.c
+1
-7
src/libvlc.c
src/libvlc.c
+0
-19
No files found.
src/libvlc-module.c
View file @
e5ef811f
...
@@ -963,11 +963,6 @@ static const char *const ppsz_clock_descriptions[] =
...
@@ -963,11 +963,6 @@ static const char *const ppsz_clock_descriptions[] =
"This allows you to select a list of encoders that VLC will use in " \
"This allows you to select a list of encoders that VLC will use in " \
"priority.")
"priority.")
#define SYSTEM_CODEC_TEXT N_("Prefer system plugins over VLC")
#define SYSTEM_CODEC_LONGTEXT N_( \
"Indicates whether VLC will prefer native plugins installed " \
"on system over VLC owns plugins whenever a choice is available." )
/*****************************************************************************
/*****************************************************************************
* Sout
* Sout
****************************************************************************/
****************************************************************************/
...
@@ -1978,8 +1973,7 @@ vlc_module_begin ()
...
@@ -1978,8 +1973,7 @@ vlc_module_begin ()
set_subcategory
(
SUBCAT_INPUT_VCODEC
)
set_subcategory
(
SUBCAT_INPUT_VCODEC
)
set_subcategory
(
SUBCAT_INPUT_ACODEC
)
set_subcategory
(
SUBCAT_INPUT_ACODEC
)
set_subcategory
(
SUBCAT_INPUT_SCODEC
)
set_subcategory
(
SUBCAT_INPUT_SCODEC
)
add_bool
(
"prefer-system-codecs"
,
false
,
SYSTEM_CODEC_TEXT
,
add_obsolete_bool
(
"prefer-system-codecs"
)
SYSTEM_CODEC_LONGTEXT
,
false
)
set_subcategory
(
SUBCAT_INPUT_STREAM_FILTER
)
set_subcategory
(
SUBCAT_INPUT_STREAM_FILTER
)
add_module_list_cat
(
"stream-filter"
,
SUBCAT_INPUT_STREAM_FILTER
,
NULL
,
NULL
,
add_module_list_cat
(
"stream-filter"
,
SUBCAT_INPUT_STREAM_FILTER
,
NULL
,
NULL
,
...
...
src/libvlc.c
View file @
e5ef811f
...
@@ -924,25 +924,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
...
@@ -924,25 +924,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
intf_Create
(
p_libvlc
,
"netsync,none"
);
intf_Create
(
p_libvlc
,
"netsync,none"
);
}
}
#ifdef WIN32
if
(
var_InheritBool
(
p_libvlc
,
"prefer-system-codecs"
)
)
{
char
*
psz_codecs
=
var_CreateGetNonEmptyString
(
p_libvlc
,
"codec"
);
if
(
psz_codecs
)
{
char
*
psz_morecodecs
;
if
(
asprintf
(
&
psz_morecodecs
,
"%s,dmo"
,
psz_codecs
)
!=
-
1
)
{
var_SetString
(
p_libvlc
,
"codec"
,
psz_morecodecs
);
free
(
psz_morecodecs
);
}
free
(
psz_codecs
);
}
else
var_SetString
(
p_libvlc
,
"codec"
,
"dmo"
);
}
#endif
#ifdef __APPLE__
#ifdef __APPLE__
var_Create
(
p_libvlc
,
"drawable-view-top"
,
VLC_VAR_INTEGER
);
var_Create
(
p_libvlc
,
"drawable-view-top"
,
VLC_VAR_INTEGER
);
var_Create
(
p_libvlc
,
"drawable-view-left"
,
VLC_VAR_INTEGER
);
var_Create
(
p_libvlc
,
"drawable-view-left"
,
VLC_VAR_INTEGER
);
...
...
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