From Stephan Huber, "I cleaned the code a little bit and improved the handling of loops:

I added a new protected virtual method to ImageStream called
applyLoopingMode()  which is called from setLoopingMode. The
quicktime-plugin has an implementation of applyLoopingMode which sets
some flags for the quicktime, so that quicktime handles the loop
playback by itself.

This has some benefits:

+ no gaps when looping audio
+ simplified code

Attached you'll find the modified files, hope you'll find them useful."
This commit is contained in:
Robert Osfield
2007-05-19 14:00:39 +00:00
parent e37ec98748
commit 6a29688896
4 changed files with 40 additions and 75 deletions

View File

@@ -16,7 +16,7 @@
MovieData::MovieData() : _pointer(NULL), _movie(NULL), _gw(NULL), _fError(false)
MovieData::MovieData() : _pointer(NULL), _movie(NULL), _gw(NULL), _fError(false), _isLooping(false)
{
}