thumbnailer: Fix gallery mode's last picture
authorBastien Nocera <hadess@hadess.net>
Tue, 5 Apr 2011 18:12:51 +0000 (19:12 +0100)
committerBastien Nocera <hadess@hadess.net>
Tue, 5 Apr 2011 18:30:16 +0000 (19:30 +0100)
commit9e8ca5f9175739a723401a45418bfa762571bbdd
treebf803614cc249652f415f4393ab49c308c1d90fe
parentc28f690c3b2df06a5f3c0ac499ec56490ca21f5a
thumbnailer: Fix gallery mode's last picture

We were trying to get the last picture at the same offset
as the file duration. Seek would have failed there, and
we wouldn't be able to get a frame.
src/totem-video-thumbnailer.c