[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
Question:

It's been several days since I last tried to do a build. I'm still working with PAC-man's cm-10.2 branch. I'm hitting an error with some media crap. Did I miss something here?

In file included from frameworks/av/media/libstagefright/AwesomePlayer.cpp:29:0:
frameworks/av/media/libstagefright/include/AwesomePlayer.h: In constructor 'android::AwesomePlayer::AwesomePlayer()':
frameworks/av/media/libstagefright/include/AwesomePlayer.h:253:22: warning: 'android::AwesomePlayer::mTextDriver' will be initialized after [-Wreorder]
frameworks/av/media/libstagefright/include/AwesomePlayer.h:210:10: warning: 'bool android::AwesomePlayer::mIsFirstFrameAfterResume' [-Wreorder]
frameworks/av/media/libstagefright/AwesomePlayer.cpp:208:1: warning: when initialized here [-Wreorder]
frameworks/av/media/libstagefright/NuCachedSource2.cpp: In member function 'void android::NuCachedSource2::fetchInternal()':
frameworks/av/media/libstagefright/NuCachedSource2.cpp:330:138: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'ssize_t {aka int}' [-Wformat]
frameworks/av/media/libstagefright/NuCachedSource2.cpp: In member function 'void android::NuCachedSource2::updateCacheParamsFromString(const char*)':
frameworks/av/media/libstagefright/NuCachedSource2.cpp:659:65: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'ssize_t* {aka int*}' [-Wformat]
frameworks/av/media/libstagefright/NuCachedSource2.cpp:659:65: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'ssize_t* {aka int*}' [-Wformat]
frameworks/av/media/libstagefright/ExtendedCodec.cpp:66:40: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
frameworks/av/media/libstagefright/ExtendedCodec.cpp: In static member function 'static android::status_t android::ExtendedCodec::setVideoInputFormat(const char*, OMX_VIDEO_CODINGTYPE*)':
[COLOR=Red]frameworks/av/media/libstagefright/ExtendedCodec.cpp:338:28: error: 'MEDIA_MIMETYPE_VIDEO_HEVC' was not declared in this scope[/COLOR]
[COLOR=Red]frameworks/av/media/libstagefright/ExtendedCodec.cpp:339:52: error: 'QOMX_VIDEO_CodingHevc' was not declared in this scope[/COLOR]
frameworks/av/media/libstagefright/ExtendedCodec.cpp: In static member function 'static android::status_t android::ExtendedCodec::setVideoOutputFormat(const char*, OMX_VIDEO_CODINGTYPE*)':
[COLOR=Red]frameworks/av/media/libstagefright/ExtendedCodec.cpp:358:28: error: 'MEDIA_MIMETYPE_VIDEO_HEVC' was not declared in this scope
frameworks/av/media/libstagefright/ExtendedCodec.cpp:359:52: error: 'QOMX_VIDEO_CodingHevc' was not declared in this scope[/COLOR]
frameworks/av/media/libstagefright/ExtendedCodec.cpp: In static member function 'static android::status_t android::ExtendedCodec::setSupportedRole(const android::sp<android::IOMX>&, android::IOMX::node_id, bool, const char*)':
[COLOR=Red]frameworks/av/media/libstagefright/ExtendedCodec.cpp:393:11: error: 'MEDIA_MIMETYPE_VIDEO_HEVC' was not declared in this scope[/COLOR]
make: *** [/home/m4570d0n/PAC/out/target/product/skyrocket/obj/SHARED_LIBRARIES/libstagefright_intermediates/ExtendedCodec.o] Error 1
make: *** Waiting for unfinished jobs....
frameworks/av/media/libstagefright/OMXCodec.cpp: In function 'size_t android::getFrameSize(OMX_COLOR_FORMATTYPE, int32_t, int32_t)':
[COLOR=Red]frameworks/av/media/libstagefright/OMXCodec.cpp:991:14: error: 'QOMX_COLOR_FORMATYUV420PackedSemiPlanar32m' was not declared in this scope[/COLOR]
In file included from frameworks/av/media/libstagefright/OMXCodec.cpp:58:0:
frameworks/av/include/media/stagefright/OMXCodec.h: In constructor 'android::eek:MXCodec::eek:MXCodec(const android::sp<android::IOMX>&, android::IOMX::node_id, uint32_t, uint32_t, bool, const char*, const char*, const android::sp<android::MediaSource>&, const android::sp<ANativeWindow>&)':
frameworks/av/include/media/stagefright/OMXCodec.h:412:10: warning: 'android::eek:MXCodec::mInSmoothStreamingMode' will be initialized after [-Wreorder]
frameworks/av/include/media/stagefright/OMXCodec.h:269:13: warning: 'int32_t android::eek:MXCodec::mDeferReason' [-Wreorder]
frameworks/av/media/libstagefright/OMXCodec.cpp:1684:1: warning: when initialized here [-Wreorder]
make: *** [/home/m4570d0n/PAC/out/target/product/skyrocket/obj/SHARED_LIBRARIES/libstagefright_intermediates/OMXCodec.o] Error 1

I know this commit from cyanogen 6 days ago is where MEDIA_MIMETYPE_VIDEO_HEVC was added:

https://github.com/CyanogenMod/android_frameworks_av/commit/eb4af4992f428899f8916da1d5e56c9afdacccf8

and this is the one that added 'QOMX_COLOR_FORMATYUV420PackedSemiPlanar32m'

https://github.com/CyanogenMod/android_frameworks_av/commit/873496b651064a69fde91c8b78a1a4bbb6de700a

looks like both were part of a large group of commits that were merged from CAF about 6 days ago. Is there some cherry pick I need or something that needs to be updated elsewhere (like the kernel)?

Edit: successfully finished building, flashed the ROM, and so far all seems to be okay. These are the 4 commits to /hardware/qcom/media that are needed to build cm-10.2 right now:

mm-core: Add MediaDefs for new QC parsers

mm-core: Add hevc coding type in mm-core

QCMetaData: Add key for interlace

mm-video: venc: Distinguish between normal NV12 and aligned NV12