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-libclient
Commits
b2efc99d
Commit
b2efc99d
authored
Dec 02, 2019
by
Yang Wang
Committed by
Andreas Traczyk
Dec 03, 2019
Browse files
avmodel: expose useAVframe, currentAVFrame on non-DBus platforms
Change-Id: Ia2714fb137b41566c653dbb1ec18e7b65e325084
parent
9033db9d
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/api/newvideo.h
View file @
b2efc99d
...
...
@@ -136,7 +136,7 @@ public:
*/
Frame
currentFrame
()
const
;
#if defined(ENABLE_LIBWRAP)
|| (defined __APPLE__)
#if defined(ENABLE_LIBWRAP)
/**
* @return current avframe
*/
...
...
src/newvideo.cpp
View file @
b2efc99d
...
...
@@ -163,7 +163,7 @@ Renderer::currentFrame() const
return
result
;
}
#if defined(ENABLE_LIBWRAP)
|| (defined __APPLE__)
#if defined(ENABLE_LIBWRAP)
std
::
unique_ptr
<
AVFrame
,
void
(
*
)(
AVFrame
*
)
>
Renderer
::
currentAVFrame
()
const
{
...
...
src/video/renderer.h
View file @
b2efc99d
...
...
@@ -98,7 +98,7 @@ public:
virtual
QSize
size
()
const
;
virtual
QMutex
*
mutex
()
const
;
virtual
ColorSpace
colorSpace
()
const
=
0
;
#if defined(ENABLE_LIBWRAP)
|| (defined __APPLE__)
#if defined(ENABLE_LIBWRAP)
virtual
std
::
unique_ptr
<
AVFrame
,
void
(
*
)(
AVFrame
*
)
>
currentAVFrame
()
const
=
0
;
#endif
void
setSize
(
const
QSize
&
size
)
const
;
...
...
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