Anthony Bilinski
f373107f63
chore(cleanup): add Wunknown-pragmas, fix pragma typos
...
Fix #6035
5 years ago
Anthony Bilinski
2c1a86482a
chore(style): remove old style casts and cross sign comparisons
...
Enable warnings for both. Favour casting to signed rather than casting to
unsigend for comparisons. Per isocpp's core guidelines ES.102, signed
arithmetic gives more expected results. If we need one extra bit of range,
using longer signed types achives that.
Fix #6010
Fix #6012
5 years ago
jessica181920
11b34c84ef
fix(i18n): Various English fixes
...
Consistency, typos, grammatical corrections, capitalization, punctuation,
etc.
6 years ago
jenli669
04a9bc46f4
docs(copyright): update and add copyright info
...
zealously updates and adds qTox copyright information.
Fixes #5713
6 years ago
sudden6
9de40e5a97
fix(video): don't pass invalid pixel format strings to ffmpeg
7 years ago
iphydf
52a5951d26
chore: Use `nullptr` instead of `0` for NULL pointer constants.
7 years ago
Anthony Bilinski
5dc4e6de81
chore(legal): update copyright date to 2018 for all source files
7 years ago
sudden6
db7ee65d0e
fix(video): allow not integer framerates
...
Fix #4866 and #4764
8 years ago
sudden6
5d6ae9ae37
fix(video): don't use pointers to temporary objects
...
fixes #4764
8 years ago
Diadlo
92def839d0
fix(cameradevice): Save string in local variable to avoid errors
8 years ago
Diadlo
dd9b324ec3
chore(qt): Remove old qt code
8 years ago
Yuri
dd59f5ee90
fix(macro): Fixed clang warning about USING_V4L
...
Clang produced this warning:
"macro expansion producing 'defined' has undefined behavior"
8 years ago
Zetok Zalbavar
80f5de31b3
style: reformat current C++ codebase using clang-format
9 years ago
Yuri
2340a7491a
style(video): Simplified ifdefs, made them USING_V4L to be explicit.
...
Changed complex ifdef statements into simpler ones using the easy to
read token USING_V4L.
9 years ago
Zetok Zalbavar
d4ac13dbf4
revert: "refactor: Added to include path and exclude it from all includes"
...
Revert needed, since otherwise there is no way to do automatic sorting
of includes.
Also reverted change to the docs, as leaving it would make incorrect
docs.
In case of conflicts, includes were sorted according to the coding
standards from #3839 .
This reverts commit b4a9f04f92
.
This reverts commit 5921122960
.
9 years ago
sudden6
8d320ca3be
chore: Make building for FreeBSD easier
...
Add some patches from https://svnweb.freebsd.org/ports/head/net-im/qTox/
and make some things more platform independent.
9 years ago
Zetok Zalbavar
7b60a5dd36
chore: explicitly mention that copyright belongs to qTox contributors
9 years ago
Diadlo
b4a9f04f92
refactor: Added to include path and exclude it from all includes
9 years ago
Zetok Zalbavar
64bbc6cfbb
style: change postfix increment to prefix increment
9 years ago
Diadlo
672744de96
docs(audio, video): Added leading stars
9 years ago
initramfs
ef157ca8af
fix(video): fix scaling issues under HiDPI displays with desktop video
...
This commit fixes missing scaling factors with desktop video to allow
desktop video under HiDPI scaling to work as intended. Also removes a
few obsolete lines of scaling that that was required for older Qt
versions.
9 years ago
Diadlo
29443040fb
docs(audio, video): Change comment style
9 years ago
Diadlo
2258748d28
style(audio, video): Style fixes
9 years ago
Colomban Wendling
294bdab77f
fix(x11grab): try and use the current display
...
Don't hard-code ":0" as the display and try and use the DISPLAY
environment variable instead.
This fixes screen grabbing under X11 when the user is not on screen 0.
Fix #3500 .
9 years ago
Diadlo
d781a4f762
feat(cameradevice, avform): Added ability of screen selection
9 years ago
Diadlo
fd701df101
feat(videomode): Added possible video shift
9 years ago
initramfs
00947bc7ad
refactor(video): simplifies retrieval of primary screen
...
This commit reduces primary screen retrieval to a single static field
access as opposed to obtaining a runtime instance of the QApplication
object
9 years ago
initramfs
d2189f3891
fix(video): uses explicit default screen from QGuiApplication
...
This commit changes the method used to obtain the active screen from
simply selecting the first screen in the list to using the explicit
default screen from QGuiApplication::primaryScreen() function
9 years ago
initramfs
75b40d0a6f
fix(video): incorrect desktop video resolution when using HiDPI
...
Fixes desktop sharing region being clipped when DPI scaling is being
used.
9 years ago
Sean
f595f4f817
camera res option reduction
10 years ago
Sean
ffa312b91b
tabs to spaces
10 years ago
Sean
ded8d87ba8
generic pixel format selection
10 years ago
tux3
aef447d7c7
Have v4l2 read MJPEG video by default
...
Fixes #2826
Thanks to @seanlaguna for finding a fix
10 years ago
Andrew Novikov
985def25ff
Implemented screen capturing support for Mac OS X
10 years ago
Andrew Novikov
cc64db3f27
Implemented listing and setting video modes on Mac OS X
10 years ago
Andrew Novikov
cf6623cfc8
Implemented enumeration of video devices.
10 years ago
tux3
b1f8d3f912
Fix attempt for #2438
10 years ago
tux3
71e26fb15b
List video devices using v4l2 directly, not ffmpeg
...
Turns out, FFmpeg is annoyingly unreliable when it comes to this. It ignores uvcvideo devices for example
10 years ago
tux3
69b8a90277
Implement video calls
10 years ago
bitok
d6ff67893f
Fix performance issues detected with static analyze
10 years ago
Dmytro Shynkevych
901befb270
cameradevice: fixed a double free
...
Introduced by c491f79077
10 years ago
Dmytro Shynkevych
c491f79077
cameradevice: fixed a regression
...
Memory would sometimes not be freed.
Caused by 8776682d44
10 years ago
Dmytro Shynkevych
8776682d44
cameradevice: fixed a major leak: avformat_context not always freed
10 years ago
Zetok Zalbavar
6998c2c757
Make 'None' and 'Desktop' camera device names translatable
...
fixes #2252
10 years ago
Yuri
0895b89794
Prevent crashed when default video format not found.
10 years ago
tux3
9c87d5ed2e
Add 'None' video device
...
Fixes #1825
10 years ago
Zetok Zalbavar
67e9aeec63
Fix incorrect copyright headers
...
The qTox Project is not associated with the Tox Project in any way, with the
exception of "qTox" using the Tox Projet's "toxcore" collection of libraries.
In particular, the Tox Projet does not own copyright over the qTox Project's
"qTox" collection of software, source code, and assets.
The qTox Project's assets are under the sole copyright of the qTox
contributors, and no partiular rights are granted to the Tox Project.
10 years ago
tux3
20f254651d
Reorganize files
10 years ago
tux3
e3dd2dc9e1
Limit desktop streamins FPS
...
Otherwise we get overwhelmed and start dropping frames
10 years ago
tux3
862ad154fc
Fix crash if avdevice_list_devices fails
10 years ago