openh264: Allow multi-thread decoding when building for version 2.1.0+
It seems that since 2.1.0 of OpenH264, multi-threaded decoding is possible. This may allow workaround performance issue with this decoder:
https://github.com/cisco/openh264/commit/aa759cb5a207665d3ae83c7076ea326a1a9d2458
This is a proposal to enable this as a property, and perhaps add a decent default number of cores. Though be aware of the release note saying:
Experimentally support for multi-thread decoding(default disabled,and may result in random problems if enabled)
https://github.com/cisco/openh264/releases/tag/v2.1.0
The original message:
This is a video in mp4 containers produced by a gopro (don't know the model) I haver the problem in totem and pitivi.GOPR1171
I attach a video to this bug.
gstreamer1-1.16.2-2.fc32.x86_64
gstreamer1-plugin-openh264-1.16.2-1.fc32.x86_64
gstreamer1-plugins-bad-free-1.16.2-3.fc32.x86_64
gstreamer1-plugins-base-1.16.2-3.fc32.x86_64
gstreamer1-plugins-base-tools-1.16.2-3.fc32.x86_64
gstreamer1-plugins-good-1.16.2-2.fc32.x86_64
gstreamer1-plugins-good-gtk-1.16.2-2.fc32.x86_64
gstreamer1-plugins-good-qt-1.16.2-2.fc32.x86_64
gstreamer1-plugins-ugly-1.16.2-2.fc32.x86_64
gstreamer1-plugins-ugly-free-1.16.2-2.fc32.x86_64
libnice-gstreamer1-0.1.17-2.fc32.x86_64
python3-gstreamer1-1.16.2-2.fc32.x86_64