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
c5fb066d
Commit
c5fb066d
authored
Aug 03, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atmo: compile fix
parent
b2e054c0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
modules/video_filter/atmo/AtmoThread.cpp
modules/video_filter/atmo/AtmoThread.cpp
+3
-1
modules/video_filter/atmo/AtmoThread.h
modules/video_filter/atmo/AtmoThread.h
+1
-1
modules/video_filter/atmo/atmo.cpp
modules/video_filter/atmo/atmo.cpp
+3
-2
No files found.
modules/video_filter/atmo/AtmoThread.cpp
View file @
c5fb066d
...
@@ -67,8 +67,9 @@ CThread::~CThread(void)
...
@@ -67,8 +67,9 @@ CThread::~CThread(void)
#if defined(_ATMO_VLC_PLUGIN_)
#if defined(_ATMO_VLC_PLUGIN_)
void
CThread
::
ThreadProc
(
atmo_thread_t
*
pAtmoThread
)
void
*
CThread
::
ThreadProc
(
vlc_object_t
*
obj
)
{
{
atmo_thread_t
*
pAtmoThread
=
(
atmo_thread_t
*
)
obj
;
CThread
*
pThread
=
(
CThread
*
)
pAtmoThread
->
p_thread
;
CThread
*
pThread
=
(
CThread
*
)
pAtmoThread
->
p_thread
;
if
(
pThread
)
{
if
(
pThread
)
{
// give feedback I'am running?
// give feedback I'am running?
...
@@ -77,6 +78,7 @@ void CThread::ThreadProc(atmo_thread_t *pAtmoThread)
...
@@ -77,6 +78,7 @@ void CThread::ThreadProc(atmo_thread_t *pAtmoThread)
pThread
->
Execute
();
pThread
->
Execute
();
}
}
return
NULL
;
}
}
#else
#else
...
...
modules/video_filter/atmo/AtmoThread.h
View file @
c5fb066d
...
@@ -50,7 +50,7 @@ protected:
...
@@ -50,7 +50,7 @@ protected:
private:
private:
#if defined(_ATMO_VLC_PLUGIN_)
#if defined(_ATMO_VLC_PLUGIN_)
static
void
ThreadProc
(
atmo_thread_t
*
pAtmoThread
);
static
void
*
ThreadProc
(
vlc_object_t
*
);
#else
#else
static
DWORD
WINAPI
ThreadProc
(
LPVOID
lpParameter
);
static
DWORD
WINAPI
ThreadProc
(
LPVOID
lpParameter
);
#endif
#endif
...
...
modules/video_filter/atmo/atmo.cpp
View file @
c5fb066d
...
@@ -555,7 +555,7 @@ typedef struct
...
@@ -555,7 +555,7 @@ typedef struct
}
fadethread_t
;
}
fadethread_t
;
static
void
FadeToColorThread
(
fadethread_t
*
p_fadethread
);
static
void
*
FadeToColorThread
(
vlc_object_t
*
);
/*****************************************************************************
/*****************************************************************************
...
@@ -1723,8 +1723,9 @@ static picture_t * Filter( filter_t *p_filter, picture_t *p_pic )
...
@@ -1723,8 +1723,9 @@ static picture_t * Filter( filter_t *p_filter, picture_t *p_pic )
* to a target color defined in p_fadethread struct
* to a target color defined in p_fadethread struct
* use for: Fade to Pause Color, and Fade to End Color
* use for: Fade to Pause Color, and Fade to End Color
*****************************************************************************/
*****************************************************************************/
static
void
FadeToColorThread
(
fadethread_t
*
p_fadethread
)
static
void
*
FadeToColorThread
(
vlc_object_t
*
obj
)
{
{
fadethread_t
*
p_fadethread
=
(
fadethread_t
*
)
obj
;
filter_sys_t
*
p_sys
=
(
filter_sys_t
*
)
p_fadethread
->
p_filter
->
p_sys
;
filter_sys_t
*
p_sys
=
(
filter_sys_t
*
)
p_fadethread
->
p_filter
->
p_sys
;
int
i_steps_done
=
0
;
int
i_steps_done
=
0
;
int
i_index
;
int
i_index
;
...
...
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