From 3fe62150fa3dd6d25cb84aad80bc9e27ddd16c45 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Fri, 16 Sep 2011 15:09:22 -0700 Subject: In order to recover from video lagging behind audio, drop avc frames that are not referenced by other frames before feeding them into the decoder. Change-Id: I822190af8f8329567bff8da1ea23136d0a765481 --- media/libstagefright/include/avc_utils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'media/libstagefright/include/avc_utils.h') diff --git a/media/libstagefright/include/avc_utils.h b/media/libstagefright/include/avc_utils.h index 15cd4d4..e418822 100644 --- a/media/libstagefright/include/avc_utils.h +++ b/media/libstagefright/include/avc_utils.h @@ -50,6 +50,7 @@ struct MetaData; sp MakeAVCCodecSpecificData(const sp &accessUnit); bool IsIDR(const sp &accessUnit); +bool IsAVCReferenceFrame(const sp &accessUnit); const char *AVCProfileToString(uint8_t profile); -- cgit v1.1