x264res.rc 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /*****************************************************************************
  2. * x264res.rc: windows resource file
  3. *****************************************************************************
  4. * Copyright (C) 2012-2018 x264 project
  5. *
  6. * Authors: Henrik Gramner <henrik@gramner.com>
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation; either version 2 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program; if not, write to the Free Software
  20. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111, USA.
  21. *
  22. * This program is also available under a commercial proprietary license.
  23. * For more information, contact us at licensing@x264.com.
  24. *****************************************************************************/
  25. #include <windows.h>
  26. #include <stdint.h>
  27. #include "x264.h"
  28. #ifndef X264_REV
  29. #define X264_REV 0
  30. #define X264_REV_DIFF 0
  31. #endif
  32. #define str(s) #s
  33. #define xstr(s) str(s)
  34. VS_VERSION_INFO VERSIONINFO
  35. FILEVERSION 0, X264_BUILD, X264_REV, X264_REV_DIFF
  36. PRODUCTVERSION 0, X264_BUILD, X264_REV, X264_REV_DIFF
  37. FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
  38. #ifdef DEBUG
  39. FILEFLAGS VS_FF_DEBUG
  40. #else
  41. FILEFLAGS 0
  42. #endif
  43. FILEOS VOS_NT_WINDOWS32 /* Identical for x86-64 */
  44. #ifdef DLL
  45. FILETYPE VFT_DLL
  46. #else
  47. FILETYPE VFT_APP
  48. #endif
  49. FILESUBTYPE VFT2_UNKNOWN
  50. BEGIN
  51. BLOCK "StringFileInfo"
  52. BEGIN
  53. BLOCK "040904B0"
  54. BEGIN
  55. VALUE "CompanyName", "x264 project"
  56. #ifdef DLL
  57. VALUE "FileDescription", "H.264 (MPEG-4 AVC) encoder library"
  58. #else
  59. VALUE "FileDescription", "H.264 (MPEG-4 AVC) encoder"
  60. #endif
  61. VALUE "FileVersion", X264_POINTVER
  62. VALUE "InternalName", "x264"
  63. VALUE "LegalCopyright", "Copyright (C) 2003-2018 x264 project"
  64. #ifdef DLL
  65. VALUE "OriginalFilename", "libx264-" xstr(X264_BUILD) ".dll"
  66. #else
  67. VALUE "OriginalFilename", "x264.exe"
  68. #endif
  69. VALUE "ProductName", "x264"
  70. VALUE "ProductVersion", X264_POINTVER
  71. END
  72. END
  73. BLOCK "VarFileInfo"
  74. BEGIN
  75. VALUE "Translation", 0x0409, 0x04B0 /* U.S. English (Unicode) */
  76. END
  77. END