OSDN Git Service

stagefright-plugins: Fix thumbnail issues
authorSteve Kondik <steve@cyngn.com>
Sun, 27 Dec 2015 06:50:39 +0000 (22:50 -0800)
committerSteve Kondik <steve@cyngn.com>
Sun, 27 Dec 2015 06:50:39 +0000 (22:50 -0800)
commit8caee146eebfdbd47556f91c30e43958082be398
tree5e948dca3261c52d68e2b176523acc01001d6a44
parentcea1cb3f808368db20886dc92488913833470e8e
stagefright-plugins: Fix thumbnail issues

 * Grab the thumbnail time from the overall duration.
 * Don't seek for negative values, this unbalances the code
   used by FFMPEG for seeking within a range and biases towards
   the first frame in short clips, usually resulting in a black
   thumbnail.

Change-Id: I7021f19560808dc58dce9892dadcbaf5927e1c14
extractor/FFmpegExtractor.cpp