Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f5f03976 authored by Dheeraj Sharma's avatar Dheeraj Sharma Committed by Android Git Automerger
Browse files

am 3c0525f3: Merge "VideoEditor:Issue 3385135, AU_B_Frame changed to AU_P_Frame" into honeycomb

* commit '3c0525f3aad027109d0132b589cb4b434c251a41':
  VideoEditor:Issue 3385135, AU_B_Frame changed to AU_P_Frame
parents 5e5d9d78 9ce06f4c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.*/


+1 −1
Original line number Diff line number Diff line
@@ -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;