Use weightb=0 for turbo 1st pass x264 options. This prevents frame count discrepancie...
[HandBrake.git] / contrib / patch-mpeg4ip-pascal-str.patch
blob4add6de512815c66664b32268985b9ce7d7fe0b7
1 --- lib/mp4v2/atom_avc1.cpp.orig 2007-07-24 02:19:41.000000000 -0400
2 +++ lib/mp4v2/atom_avc1.cpp 2007-07-24 02:19:44.000000000 -0400
3 @@ -41,6 +41,7 @@
4 MP4StringProperty* pProp =
5 new MP4StringProperty("compressorName");
6 pProp->SetFixedLength(32);
7 + pProp->SetCountedFormat(true);
8 pProp->SetValue("AVC Coding");
9 AddProperty(pProp); /* 6 */
11 --- lib/mp4v2/mp4property.cpp.orig 2007-07-24 02:20:32.000000000 -0400
12 +++ lib/mp4v2/mp4property.cpp 2007-07-24 02:21:52.000000000 -0400
13 @@ -391,6 +391,10 @@
14 if (m_useCountedFormat) {
15 pFile->WriteCountedString(m_values[index],
16 (m_useUnicode ? 2 : 1), m_useExpandedCount);
17 + if (m_fixedLength) {
18 + pFile->WriteBytes((u_int8_t*)m_values[index],
19 + m_fixedLength - strlen(m_values[index]) - 1);
20 + }
21 } else if (m_fixedLength) {
22 pFile->WriteBytes((u_int8_t*)m_values[index], m_fixedLength);
23 } else {