mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-25 16:51:16 +08:00
fix(simulation): use automatic NVENC encoder selection for GStreamer (#27944)
This commit is contained in:
1 parent
0bb36a30ed
commit
d4ab050e71
1 file changed
+1
-1
@@ -352,7 +352,7 @@ void CameraStream::gstThreadFunc()
|
||||
GstElement *encoder;
|
||||
|
||||
if (_useCuda) {
|
||||
encoder = gst_element_factory_make("nvh264enc", nullptr);
|
||||
encoder = gst_element_factory_make("nvautogpuh264enc", nullptr);
|
||||
|
||||
if (encoder) {
|
||||
// Higher quality NVIDIA encoder settings
|
||||
|
||||
Reference in new issue
Block a user