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
91a47fa9
Commit
91a47fa9
authored
Oct 27, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use var_Inherit* when applicable.
parent
383e30d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/video_output/fb.c
modules/video_output/fb.c
+4
-4
No files found.
modules/video_output/fb.c
View file @
91a47fa9
...
...
@@ -186,11 +186,11 @@ static int Open(vlc_object_t *object)
return
VLC_ENOMEM
;
/* Does the framebuffer uses hw acceleration? */
sys
->
is_hw_accel
=
var_
CreateGe
tBool
(
vd
,
"fb-hw-accel"
);
sys
->
is_hw_accel
=
var_
Inheri
tBool
(
vd
,
"fb-hw-accel"
);
/* Set tty and fb devices */
sys
->
tty
=
0
;
/* 0 == /dev/tty0 == current console */
sys
->
is_tty
=
var_
CreateGe
tBool
(
vd
,
"fb-tty"
);
sys
->
is_tty
=
var_
Inheri
tBool
(
vd
,
"fb-tty"
);
#if !defined(WIN32) && defined(HAVE_ISATTY)
/* Check that stdin is a TTY */
if
(
sys
->
is_tty
&&
!
isatty
(
0
))
{
...
...
@@ -202,7 +202,7 @@ static int Open(vlc_object_t *object)
"there is no way to return to the TTY"
);
#endif
const
int
mode
=
var_
CreateGe
tInteger
(
vd
,
"fb-mode"
);
const
int
mode
=
var_
Inheri
tInteger
(
vd
,
"fb-mode"
);
bool
force_resolution
=
true
;
switch
(
mode
)
{
case
0
:
/* QCIF */
...
...
@@ -227,7 +227,7 @@ static int Open(vlc_object_t *object)
break
;
}
char
*
chroma
=
var_
CreateGetNonEmpty
String
(
vd
,
"fb-chroma"
);
char
*
chroma
=
var_
Inherit
String
(
vd
,
"fb-chroma"
);
if
(
chroma
)
{
sys
->
chroma
=
vlc_fourcc_GetCodecFromString
(
VIDEO_ES
,
chroma
);
...
...
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