Mercurial > hg > easaier-soundaccess
comparison data/fileio/VideoFileReader.h @ 167:2ac52ea3c1c4
video mouse events are in SDL now.
The code is really better now, but there is a display bug when you zoom in, zoom out
author | benoitrigolleau |
---|---|
date | Fri, 16 Nov 2007 15:18:44 +0000 |
parents | e63e8272dcb0 |
children | be6d31baecb9 |
comparison
equal
deleted
inserted
replaced
166:0442224a9553 | 167:2ac52ea3c1c4 |
---|---|
40 virtual ~VideoFileReader(); | 40 virtual ~VideoFileReader(); |
41 | 41 |
42 virtual QString getError() const { return m_error; } | 42 virtual QString getError() const { return m_error; } |
43 | 43 |
44 static void getSupportedExtensions(std::set<QString> &extensions); | 44 static void getSupportedExtensions(std::set<QString> &extensions); |
45 void VideoFileReader::processEvents(); | |
45 | 46 |
46 protected: | 47 protected: |
47 QString m_path; | 48 QString m_path; |
48 QString m_error; | 49 QString m_error; |
49 size_t m_fileSize; | 50 size_t m_fileSize; |
53 SDL_ffmpegFile* film; | 54 SDL_ffmpegFile* film; |
54 QProgressDialog *m_progress; | 55 QProgressDialog *m_progress; |
55 bool m_cancelled; | 56 bool m_cancelled; |
56 int m_width; | 57 int m_width; |
57 int m_height; | 58 int m_height; |
59 float m_zoomfactor; | |
58 | 60 |
59 | 61 |
60 | 62 |
61 | 63 |
62 bool decodeAudio(SDL_ffmpegFile* file); | 64 bool decodeAudio(SDL_ffmpegFile* file); |