diff options
author | Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com> | 2009-09-16 06:55:29 (GMT) |
---|---|---|
committer | Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com> | 2009-09-16 06:55:29 (GMT) |
commit | 6a0ccd3477b0ddb0a550b56bdc41e8ae1cf740a6 (patch) | |
tree | 64f3f926706a4287f1156db6d6d64cded5b04bda /tests/auto/qimagereader/tst_qimagereader.cpp | |
parent | e7042dea2431b8f64574d4e97eb896285b328c8b (diff) | |
download | Qt-6a0ccd3477b0ddb0a550b56bdc41e8ae1cf740a6.zip Qt-6a0ccd3477b0ddb0a550b56bdc41e8ae1cf740a6.tar.gz Qt-6a0ccd3477b0ddb0a550b56bdc41e8ae1cf740a6.tar.bz2 |
Fixes: Fixed incorrect tracks number calculation with phonon/gst
RevBy: Andrew den Exter
Details:
gst_element_query_duration(element,format,duration) doesn't always
return duration in format being asked for (tracks in this case),
it can also return duration in format it can (Time) and modify
format parameter, so check the format is still the same
as requested is necessary. This bug prevented Phonon to emit finished()
signal with some files, since it expected next tracks to exist.
Diffstat (limited to 'tests/auto/qimagereader/tst_qimagereader.cpp')
0 files changed, 0 insertions, 0 deletions