enabled.
- This is simpler--two fewer entry points, and a trivial decode path.
- Puts the mechanics of frame skipping in the decoder's control. Previously,
all we did was skip conversion and texture updates. Now, the decoder
can be smarter: skip B-frames, or skip to a keyframe.
- This allows for faster decodes, using slice-based conversion: YUV conversion
can be done at the same time as decoding.
don't make spurious calls to GetFrame (waste of CPU)
- fix DecodeFrame setting FRAME_DECODED without actually decoding a frame on EOF
after loop
update comment
(probably not related to "movie not looping" problems)
We could make MovieDecoder the arch class, with MovieTexture_Generic
replacing RageMovieTexture, but it forces a pull-based API, and DShow
insists on being callback-based ...