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

Commit 1e5dab5b authored by Brint E. Kriebel's avatar Brint E. Kriebel
Browse files

libstagefright: Fix an ifdef from QCOM merge

Code added in commit ed91abeb
was not completely wrapped in an ifdef as needed

Change-Id: I4855bb4b212db3cf34433ab47eb568db8df14f6a
parent 88f489d7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
/*
 * Portions Copyright (C) 2012 VMware, Inc. All Rights Reserved.
 * Copyright (C) 2009 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1491,7 +1492,6 @@ status_t StagefrightRecorder::setupVideoEncoder(
        return INVALID_OPERATION;
      }
    }
#endif

    /*
     * can set profile from the app as a parameter.
@@ -1542,6 +1542,7 @@ status_t StagefrightRecorder::setupVideoEncoder(
            break;
        }
    }
#endif

    if (mVideoEncoderProfile != -1) {
        enc_meta->setInt32(kKeyVideoProfile, mVideoEncoderProfile);