Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
5180ef94
Commit
5180ef94
authored
Sep 10, 2013
by
Tristan Matthews
Browse files
video: only expose methods if necessary
parent
b4bc7ab8
Changes
4
Hide whitespace changes
Inline
Side-by-side
daemon/src/sflthread.h
View file @
5180ef94
...
...
@@ -40,18 +40,18 @@ public:
virtual
~
SFLThread
();
void
start
();
protected:
void
exit
();
void
stop
();
void
join
();
bool
isRunning
();
pr
otec
te
d
:
pr
iva
te:
virtual
bool
setup
()
{
return
true
;
};
virtual
void
process
()
{};
virtual
void
cleanup
()
{};
void
exit
();
private:
static
void
*
run_
(
void
*
);
void
mainloop_
();
pthread_t
thread_
;
...
...
daemon/src/video/video_mixer.h
View file @
5180ef94
...
...
@@ -57,10 +57,10 @@ public:
int
getWidth
()
const
;
int
getHeight
()
const
;
private:
// threading
void
process
();
private:
NON_COPYABLE
(
VideoMixer
);
void
waitForUpdate
();
...
...
daemon/src/video/video_receive_thread.h
View file @
5180ef94
...
...
@@ -82,7 +82,6 @@ private:
void
renderFrame
();
static
int
readFunction
(
void
*
opaque
,
uint8_t
*
buf
,
int
buf_size
);
protected:
// threading
bool
setup
();
void
process
();
...
...
daemon/src/video/video_send_thread.h
View file @
5180ef94
...
...
@@ -52,13 +52,12 @@ public:
std
::
string
getSDP
()
const
{
return
sdp_
;
}
void
forceKeyFrame
();
pr
otec
te
d
:
pr
iva
te:
// threading
bool
setup
();
void
process
();
void
cleanup
();
private:
NON_COPYABLE
(
VideoSendThread
);
static
int
interruptCb
(
void
*
ctx
);
...
...
Write
Preview
Supports
Markdown
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