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
cad39a6b
Commit
cad39a6b
authored
Oct 08, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use var_Inherit.
parent
4cda86b7
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
modules/misc/dummy/decoder.c
modules/misc/dummy/decoder.c
+1
-1
modules/misc/dummy/vout.c
modules/misc/dummy/vout.c
+1
-1
modules/misc/logger.c
modules/misc/logger.c
+2
-2
modules/video_output/sdl.c
modules/video_output/sdl.c
+2
-2
modules/video_output/yuv.c
modules/video_output/yuv.c
+3
-3
No files found.
modules/misc/dummy/decoder.c
View file @
cad39a6b
...
@@ -81,7 +81,7 @@ static int OpenDecoderCommon( vlc_object_t *p_this, bool b_force_dump )
...
@@ -81,7 +81,7 @@ static int OpenDecoderCommon( vlc_object_t *p_this, bool b_force_dump )
#ifndef UNDER_CE
#ifndef UNDER_CE
if
(
!
b_force_dump
)
if
(
!
b_force_dump
)
{
{
b_force_dump
=
var_
CreateGe
tBool
(
p_dec
,
"dummy-save-es"
);
b_force_dump
=
var_
Inheri
tBool
(
p_dec
,
"dummy-save-es"
);
}
}
if
(
b_force_dump
)
if
(
b_force_dump
)
{
{
...
...
modules/misc/dummy/vout.c
View file @
cad39a6b
...
@@ -60,7 +60,7 @@ static int OpenVideoCommon(vlc_object_t *object, bool display_stat)
...
@@ -60,7 +60,7 @@ static int OpenVideoCommon(vlc_object_t *object, bool display_stat)
/* p_vd->info is not modified */
/* p_vd->info is not modified */
char
*
chroma
=
var_
CreateGetNonEmpty
String
(
vd
,
"dummy-chroma"
);
char
*
chroma
=
var_
Inherit
String
(
vd
,
"dummy-chroma"
);
if
(
chroma
)
{
if
(
chroma
)
{
vlc_fourcc_t
fcc
=
vlc_fourcc_GetCodecFromString
(
VIDEO_ES
,
chroma
);
vlc_fourcc_t
fcc
=
vlc_fourcc_GetCodecFromString
(
VIDEO_ES
,
chroma
);
if
(
fcc
!=
0
)
{
if
(
fcc
!=
0
)
{
...
...
modules/misc/logger.c
View file @
cad39a6b
...
@@ -203,7 +203,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -203,7 +203,7 @@ static int Open( vlc_object_t *p_this )
p_sys
->
msg
.
p_intf
=
p_intf
;
p_sys
->
msg
.
p_intf
=
p_intf
;
p_sys
->
msg
.
i_mode
=
MODE_TEXT
;
p_sys
->
msg
.
i_mode
=
MODE_TEXT
;
psz_mode
=
var_
CreateGe
tString
(
p_intf
,
"logmode"
);
psz_mode
=
var_
Inheri
tString
(
p_intf
,
"logmode"
);
if
(
psz_mode
)
if
(
psz_mode
)
{
{
if
(
!
strcmp
(
psz_mode
,
"text"
)
)
if
(
!
strcmp
(
psz_mode
,
"text"
)
)
...
@@ -290,7 +290,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -290,7 +290,7 @@ static int Open( vlc_object_t *p_this )
p_sys
->
msg
.
p_file
=
NULL
;
p_sys
->
msg
.
p_file
=
NULL
;
#ifdef HAVE_SYSLOG_H
#ifdef HAVE_SYSLOG_H
int
i_facility
;
int
i_facility
;
char
*
psz_facility
=
var_
CreateGe
tString
(
p_intf
,
"syslog-facility"
);
char
*
psz_facility
=
var_
Inheri
tString
(
p_intf
,
"syslog-facility"
);
if
(
psz_facility
)
if
(
psz_facility
)
{
{
bool
b_valid
=
0
;
bool
b_valid
=
0
;
...
...
modules/video_output/sdl.c
View file @
cad39a6b
...
@@ -206,7 +206,7 @@ static int Open(vlc_object_t *object)
...
@@ -206,7 +206,7 @@ static int Open(vlc_object_t *object)
/* */
/* */
vlc_fourcc_t
forced_chroma
=
0
;
vlc_fourcc_t
forced_chroma
=
0
;
char
*
psz_chroma
=
var_
CreateGetNonEmpty
String
(
vd
,
"sdl-chroma"
);
char
*
psz_chroma
=
var_
Inherit
String
(
vd
,
"sdl-chroma"
);
if
(
psz_chroma
)
{
if
(
psz_chroma
)
{
forced_chroma
=
vlc_fourcc_GetCodecFromString
(
VIDEO_ES
,
psz_chroma
);
forced_chroma
=
vlc_fourcc_GetCodecFromString
(
VIDEO_ES
,
psz_chroma
);
if
(
forced_chroma
)
if
(
forced_chroma
)
...
@@ -217,7 +217,7 @@ static int Open(vlc_object_t *object)
...
@@ -217,7 +217,7 @@ static int Open(vlc_object_t *object)
/* Try to open an overlay if requested */
/* Try to open an overlay if requested */
sys
->
overlay
=
NULL
;
sys
->
overlay
=
NULL
;
const
bool
is_overlay
=
var_
CreateGe
tBool
(
vd
,
"overlay"
);
const
bool
is_overlay
=
var_
Inheri
tBool
(
vd
,
"overlay"
);
if
(
is_overlay
)
{
if
(
is_overlay
)
{
static
const
struct
static
const
struct
{
{
...
...
modules/video_output/yuv.c
View file @
cad39a6b
...
@@ -108,11 +108,11 @@ static int Open(vlc_object_t *object)
...
@@ -108,11 +108,11 @@ static int Open(vlc_object_t *object)
return
VLC_ENOMEM
;
return
VLC_ENOMEM
;
sys
->
is_first
=
false
;
sys
->
is_first
=
false
;
sys
->
is_yuv4mpeg2
=
var_
CreateGe
tBool
(
vd
,
CFG_PREFIX
"yuv4mpeg2"
);
sys
->
is_yuv4mpeg2
=
var_
Inheri
tBool
(
vd
,
CFG_PREFIX
"yuv4mpeg2"
);
sys
->
pool
=
NULL
;
sys
->
pool
=
NULL
;
/* */
/* */
char
*
psz_fcc
=
var_
CreateGetNonEmpty
String
(
vd
,
CFG_PREFIX
"chroma"
);
char
*
psz_fcc
=
var_
Inherit
String
(
vd
,
CFG_PREFIX
"chroma"
);
const
vlc_fourcc_t
requested_chroma
=
vlc_fourcc_GetCodecFromString
(
VIDEO_ES
,
const
vlc_fourcc_t
requested_chroma
=
vlc_fourcc_GetCodecFromString
(
VIDEO_ES
,
psz_fcc
);
psz_fcc
);
free
(
psz_fcc
);
free
(
psz_fcc
);
...
@@ -135,7 +135,7 @@ static int Open(vlc_object_t *object)
...
@@ -135,7 +135,7 @@ static int Open(vlc_object_t *object)
msg_Dbg
(
vd
,
"Using chroma %4.4s"
,
(
char
*
)
&
chroma
);
msg_Dbg
(
vd
,
"Using chroma %4.4s"
,
(
char
*
)
&
chroma
);
/* */
/* */
char
*
name
=
var_
CreateGetNonEmpty
String
(
vd
,
CFG_PREFIX
"file"
);
char
*
name
=
var_
Inherit
String
(
vd
,
CFG_PREFIX
"file"
);
if
(
!
name
)
{
if
(
!
name
)
{
msg_Err
(
vd
,
"Empty file name"
);
msg_Err
(
vd
,
"Empty file name"
);
free
(
sys
);
free
(
sys
);
...
...
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