Chris Robinson
|
da44141b95
|
Avoid creating extra texture unit states on the video material
|
12 years ago |
Chris Robinson
|
d50698d7d1
|
Clean up the rectangle and scene node used for displaying the video
|
12 years ago |
Chris Robinson
|
eb0e8d9e37
|
Simplify PacketQueue::get
|
12 years ago |
Chris Robinson
|
b41a77648e
|
Avoid re-reading the source sample to duplicate, to avoid pointer aliasing
|
12 years ago |
Chris Robinson
|
62a995d492
|
Calculate audio sync once per read
|
12 years ago |
Chris Robinson
|
32b0a5d96e
|
Update the queued sample count immediately
|
12 years ago |
Chris Robinson
|
cbdf6ad595
|
Move more stuff to where it should be, and improve cleanup
|
12 years ago |
Chris Robinson
|
71ff90aaee
|
Don't use sub-frame timing for the video clock
|
12 years ago |
Chris Robinson
|
582efcdb9b
|
Always try to resync if the clock difference is large
|
12 years ago |
Chris Robinson
|
f97eaec7ab
|
Consolidate some code
|
12 years ago |
Chris Robinson
|
d66d8a3118
|
Don't assume we can write beyond the end of the sample buffer
|
12 years ago |
Chris Robinson
|
7332ffb0f8
|
Let the wanted sample size go down to 0
|
12 years ago |
Chris Robinson
|
05c6483257
|
Fix external clock
|
12 years ago |
Chris Robinson
|
2f37d31108
|
Move some definitions into the source file they're used in
|
12 years ago |
Chris Robinson
|
a6e627001a
|
Avoid a for(;;) construct
|
12 years ago |
Chris Robinson
|
4d6c05f6cc
|
Tighten audio skew allowance
|
12 years ago |
Chris Robinson
|
8db5d10f10
|
Avoid showing a video picture if we're late
Ideally we should skip decoding, or at least YUV->RGB conversion, too.
|
12 years ago |
Chris Robinson
|
157cb10f56
|
Fix a 16-bit audio assumption
|
12 years ago |
Chris Robinson
|
c2b711d195
|
Move some more methods to the class they're part of
|
12 years ago |
Chris Robinson
|
26a09ee7ba
|
Move some methods into their respective class
|
12 years ago |
Chris Robinson
|
5221298a7f
|
Move a couple packet queue methods into the struct
|
12 years ago |
Chris Robinson
|
90294c589b
|
Use a volatile bool for the refresh
|
12 years ago |
Chris Robinson
|
f555dc60eb
|
Reduce some indentation
|
12 years ago |
Chris Robinson
|
6cedd64509
|
Fix audio sync correction sizes
|
12 years ago |
Chris Robinson
|
e291d0943d
|
Merge remote-tracking branch 'scrawl/videoplayback' into videoplayback
|
12 years ago |
Chris Robinson
|
606fb982a8
|
Update to use avcodec_decode_audio4
|
12 years ago |
scrawl
|
82564e07c7
|
fix crash when video file doesn't exist
|
12 years ago |
scrawl
|
27cd9ff732
|
Revert "Use the decoded frame pts when available"
This reverts commit cab68df257 .
|
12 years ago |
scrawl
|
9d6f656822
|
fixed ogre resource functions
|
12 years ago |
Chris Robinson
|
43481ad117
|
Use the external clock by default
|
12 years ago |
Chris Robinson
|
0a5ab977b7
|
Use the decoder's sample offset for calculating the stream offset
|
12 years ago |
Chris Robinson
|
cab68df257
|
Use the decoded frame pts when available
|
12 years ago |
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.
|
12 years ago |
Chris Robinson
|
600494eed8
|
More cleanup of unused code
|
12 years ago |
Chris Robinson
|
f7ff8b3374
|
A bit more cleanup
|
12 years ago |
Chris Robinson
|
7e8b844b2e
|
Clean up some unused code
|
12 years ago |
Chris Robinson
|
d2fbae9760
|
Init and deinit the VideoState synchronously, and re-enable audio playback
|
12 years ago |
Chris Robinson
|
f067b22b3f
|
Use a recursive mutex for the OpenAL stream thread
|
12 years ago |
Chris Robinson
|
ba9c5f5b4e
|
Don't initially fill buffers in OpenAL_SoundStream::play
|
12 years ago |
Chris Robinson
|
1ffaf6625a
|
Remove SDL for playing movie audio and prepare for using an audio track
This breaks audio playback on movies
|
12 years ago |
Chris Robinson
|
779ced0889
|
Add a method to play an audio track with a custom decoder
|
12 years ago |
Chris Robinson
|
1571243ef0
|
Implement getTimeOffset for OpenAL_SoundStream
|
12 years ago |
Chris Robinson
|
86bf6388c6
|
Pass a decoder to the playStream sound output method
|
12 years ago |
Chris Robinson
|
9c831d3039
|
Add a decoder method to get the "file" name
|
12 years ago |
Chris Robinson
|
1fb9eef27b
|
Detach the thread used for frame timing
|
12 years ago |
Chris Robinson
|
34e36fb852
|
Add a method to get the time offset from sounds
|
12 years ago |
scrawl
|
7fd9e1d212
|
Merge branch 'videoplayback' of https://github.com/ChrisKCat/openmw into videoplayback
Conflicts:
apps/openmw/mwrender/videoplayer.cpp
|
12 years ago |
scrawl
|
18d8c767bd
|
fix a bunch of warnings, improved error handling, initialize texture to black
|
12 years ago |
Chris Robinson
|
2c1eceb9f0
|
Add methods to pause and stop all playing sounds (and music)
|
12 years ago |
Chris Robinson
|
973b5faf25
|
Keep track of all allocated sources
|
12 years ago |