Commit graph

6 commits

Author SHA1 Message Date
Niels Martin Hansen a6c169a4b2 Complete rewrite of the DirectSound audio player, this time doing threading and synchronisation better, and following the COM apartment model strictly too. It replaces the old player by default, but the old is still available in the runtime configuration.
Originally committed to SVN as r2495.
2008-11-27 18:35:26 +00:00
Karl Blomster 893ff2f78a Major rewrite of the video providing system. Hilights:
- It is now the responsibility of each video provider to provide a list of keyframe positions and (if it can) timecodes.
- The ffmpeg video provider now indexes files before opening them and does no longer rely on stream->duration to determine the number of frames. Fixes opening of MKV files, but it does not (currently) open timecodes automatically and reported keyframe positions seem way off. Status of frame-accuracy with MKV files unknown but it may very well work.
- Modified the way the ffmpeg video provider seeks (inspired by code from Myrsloik's ffmpegsource). Should no longer lose the first frame and should also no longer be frame-inaccurate, at least not with AVI.
- DirectShow video provider may or may not be completely broken, not tested.

Originally committed to SVN as r2252.
2008-07-15 00:08:05 +00:00
Rodrigo Braz Monteiro 6e5f23c1cd Added missing virtual destructors.
Originally committed to SVN as r2043.
2008-03-13 18:06:13 +00:00
Rodrigo Braz Monteiro 8227971186 Another battle in the String Hell War
Originally committed to SVN as r1974.
2008-03-08 18:13:42 +00:00
Rodrigo Braz Monteiro 6b12f54d72 Changed video provider to not depend on wxWidgets.
Originally committed to SVN as r1958.
2008-03-07 21:24:14 +00:00
Rodrigo Braz Monteiro 4f4f4cc91f Moved files relevant to providers to aegisub/include. A few things might be broken.
Originally committed to SVN as r1956.
2008-03-07 21:00:20 +00:00