Commit 307be698 authored by IOhannes m zmölnig's avatar IOhannes m zmölnig

filmQT4L: allow requesting frame#0 and track#0

frames are 0-based
TODO: check tracks...
parent 3dd729f6
......@@ -182,10 +182,10 @@ film::errCode filmQT4L :: changeImage(int imgNum, int trackNum)
if(imgNum>m_numFrames || imgNum<0) {
return film::FAILURE;
}
if (imgNum>0) {
if (imgNum>=0) {
m_curFrame=imgNum;
}
if(trackNum>0) {
if(trackNum>=0) {
m_curTrack=trackNum;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment