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
f2e6cfee
Commit
f2e6cfee
authored
Nov 29, 2008
by
Joseph Tulou
Committed by
Rémi Denis-Courmont
Dec 06, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change in vmem to allow multiple inputs (libvlc api)
Signed-off-by:
Rémi Denis-Courmont
<
rdenis@simphalempin.com
>
parent
bbff06b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
modules/video_output/vmem.c
modules/video_output/vmem.c
+8
-8
No files found.
modules/video_output/vmem.c
View file @
f2e6cfee
...
...
@@ -135,11 +135,11 @@ static int Init( vout_thread_t *p_vout )
char
*
psz_chroma
,
*
psz_tmp
;
int
i_width
,
i_height
,
i_pitch
,
i_chroma
;
i_width
=
config_GetInt
(
p_vout
,
"vmem-width"
);
i_height
=
config_GetInt
(
p_vout
,
"vmem-height"
);
i_pitch
=
config_GetInt
(
p_vout
,
"vmem-pitch"
);
i_width
=
var_CreateGetInteger
(
p_vout
,
"vmem-width"
);
i_height
=
var_CreateGetInteger
(
p_vout
,
"vmem-height"
);
i_pitch
=
var_CreateGetInteger
(
p_vout
,
"vmem-pitch"
);
psz_chroma
=
config_GetPsz
(
p_vout
,
"vmem-chroma"
);
psz_chroma
=
var_CreateGetString
(
p_vout
,
"vmem-chroma"
);
if
(
psz_chroma
)
{
if
(
strlen
(
psz_chroma
)
<
4
)
...
...
@@ -158,15 +158,15 @@ static int Init( vout_thread_t *p_vout )
return
VLC_EGENERIC
;
}
psz_tmp
=
config_GetPsz
(
p_vout
,
"vmem-lock"
);
p_vout
->
p_sys
->
pf_lock
=
(
void
*
(
*
)
(
void
*
))(
intptr_t
)
atoll
(
psz_tmp
);
psz_tmp
=
var_CreateGetString
(
p_vout
,
"vmem-lock"
);
p_vout
->
p_sys
->
pf_lock
=
(
void
(
*
)
(
void
*
,
void
*
*
))(
intptr_t
)
atoll
(
psz_tmp
);
free
(
psz_tmp
);
psz_tmp
=
config_GetPsz
(
p_vout
,
"vmem-unlock"
);
psz_tmp
=
var_CreateGetString
(
p_vout
,
"vmem-unlock"
);
p_vout
->
p_sys
->
pf_unlock
=
(
void
(
*
)
(
void
*
))(
intptr_t
)
atoll
(
psz_tmp
);
free
(
psz_tmp
);
psz_tmp
=
config_GetPsz
(
p_vout
,
"vmem-data"
);
psz_tmp
=
var_CreateGetString
(
p_vout
,
"vmem-data"
);
p_vout
->
p_sys
->
p_data
=
(
void
*
)(
intptr_t
)
atoll
(
psz_tmp
);
free
(
psz_tmp
);
...
...
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