x264res.rc 2.59 KB
Newer Older
1 2 3
/*****************************************************************************
 * x264res.rc: windows resource file
 *****************************************************************************
4
 * Copyright (C) 2012-2018 x264 project
5
 *
6
 * Authors: Henrik Gramner <henrik@gramner.com>
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111, USA.
 *
 * This program is also available under a commercial proprietary license.
 * For more information, contact us at licensing@x264.com.
 *****************************************************************************/

#include <windows.h>
#include <stdint.h>
#include "x264.h"

#ifndef X264_REV
#define X264_REV 0
#define X264_REV_DIFF 0
#endif

#define str(s) #s
#define xstr(s) str(s)

VS_VERSION_INFO VERSIONINFO
FILEVERSION     0, X264_BUILD, X264_REV, X264_REV_DIFF
PRODUCTVERSION  0, X264_BUILD, X264_REV, X264_REV_DIFF
FILEFLAGSMASK   VS_FFI_FILEFLAGSMASK
42 43 44
#ifdef DEBUG
FILEFLAGS       VS_FF_DEBUG
#else
45
FILEFLAGS       0
46
#endif
47 48 49 50 51 52 53 54 55 56
FILEOS          VOS_NT_WINDOWS32 /* Identical for x86-64 */
#ifdef DLL
FILETYPE        VFT_DLL
#else
FILETYPE        VFT_APP
#endif
FILESUBTYPE     VFT2_UNKNOWN
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
57
        BLOCK "040904B0"
58 59 60 61 62 63 64 65 66
        BEGIN
            VALUE "CompanyName",      "x264 project"
#ifdef DLL
            VALUE "FileDescription",  "H.264 (MPEG-4 AVC) encoder library"
#else
            VALUE "FileDescription",  "H.264 (MPEG-4 AVC) encoder"
#endif
            VALUE "FileVersion",      X264_POINTVER
            VALUE "InternalName",     "x264"
67
            VALUE "LegalCopyright",   "Copyright (C) 2003-2018 x264 project"
68 69 70 71 72 73 74 75 76 77 78 79
#ifdef DLL
            VALUE "OriginalFilename", "libx264-" xstr(X264_BUILD) ".dll"
#else
            VALUE "OriginalFilename", "x264.exe"
#endif
            VALUE "ProductName",      "x264"
            VALUE "ProductVersion",   X264_POINTVER
        END
    END

    BLOCK "VarFileInfo"
    BEGIN
80
        VALUE "Translation", 0x0409, 0x04B0 /* U.S. English (Unicode) */
81 82
    END
END