OSDN Git Service

VideoEditor:Issue 3385135, AU_B_Frame changed to AU_P_Frame
authorDheeraj Sharma <dheerajs@google.com>
Wed, 26 Jan 2011 02:30:41 +0000 (18:30 -0800)
committerDheeraj Sharma <dheerajs@google.com>
Wed, 26 Jan 2011 02:30:41 +0000 (18:30 -0800)
Change-Id: I18f82dcf819ba5df67f65d1705cda57b4a73c71d

libvideoeditor/vss/common/inc/M4SYS_AccessUnit.h
libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoEncoder.cpp

index 08f8002..74da266 100755 (executable)
@@ -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.*/
 
 
index 0813b5c..3112f71 100755 (executable)
@@ -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;