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
b529170c
Commit
b529170c
authored
Apr 22, 2008
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup and move debug message to a better place.
parent
fb0c52f6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
24 deletions
+20
-24
modules/codec/xvmc/xxmc.c
modules/codec/xvmc/xxmc.c
+20
-24
No files found.
modules/codec/xvmc/xxmc.c
View file @
b529170c
...
...
@@ -83,7 +83,6 @@ struct decoder_sys_t
decoder_synchro_t
*
p_synchro
;
int
i_aspect
;
mtime_t
i_last_frame_pts
;
};
/*****************************************************************************
...
...
@@ -118,7 +117,6 @@ static int OpenDecoder( vlc_object_t *p_this )
uint32_t
i_accel
=
0
;
FILE
*
f_wd_dec
;
msg_Dbg
(
p_dec
,
"OpenDecoder Entering"
);
#ifdef __GLIBC__
mtrace
();
#endif
...
...
@@ -135,13 +133,12 @@ static int OpenDecoder( vlc_object_t *p_this )
return
VLC_EGENERIC
;
}
msg_Dbg
(
p_dec
,
"OpenDecoder Entering"
);
/* Allocate the memory needed to store the decoder's structure */
p_dec
->
p_sys
=
p_sys
=
(
decoder_sys_t
*
)
malloc
(
sizeof
(
decoder_sys_t
));
if
(
!
p_sys
)
{
msg_Err
(
p_dec
,
"out of memory"
);
return
VLC_EGENERIC
;
}
return
VLC_ENOMEM
;
/* Initialize the thread properties */
memset
(
p_sys
,
0
,
sizeof
(
decoder_sys_t
)
);
...
...
@@ -203,7 +200,6 @@ static int OpenDecoder( vlc_object_t *p_this )
p_dec
->
pf_decode_video
=
DecodeBlock
;
f_wd_dec
=
fopen
(
"/vlc/dec_pid"
,
"w"
);
if
(
f_wd_dec
!=
NULL
)
{
fprintf
(
f_wd_dec
,
"%d
\n
"
,
getpid
());
...
...
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