Skip to content

Commit 71d3a83

Browse files
committed
Downgrade LibMediaInfo to an older version because of the bug
MediaArea/MediaInfoLib#2340
1 parent af61922 commit 71d3a83

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ The list of supported encodings is described in the paragraph `Supported Languag
287287
### Examples
288288
```javascript
289289
// Acquire the COM object. It is recommended to acquire it only once and reuse it for performance reasons.
290-
var uCharDet = createComObject("DOpusScriptingExtensions.UCharDet");
290+
var uCharDet = new ActiveXObject("DOpusScriptingExtensions.UCharDet");
291291

292292
// Detect the encoding of a text file.
293293
// By default, it reads up to 1kb of the file to detect the encoding.
@@ -317,6 +317,7 @@ var content = st.Decode(Blob, encoding);
317317
## Notes
318318
* `vcpkg_overlay_ports\boost-asio` is an original port with the custom `increase_pipe_buffer.diff` patch. This is a workaround for the issue: [[Windows] Setting the capacity of the underline pipe #470
319319
](https://github.com/boostorg/process/issues/470)
320+
* libmediainfo is set to a version `25.3` because of the bug: [[v25.04] MediaInfo::Open hangs on a specific MXF file](https://github.com/MediaArea/MediaInfoLib/issues/2340)
320321

321322
# References
322323
* Discussion of this project on DOpus forum: [DOpus-Scripting-Extensions project](https://resource.dopus.com/t/dopus-scripting-extensions-project-wild-idea/55000)

vcpkg.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,9 @@
2424
"libmagic",
2525
"libmediainfo",
2626
"uchardet"
27+
],
28+
29+
"overrides": [
30+
{ "name": "libmediainfo", "version": "25.3" }
2731
]
2832
}

0 commit comments

Comments
 (0)