1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
Commit Graph

58 Commits

Author SHA1 Message Date
sudden6
9de40e5a97
fix(video): don't pass invalid pixel format strings to ffmpeg 2018-09-29 18:43:48 +02:00
iphydf
52a5951d26
chore: Use nullptr instead of 0 for NULL pointer constants. 2018-09-07 21:38:59 +00:00
Anthony Bilinski
5dc4e6de81
chore(legal): update copyright date to 2018 for all source files 2018-04-25 17:33:38 -07:00
sudden6
db7ee65d0e
fix(video): allow not integer framerates
Fix #4866 and #4764
2017-12-21 21:28:27 +01:00
sudden6
5d6ae9ae37
fix(video): don't use pointers to temporary objects
fixes #4764
2017-11-12 13:10:35 +01:00
Diadlo
92def839d0
fix(cameradevice): Save string in local variable to avoid errors 2017-10-23 21:04:34 +03:00
Diadlo
dd9b324ec3
chore(qt): Remove old qt code 2017-06-26 23:06:55 +03:00
Yuri
dd59f5ee90 fix(macro): Fixed clang warning about USING_V4L
Clang produced this warning:
"macro expansion producing 'defined' has undefined behavior"
2017-05-08 09:28:29 -07:00
Zetok Zalbavar
80f5de31b3
style: reformat current C++ codebase using clang-format 2017-02-26 11:52:45 +00:00
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.
2017-02-05 10:44:58 -08:00
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.
2016-12-29 16:10:53 +00:00
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.
2016-12-28 22:15:16 +01:00
Zetok Zalbavar
7b60a5dd36
chore: explicitly mention that copyright belongs to qTox contributors 2016-11-29 11:12:06 +00:00
Diadlo
b4a9f04f92
refactor: Added to include path and exclude it from all includes 2016-11-28 23:28:42 +03:00
Zetok Zalbavar
64bbc6cfbb
style: change postfix increment to prefix increment 2016-11-03 07:57:14 +00:00
Diadlo
672744de96
docs(audio, video): Added leading stars 2016-08-19 00:20:23 +03:00
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.
2016-08-16 14:27:56 +08:00
Diadlo
29443040fb
docs(audio, video): Change comment style 2016-07-27 01:23:27 +03:00
sudden6
b5c8c60d81
Merge pull request #3505
Colomban Wendling (1):
      fix(x11grab): try and use the current display
2016-07-16 23:50:12 +02:00
Diadlo
2258748d28
style(audio, video): Style fixes 2016-07-13 01:54:37 +03:00
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.
2016-07-12 21:31:33 +02:00
Diadlo
d781a4f762
feat(cameradevice, avform): Added ability of screen selection 2016-06-25 14:20:08 +03:00
Diadlo
fd701df101
feat(videomode): Added possible video shift 2016-06-25 14:19:46 +03:00
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
2016-04-04 23:02:54 -04:00
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
2016-04-04 09:06:16 -04:00
initramfs
75b40d0a6f
fix(video): incorrect desktop video resolution when using HiDPI
Fixes desktop sharing region being clipped when DPI scaling is being
used.
2016-04-03 10:17:25 -04:00
Sean
f595f4f817 camera res option reduction 2016-03-21 21:17:21 -05:00
Sean
ffa312b91b tabs to spaces 2016-01-26 13:34:29 -06:00
Sean
ded8d87ba8 generic pixel format selection 2016-01-26 13:14:58 -06:00
tux3
aef447d7c7
Have v4l2 read MJPEG video by default
Fixes #2826

Thanks to @seanlaguna for finding a fix
2016-01-20 00:00:03 +01:00
Andrew Novikov
985def25ff Implemented screen capturing support for Mac OS X 2015-12-23 15:31:28 +03:00
Andrew Novikov
cc64db3f27
Implemented listing and setting video modes on Mac OS X 2015-12-21 01:27:38 +01:00
Andrew Novikov
cf6623cfc8
Implemented enumeration of video devices. 2015-12-21 01:26:18 +01:00
tux3
b1f8d3f912
Fix attempt for #2438 2015-12-04 20:35:50 +01:00
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
2015-11-07 01:34:07 +01:00
tux3
69b8a90277 Implement video calls 2015-10-23 17:39:08 +02:00
tux3
1f61534841 Merge branch 'pr2343' 2015-10-23 15:20:58 +02:00
bitok
d6ff67893f Fix performance issues detected with static analyze 2015-10-13 23:21:20 +03:00
Dmytro Shynkevych
901befb270 cameradevice: fixed a double free
Introduced by c491f79077
2015-10-09 19:10:43 -04:00
Dmytro Shynkevych
c491f79077 cameradevice: fixed a regression
Memory would sometimes not be freed.
Caused by 8776682d44
2015-10-05 21:21:12 -04:00
Dmytro Shynkevych
8776682d44 cameradevice: fixed a major leak: avformat_context not always freed 2015-10-04 17:21:52 -04:00
Zetok Zalbavar
6998c2c757
Make 'None' and 'Desktop' camera device names translatable
fixes #2252
2015-09-18 19:12:10 +01:00
Yuri
0895b89794 Prevent crashed when default video format not found. 2015-07-15 01:46:23 -07:00
tux3
9c87d5ed2e
Add 'None' video device
Fixes #1825
2015-06-22 14:59:55 +02:00
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.
2015-06-06 14:51:28 +01:00
tux3
20f254651d
Reorganize files 2015-06-06 01:44:47 +02:00
tux3
e3dd2dc9e1
Limit desktop streamins FPS
Otherwise we get overwhelmed and start dropping frames
2015-06-04 23:34:17 +02:00
tux3
862ad154fc
Fix crash if avdevice_list_devices fails 2015-06-04 17:22:58 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
44628373cd
Windows desktop capture (gdigrab) 2015-06-03 11:47:19 +02:00
tux3
37a3a8d9d6 Properly set desktop capture region
We now capture the full screen by default, with code to handle modesetting, instead of always the FFmpeg default region of 1024x768
2015-06-03 02:10:53 +02:00