From 5e61cfe5bb05d061ee4ef951b43156e68ff710af Mon Sep 17 00:00:00 2001 From: Dheeraj Sharma Date: Tue, 25 Jan 2011 18:30:41 -0800 Subject: [PATCH] VideoEditor:Issue 3385135, AU_B_Frame changed to AU_P_Frame Change-Id: I18f82dcf819ba5df67f65d1705cda57b4a73c71d --- libvideoeditor/vss/common/inc/M4SYS_AccessUnit.h | 2 +- libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoEncoder.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libvideoeditor/vss/common/inc/M4SYS_AccessUnit.h b/libvideoeditor/vss/common/inc/M4SYS_AccessUnit.h index 08f8002562..74da266808 100755 --- a/libvideoeditor/vss/common/inc/M4SYS_AccessUnit.h +++ b/libvideoeditor/vss/common/inc/M4SYS_AccessUnit.h @@ -55,7 +55,7 @@ typedef struct { typedef M4OSA_UInt8 M4SYS_AU_Attr; #define AU_Corrupted 0x01 /**< At least one fragment of the access unit is flagged corrupted.*/ -#define AU_B_Frame 0x02 /**< The access unit is a B_frame*/ +#define AU_P_Frame 0x02 /**< The access unit is a P_frame*/ #define AU_RAP 0x04 /**< The access unit is a random access point.*/ diff --git a/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoEncoder.cpp b/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoEncoder.cpp index 0813b5cd4d..3112f71de6 100755 --- a/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoEncoder.cpp +++ b/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoEncoder.cpp @@ -907,7 +907,7 @@ M4OSA_ERR VideoEditorVideoEncoder_processOutputBuffer( if ( buffer->meta_data()->findInt32(kKeyIsSyncFrame,&i32Tmp) && i32Tmp){ pEncoderContext->mAccessUnit->attribute = AU_RAP; } else { - pEncoderContext->mAccessUnit->attribute = AU_B_Frame; + pEncoderContext->mAccessUnit->attribute = AU_P_Frame; } pEncoderContext->mLastCTS = Cts; pEncoderContext->mAccessUnit->CTS = Cts; -- 2.11.0