Chris Robinson
|
b41a77648e
|
Avoid re-reading the source sample to duplicate, to avoid pointer aliasing
|
2012-12-15 02:33:59 -08:00 |
|
Chris Robinson
|
62a995d492
|
Calculate audio sync once per read
|
2012-12-15 00:18:42 -08:00 |
|
Chris Robinson
|
32b0a5d96e
|
Update the queued sample count immediately
|
2012-12-14 23:42:49 -08:00 |
|
Chris Robinson
|
cbdf6ad595
|
Move more stuff to where it should be, and improve cleanup
|
2012-12-14 09:07:59 -08:00 |
|
Chris Robinson
|
71ff90aaee
|
Don't use sub-frame timing for the video clock
|
2012-12-14 08:42:37 -08:00 |
|
Chris Robinson
|
582efcdb9b
|
Always try to resync if the clock difference is large
|
2012-12-14 07:40:19 -08:00 |
|
Chris Robinson
|
f97eaec7ab
|
Consolidate some code
|
2012-12-14 07:29:58 -08:00 |
|
Chris Robinson
|
d66d8a3118
|
Don't assume we can write beyond the end of the sample buffer
|
2012-12-14 06:43:51 -08:00 |
|
Chris Robinson
|
7332ffb0f8
|
Let the wanted sample size go down to 0
|
2012-12-14 06:02:34 -08:00 |
|
Chris Robinson
|
05c6483257
|
Fix external clock
|
2012-12-14 04:35:57 -08:00 |
|
Chris Robinson
|
2f37d31108
|
Move some definitions into the source file they're used in
|
2012-12-14 04:12:34 -08:00 |
|
Chris Robinson
|
a6e627001a
|
Avoid a for(;;) construct
|
2012-12-14 03:23:04 -08:00 |
|
Chris Robinson
|
4d6c05f6cc
|
Tighten audio skew allowance
|
2012-12-14 03:19:32 -08:00 |
|
Chris Robinson
|
8db5d10f10
|
Avoid showing a video picture if we're late
Ideally we should skip decoding, or at least YUV->RGB conversion, too.
|
2012-12-14 03:11:59 -08:00 |
|
Chris Robinson
|
157cb10f56
|
Fix a 16-bit audio assumption
|
2012-12-14 02:39:46 -08:00 |
|
Chris Robinson
|
c2b711d195
|
Move some more methods to the class they're part of
|
2012-12-14 02:36:29 -08:00 |
|
Chris Robinson
|
26a09ee7ba
|
Move some methods into their respective class
|
2012-12-14 01:38:00 -08:00 |
|
Chris Robinson
|
5221298a7f
|
Move a couple packet queue methods into the struct
|
2012-12-14 01:14:14 -08:00 |
|
Chris Robinson
|
90294c589b
|
Use a volatile bool for the refresh
|
2012-12-13 18:24:57 -08:00 |
|
Chris Robinson
|
f555dc60eb
|
Reduce some indentation
|
2012-12-13 18:12:17 -08:00 |
|
Chris Robinson
|
6cedd64509
|
Fix audio sync correction sizes
|
2012-12-13 18:05:27 -08:00 |
|
Chris Robinson
|
e291d0943d
|
Merge remote-tracking branch 'scrawl/videoplayback' into videoplayback
|
2012-12-13 17:53:50 -08:00 |
|
Chris Robinson
|
606fb982a8
|
Update to use avcodec_decode_audio4
|
2012-12-13 17:53:22 -08:00 |
|
scrawl
|
82564e07c7
|
fix crash when video file doesn't exist
|
2012-12-14 01:44:00 +01:00 |
|
scrawl
|
27cd9ff732
|
Revert "Use the decoded frame pts when available"
This reverts commit cab68df257 .
|
2012-12-14 01:03:49 +01:00 |
|
scrawl
|
9d6f656822
|
fixed ogre resource functions
|
2012-12-14 00:10:54 +01:00 |
|
Chris Robinson
|
43481ad117
|
Use the external clock by default
|
2012-12-13 06:11:32 -08:00 |
|
Chris Robinson
|
0a5ab977b7
|
Use the decoder's sample offset for calculating the stream offset
|
2012-12-13 05:04:53 -08:00 |
|
Chris Robinson
|
cab68df257
|
Use the decoded frame pts when available
|
2012-12-13 04:25:41 -08:00 |
|
Chris Robinson
|
1ea1407707
|
Support quad, 5.1, and 7.1 with OpenAL and ffmpeg
The other decoders don't guarantee any channel ordering, which makes them
useless.
|
2012-12-13 04:10:19 -08:00 |
|
Chris Robinson
|
600494eed8
|
More cleanup of unused code
|
2012-12-13 03:37:04 -08:00 |
|
Chris Robinson
|
f7ff8b3374
|
A bit more cleanup
|
2012-12-13 03:13:44 -08:00 |
|
Chris Robinson
|
7e8b844b2e
|
Clean up some unused code
|
2012-12-13 03:05:37 -08:00 |
|
Chris Robinson
|
d2fbae9760
|
Init and deinit the VideoState synchronously, and re-enable audio playback
|
2012-12-13 02:52:37 -08:00 |
|
Chris Robinson
|
f067b22b3f
|
Use a recursive mutex for the OpenAL stream thread
|
2012-12-13 02:33:35 -08:00 |
|
Chris Robinson
|
ba9c5f5b4e
|
Don't initially fill buffers in OpenAL_SoundStream::play
|
2012-12-13 02:32:21 -08:00 |
|
Chris Robinson
|
1ffaf6625a
|
Remove SDL for playing movie audio and prepare for using an audio track
This breaks audio playback on movies
|
2012-12-13 01:42:20 -08:00 |
|
Chris Robinson
|
779ced0889
|
Add a method to play an audio track with a custom decoder
|
2012-12-13 00:05:57 -08:00 |
|
Chris Robinson
|
1571243ef0
|
Implement getTimeOffset for OpenAL_SoundStream
|
2012-12-12 23:16:45 -08:00 |
|
Chris Robinson
|
86bf6388c6
|
Pass a decoder to the playStream sound output method
|
2012-12-12 22:32:02 -08:00 |
|
Chris Robinson
|
9c831d3039
|
Add a decoder method to get the "file" name
|
2012-12-12 22:19:44 -08:00 |
|
Chris Robinson
|
1fb9eef27b
|
Detach the thread used for frame timing
|
2012-12-12 22:02:33 -08:00 |
|
Chris Robinson
|
34e36fb852
|
Add a method to get the time offset from sounds
|
2012-12-12 16:50:35 -08:00 |
|
scrawl
|
7fd9e1d212
|
Merge branch 'videoplayback' of https://github.com/ChrisKCat/openmw into videoplayback
Conflicts:
apps/openmw/mwrender/videoplayer.cpp
|
2012-12-12 22:24:38 +01:00 |
|
scrawl
|
18d8c767bd
|
fix a bunch of warnings, improved error handling, initialize texture to black
|
2012-12-12 15:15:55 +01:00 |
|
Chris Robinson
|
2c1eceb9f0
|
Add methods to pause and stop all playing sounds (and music)
|
2012-12-12 02:33:12 -08:00 |
|
Chris Robinson
|
973b5faf25
|
Keep track of all allocated sources
|
2012-12-12 01:32:16 -08:00 |
|
Chris Robinson
|
e82c4afd50
|
close SDL when closing the video, not after the video loop is finished
|
2012-12-12 00:36:52 -08:00 |
|
Chris Robinson
|
a62d5bbfe4
|
Sleep using the absolute time, so the thread creation doesn't add to the wait
|
2012-12-11 23:54:41 -08:00 |
|
Chris Robinson
|
c2e1595445
|
Treat paused sounds as still playing
|
2012-12-11 21:01:32 -08:00 |
|
Chris Robinson
|
2efdafecd9
|
Indentation fixes
|
2012-12-11 20:11:48 -08:00 |
|
Chris Robinson
|
277248cdcb
|
Fix some "comparison between signed and unsigned" warnings
|
2012-12-11 19:43:07 -08:00 |
|
Chris Robinson
|
3519934f27
|
Add a missing return value
|
2012-12-11 19:36:04 -08:00 |
|
Chris Robinson
|
9e2d4f8b7c
|
Avoid potential NULL dereference
|
2012-12-11 19:32:10 -08:00 |
|
scrawl
|
fe384a1600
|
pause 3d rendering while the video plays
|
2012-12-12 01:30:34 +01:00 |
|
scrawl
|
faad64b254
|
Esc cancels the video
|
2012-12-12 01:13:53 +01:00 |
|
scrawl
|
0ce5ade6d8
|
DataStreamPtr fix, indentation fixes
|
2012-12-11 23:06:06 +01:00 |
|
scrawl
|
c49966dd29
|
started over
|
2012-12-11 22:49:31 +01:00 |
|
scrawl
|
5f676f9c6b
|
Merge branch 'master' of https://github.com/zinnschlag/openmw into videoplayback
Conflicts:
apps/openmw/mwrender/renderingmanager.cpp
apps/openmw/mwscript/miscextensions.cpp
|
2012-12-11 22:28:23 +01:00 |
|
Marc Zinnschlag
|
de4a03081c
|
fixed skill level type in skill level up message
|
2012-12-10 11:04:21 +01:00 |
|
scrawl
|
e3dd3d565c
|
fix 2 leaks
|
2012-12-10 00:59:39 +01:00 |
|
Marc Zinnschlag
|
5f5addf052
|
fixed an enum
|
2012-12-09 00:12:24 +01:00 |
|
Marc Zinnschlag
|
0e7ba008ad
|
another skill gain fix
|
2012-12-08 14:28:56 +01:00 |
|
Marc Zinnschlag
|
caaffd1ec2
|
handle persuasion records properly
|
2012-12-08 14:24:15 +01:00 |
|
Marc Zinnschlag
|
a70a5282f4
|
fixed an overzealous skill gain error check
|
2012-12-08 13:37:43 +01:00 |
|
Marc Zinnschlag
|
386eec51c1
|
some skill usage fixes
|
2012-12-07 11:36:38 +01:00 |
|
eduard
|
e50b9aca86
|
tradding skill use, spechcraft use
|
2012-12-06 20:58:33 +01:00 |
|
eduard
|
2d62649dc9
|
tradding skill use, spechcraft use
|
2012-12-06 18:30:19 +01:00 |
|
eduard
|
b2a0e4b1fd
|
tradding skill use, spechcraft use
|
2012-12-06 18:19:35 +01:00 |
|
eduard
|
ea8ee11ff7
|
tradding skill use
|
2012-12-06 14:25:53 +01:00 |
|
eduard
|
5332546541
|
tradding skill use
|
2012-12-06 13:58:52 +01:00 |
|
Marc Zinnschlag
|
8bcd7d8fb1
|
fixed a type in a script instruction
|
2012-12-04 20:56:45 +01:00 |
|
Marc Zinnschlag
|
8e1a2e3a13
|
Issue #474: adjust global variable pcrace
|
2012-12-04 10:58:43 +01:00 |
|
scrawl
|
7cc28c3eb9
|
Merge branch 'videoplayback' of github.com:scrawl/openmw into videoplayback
|
2012-12-03 17:43:00 +01:00 |
|
scrawl
|
3106db0379
|
commented out debug output
|
2012-12-03 17:41:38 +01:00 |
|
scrawl
|
bc90c75176
|
more clean up, video played with correct speed, videos without sound working too (mw_credits.bik)
|
2012-12-03 17:33:02 +01:00 |
|
scrawl
|
a77d910aaf
|
audio codec is opened, some cleanup
|
2012-12-03 16:44:41 +01:00 |
|
scrawl
|
3db850a7d1
|
Don't crash if no loading screens are found
|
2012-12-03 05:45:04 +01:00 |
|
scrawl
|
ea2bbec76e
|
better fix for bed activation
|
2012-12-03 05:32:12 +01:00 |
|
Tom Mason
|
a6fd369e4e
|
Fixed wait window reappearing after sleeping
|
2012-12-02 22:10:47 +00:00 |
|
greye
|
682fd23aea
|
fix wrong increment
|
2012-12-02 21:18:59 +04:00 |
|
Marc Zinnschlag
|
b25f2e88ce
|
Issue #492: fixed double alchemy ingredients removal
|
2012-12-02 15:07:22 +01:00 |
|
Marc Zinnschlag
|
556d737f65
|
Merge remote-tracking branch 'trombonecot/windowformatting'
|
2012-12-02 14:36:36 +01:00 |
|
eduard
|
30d0e93cf4
|
Fix window formatting on tool tip with too log titles
|
2012-12-02 14:12:18 +01:00 |
|
eduard
|
7e7e6e2bcb
|
Fix window formatting on tool tip with too log titles
|
2012-12-02 14:08:22 +01:00 |
|
scrawl
|
d432420a32
|
fix FindFFmpeg.cmake
|
2012-12-01 20:53:28 +01:00 |
|
scrawl
|
c4facc233e
|
Merge branch 'master' into videoplayback
Conflicts:
apps/openmw/mwrender/renderingmanager.cpp
|
2012-12-01 11:30:51 +01:00 |
|
scrawl
|
398eecc35e
|
GetWeaponType fix
|
2012-11-28 02:51:46 +01:00 |
|
scrawl
|
00e46addc2
|
GetArmorType fix
|
2012-11-28 02:48:21 +01:00 |
|
scrawl
|
8e857587d7
|
fix a text coloring bug
|
2012-11-28 02:36:33 +01:00 |
|
scrawl
|
1def60dbe1
|
PcExpell, PcExpelled, PcClearExpelled, RaiseRank, LowerRank
|
2012-11-28 02:15:34 +01:00 |
|
scrawl
|
9f720ccbc9
|
Merge branch 'master' of https://github.com/zinnschlag/openmw into scripting
|
2012-11-28 02:14:37 +01:00 |
|
scrawl
|
644dacf603
|
suggestion by Zini for SetDelete
|
2012-11-28 01:30:18 +01:00 |
|
Marc Zinnschlag
|
5eb0f489e2
|
Issue 476: fixed auto-move bypassing disabled player controls
|
2012-11-27 18:39:12 +01:00 |
|
Greendogo
|
8b18d195bd
|
Update apps/openmw/main.cpp
Edited the description for the --script-run switch.
|
2012-11-27 04:50:49 -06:00 |
|
scrawl
|
d6dd212ce8
|
GetWerewolfKills, ModScale, SetDelete, GetSquareRoot
|
2012-11-27 06:54:13 +01:00 |
|
scrawl
|
1ccad32877
|
GetWeaponType
|
2012-11-25 02:06:43 +01:00 |
|
scrawl
|
e68dc19256
|
GetCurrentTime, HasSoulGem
|
2012-11-25 01:54:37 +01:00 |
|
scrawl
|
0db48b29c7
|
GetSpellEffects, GetRace
|
2012-11-25 01:26:29 +01:00 |
|
scrawl
|
4b830e5c7a
|
Merge branch 'scripting' of github.com:scrawl/openmw into scripting
|
2012-11-25 00:44:38 +01:00 |
|