Changeset 182
- Timestamp:
- 11/02/06 21:57:04 (2 years ago)
- Files:
-
- trunk/MkvMovieSetup.cpp (modified) (1 diff)
- trunk/createStaticLibs.sh (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/MkvMovieSetup.cpp
r158 r182 436 436 (*imgDesc)->depth = 24; 437 437 (*imgDesc)->clutID = -1; 438 (*pasp)->hSpacing = EndianU32_NtoB((*pasp)->hSpacing); 439 (*pasp)->vSpacing = EndianU32_NtoB((*pasp)->vSpacing); 440 AddImageDescriptionExtension(imgDesc,(Handle)pasp,kICMImageDescriptionPropertyID_PixelAspectRatio); 438 if ((*pasp)->hSpacing != (*pasp)->vSpacing) { 439 (*pasp)->hSpacing = EndianU32_NtoB((*pasp)->hSpacing); 440 (*pasp)->vSpacing = EndianU32_NtoB((*pasp)->vSpacing); 441 AddImageDescriptionExtension(imgDesc,(Handle)pasp,kICMImageDescriptionPropertyID_PixelAspectRatio); 442 } 441 443 442 444 // this sets up anything else needed in the description for the specific codec. trunk/createStaticLibs.sh
r181 r182 3 3 buildid_ffmpeg="r`svn info ffmpeg | grep -F Revision | awk '{print $2}'`" 4 4 5 generalConfigureOptions="--disable-encoders --disable-muxers --disable-strip "5 generalConfigureOptions="--disable-encoders --disable-muxers --disable-strip --enable-gpl --enable-pp --enable-pthreads" 6 6 7 7 if [ "$BUILD_STYLE" = "Development" ] ; then 8 extraConfigureOptions="--disable-opts --disable-mmx" #gcc can't build the MMX at -O0 due to compiler bugs8 extraConfigureOptions="--disable-opts" 9 9 fi 10 10 … … 35 35 cd "$BUILDDIR" 36 36 if [ `arch` != i386 ] ; then 37 "$SRCROOT/ffmpeg/configure" --cross-compile --arch=x86 --e nable-pp --enable-gpl --extra-ldflags='-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk' --extra-cflags='-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk' $extraConfigureOptions $generalConfigureOptions37 "$SRCROOT/ffmpeg/configure" --cross-compile --arch=x86 --extra-ldflags='-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk' --extra-cflags='-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk' $extraConfigureOptions $generalConfigureOptions --cpu=pentium-m 38 38 else 39 "$SRCROOT/ffmpeg/configure" --enable-pp --enable-gpl --enable-memalign-hack $extraConfigureOptions $generalConfigureOptions39 "$SRCROOT/ffmpeg/configure" $extraConfigureOptions $generalConfigureOptions --cpu=pentium-m 40 40 fi 41 41 make -C libavutil depend … … 61 61 cd "$BUILDDIR" 62 62 if [ `arch` = ppc ] ; then 63 "$SRCROOT/ffmpeg/configure" --enable-pp --enable-gpl$extraConfigureOptions $generalConfigureOptions63 "$SRCROOT/ffmpeg/configure" $extraConfigureOptions $generalConfigureOptions 64 64 else 65 "$SRCROOT/ffmpeg/configure" -- enable-pp --enable-gpl --arch=ppc --extra-ldflags='-arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk' --extra-cflags='-arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk' $extraConfigureOptions $generalConfigureOptions65 "$SRCROOT/ffmpeg/configure" --arch=ppc --extra-ldflags='-arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk' --extra-cflags='-arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk' $extraConfigureOptions $generalConfigureOptions 66 66 fi 67 67 make -C libavutil depend
