... | ... | @@ -156,5 +156,57 @@ void ClipPropertiesController::slotAspectValueChanged(int) |
|
|
}
|
|
|
```
|
|
|
|
|
|
* Probably most occurrences of `QLocale` should be checked.
|
|
|
* Check comma occurrences in reported example project files
|
|
|
* Test current code for OSs
|
|
|
|
|
|
```c++
|
|
|
#ifndef Q_OS_WIN
|
|
|
char *separator = localeconv()->decimal_point;
|
|
|
if (QString::fromUtf8(separator) != QChar(systemLocale.decimalPoint())) {
|
|
|
// qCDebug(KDENLIVE_LOG)<<"------\n!!! system locale is not similar to Qt's locale... be prepared for bugs!!!\n------";
|
|
|
// HACK: There is a locale conflict, so set locale to C
|
|
|
// Make sure to override exported values or it won't work
|
|
|
qputenv("LANG", "C");
|
|
|
#ifndef Q_OS_MAC
|
|
|
setlocale(LC_NUMERIC, "C");
|
|
|
#else
|
|
|
setlocale(LC_NUMERIC_MASK, "C");
|
|
|
#endif
|
|
|
systemLocale = QLocale::c();
|
|
|
}
|
|
|
#endif
|
|
|
```
|
|
|
|
|
|
Occurrences in .kdenlive files
|
|
|
|
|
|
```text
|
|
|
#78 (19.03.90)
|
|
|
<producer title="Anonymous Submission" id="producer0" in="00:00:00,000" out="00:19:58,233">
|
|
|
<property name="meta.media.0.stream.frame_rate">29,9692</property>
|
|
|
<property name="meta.media.0.codec.frame_rate">29,97</property>
|
|
|
<property name="length">00:00:05,000</property>
|
|
|
<property name="kdenlive:duration">00:00:05,000</property>
|
|
|
<property name="kdenlive:original_length">00:00:00,033</property>
|
|
|
<property name="kdenlive:docproperties.decimalPoint">,</property>
|
|
|
<entry producer="producer0" in="00:00:00,000" out="00:19:58,233"/>
|
|
|
<tractor id="tractor1" in="00:00:00,000">
|
|
|
# in <filter>
|
|
|
<property name="rect">00:11:53,167=0 0 1920 1080 1;00:12:09,267=-904 -621 3840 2160 1</property>
|
|
|
<property name="rotation">00:11:53,167=0;00:12:09,267=0</property>
|
|
|
<blank length="00:00:37,900"/>
|
|
|
#78 (18.12.1)
|
|
|
<property name="meta.media.0.stream.frame_rate">59,9401</property>
|
|
|
# <filter> frei0r.defish0r
|
|
|
<property name="Interpolator">0,166</property>
|
|
|
#606 (20.07.70)
|
|
|
# <filter> frei0r.levels
|
|
|
<property name="Histogram position">0,3</property>
|
|
|
# <filter> opencv.tracker
|
|
|
<property name="results">00:00:07,240~=6 177 1085 310 0;00:00:07,280~=6 177 1085 310 0;00:00:07,320~=5 […] 0</property>
|
|
|
#406488 (19.04.0)
|
|
|
<producer id="producer0" in="00:00:00,000" out="00:00:05,040">
|
|
|
```
|
|
|
|
|
|
|
|
|
[mlt-props]: https://www.mltframework.org/docs/framework/#service-properties |
|
|
\ No newline at end of file |