sirius
97064a1b09
Keep trying to solve fluency issues
2020-01-25 19:14:45 +08:00
sirius
d6dc811674
seems fluent problem solved, and fix a error when compile by msvs
2020-01-12 16:57:40 +08:00
sirius
483885b6b1
try to solve the problem that video not fluent caused by previous commits
2020-01-08 14:25:06 +08:00
sirius
d45b66938d
make latter to wait when write_frame collision between audio and video
2020-01-07 11:32:56 +08:00
sirius
3baba93ed2
fix the problem of audio when video fps is low
2020-01-06 11:57:24 +08:00
sirius
779afcb771
crf and preset can be set by variables
2020-01-05 11:18:51 +08:00
sirius
0be4629cc1
forget to deal with pError
2020-01-04 17:44:12 +08:00
sirius
3967ddba00
replace same operations by call Demoplay_Play() when rendering video by render button
2020-01-04 17:08:00 +08:00
sirius
521e822bbb
update map fix part when rendering video
2020-01-04 17:02:00 +08:00
sirius
5350a12185
fix wired sound
2020-01-04 10:17:16 +08:00
def
600a3b0bad
Fix preprocessor
2020-01-03 22:07:02 +01:00
def
511c9d248e
Fix alignment of pixels for reading to video recorder
2020-01-03 21:43:15 +01:00
def
1e36b4df15
Move some code out as a small optimization
2020-01-03 21:42:53 +01:00
def
8d716452ba
Fix sizes so that we don't write too far
2020-01-03 21:42:19 +01:00
def
54ae929b2f
Disallow resizing windows when videorecorder is compiled in
2020-01-03 21:40:41 +01:00
def
a0362019f0
Initialize m_NextaFrame
2020-01-03 20:37:27 +01:00
sirius
6803726209
extend sound buffer, try to solve segment fault problem
2020-01-03 10:26:10 +08:00
def
df807a7486
-DVIDEORECORDER=ON instead of -DFFMPEG=ON, fix README
...
remove unused files
2020-01-01 16:56:54 +01:00
sirius
7710b88670
Merge branch 'master' of https://github.com/ddnet/ddnet into demo_render2
2020-01-01 18:36:49 +08:00
Dennis Felsing
811ddb3283
Merge pull request #2008 from Learath2/dd_pr_demohotfix
...
Fix (not) small bug with demos that don't include a map
2019-12-22 22:38:22 +01:00
Dennis Felsing
83f2fc2669
Merge pull request #2012 from ChillerDragon/pr_func_style
...
Style 'void foo() {' -> 'void foo()\n{'
2019-12-21 18:18:49 +01:00
ChillerDragon
928e5407eb
Style 'void foo() {' -> 'void foo()\n{'
2019-12-21 14:35:09 +01:00
Dennis Felsing
3e08d473ab
Merge pull request #2011 from heinrich5991/pr_ddnet_fix_comment
...
Fix outdated comment
2019-12-21 08:00:38 +01:00
heinrich5991
e70fb8e43d
Fix outdated comment
2019-12-20 22:51:10 +01:00
Learath
65ec25a8a1
Fix small bug with demos that don't include a map
2019-12-18 13:51:08 +01:00
Dennis Felsing
4171e8751f
Merge pull request #1939 from Learath2/dd_pr_demoload
...
Always try extracting map before fail. Fix #1886
2019-12-17 21:20:10 +01:00
ChillerDragon
4a6a85124a
Remove some unused includes
2019-12-14 10:20:42 +01:00
Magnus Auvinen
6a6a5f00c9
more typesafty in the graphics. introduced the IGraphics::CTextureHandle
...
Edited by @ChillerDragon to fit in ddnet
(cherry picked from commit cb95e8dfe8
)
2019-11-22 18:08:37 +01:00
sirius
76a80fe01b
deal with warnings
2019-11-12 21:41:30 +08:00
ChillerDragon
9c3447dd17
Use an enum for netclient indices
2019-11-10 13:46:27 +01:00
sirius
8c48e7d633
some small changes
2019-11-03 11:20:24 +08:00
sirius
4cc03af9a9
remove useless functions for previous audio sync
2019-11-02 18:32:48 +08:00
sirius
e910fe404f
Direct mix when recording audio now, and seems solve the stuck problem when
...
DDNet is not the focusing window
2019-11-02 18:21:47 +08:00
sirius
f2ffa996c2
GetSync calculate only when m_Recording true (otherwise sometimes core dump)
2019-11-01 10:52:24 +08:00
Sirius
45263ebdd0
Merge branch 'master' into demo_render2
2019-10-31 22:08:49 +08:00
sirius
ae1ff28579
not abort sample when sync now
2019-10-31 22:01:12 +08:00
WsYFU
1a16f5b5f0
Update serverbrowser.cpp
2019-10-31 16:16:35 +03:00
sirius
5ad8028aa4
sync audio frame with video frame number
2019-10-31 20:02:41 +08:00
sirius
99f6b66fbd
solve sync between video and audio by magic number
2019-10-31 17:37:38 +08:00
sirius
99df692e00
interleaving problem solved, but a little misplacement of video and audio stream
2019-10-31 17:00:05 +08:00
sirius
0a6edd02ca
solve the problem when video finished
2019-10-30 22:26:45 +08:00
sirius
9f009e0e04
interleaving problem seems solved, but still have some problem when playing by mplayer
2019-10-30 22:10:44 +08:00
sirius
f0e7ca200f
remove two first audio frames to avoid noise in the begining
2019-10-30 10:56:20 +08:00
sirius
a7c2a65ebc
audio seems correct, but need more elegant way, and still bad interleaving
2019-10-30 00:01:25 +08:00
sirius
49ff1a5827
not play sound when rendering video
2019-10-26 20:01:09 +08:00
sirius
9866a73b1c
sync audio and video
2019-10-26 19:54:25 +08:00
ChillerDragon
47b41f35ff
Fix objc_msgSend() xcode11 error
...
Fix by @heinrich5991
from the documentation of objc_msgSend in <objc/message.h>
```
/* Basic Messaging Primitives
*
* On some architectures, use objc_msgSend_stret for some struct return types.
* On some architectures, use objc_msgSend_fpret for some float return types.
* On some architectures, use objc_msgSend_fp2ret for some float return types.
*
* These functions must be cast to an appropriate function pointer type
* before being called.
*/
OBJC_EXPORT void
objc_msgSend(void /* id self, SEL op, ... */ )
OBJC_AVAILABLE(10.0, 2.0, 9.0, 1.0, 2.0);
OBJC_EXPORT void
objc_msgSendSuper(void /* struct objc_super *super, SEL op, ... */ )
OBJC_AVAILABLE(10.0, 2.0, 9.0, 1.0, 2.0);
```
2019-10-23 17:23:51 +02:00
sirius
b175a6fd42
add button to use sound when rendering video
2019-10-17 13:38:00 +08:00
Learath
7cdd050fee
Add SHA to demos. Bump Demo Version
2019-10-14 02:27:08 +02:00
Learath
b2cefb20ed
Always try extracting map before fail. Fix #1886
2019-10-13 18:46:28 +02:00