summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2015-12-26 16:52:22 -0800
committerSteve Kondik <steve@cyngn.com>2015-12-26 20:51:40 -0800
commit5712d5ca0b263b8884a68896b1294a294fd4708e (patch)
tree3d546428453af4cb31cfca9decf60431a0a5117d
parentd2c00b4b6d506104bbdb8e9e5d2f609bb4428bd8 (diff)
downloadframeworks_av-5712d5ca0b263b8884a68896b1294a294fd4708e.zip
frameworks_av-5712d5ca0b263b8884a68896b1294a294fd4708e.tar.gz
frameworks_av-5712d5ca0b263b8884a68896b1294a294fd4708e.tar.bz2
stagefright: Copy the thumbnail time
* In case we do a conversion, we need this to seek the extractor to the right position for extracting a thumbnail. Change-Id: I003a599c15890aeeb6d2494b219f170ba5b278d8
-rw-r--r--media/libstagefright/FFMPEGSoftCodec.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/libstagefright/FFMPEGSoftCodec.cpp b/media/libstagefright/FFMPEGSoftCodec.cpp
index 20c8359..9d72609 100644
--- a/media/libstagefright/FFMPEGSoftCodec.cpp
+++ b/media/libstagefright/FFMPEGSoftCodec.cpp
@@ -74,6 +74,7 @@ static const MetaKeyEntry MetaKeyTable[] {
{kKeyWMVVersion , "wmv-version" , INT32},
{kKeyPCMFormat , "pcm-format" , INT32},
{kKeyDivXVersion , "divx-version" , INT32},
+ {kKeyThumbnailTime , "thumbnail-time" , INT64},
};
const char* FFMPEGSoftCodec::getMsgKey(int key) {