mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-21 19:35:49 +08:00
use low level apis to generate video thumbnail & remove unnecessary code
- Adjusted status bar layout in MainWindow to include app version label. - Enhanced video thumbnail generation in PhotoModel using FFmpeg for better performance and resource management. - Streamlined MediaStreamerManager to ensure proper cleanup and thread safety. - Updated ServiceManager to include safe methods for retrieving file info and handling AFC operations. - Removed get_device_version - Cleaned up code and improved readability across multiple files. - Passed correct args to ZUpdater
This commit is contained in:
@@ -92,7 +92,7 @@ void DevDiskImageHelper::start()
|
||||
m_loadingIndicator->start();
|
||||
showStatus("Please wait...");
|
||||
|
||||
unsigned int device_version = get_device_version(m_device->device);
|
||||
unsigned int device_version = idevice_get_device_version(m_device->device);
|
||||
unsigned int deviceMajorVersion = (device_version >> 16) & 0xFF;
|
||||
unsigned int deviceMinorVersion = (device_version >> 8) & 0xFF;
|
||||
|
||||
@@ -137,7 +137,7 @@ void DevDiskImageHelper::onMountButtonClicked()
|
||||
m_isMounting = true;
|
||||
|
||||
// Check if we need to download first
|
||||
unsigned int device_version = get_device_version(m_device->device);
|
||||
unsigned int device_version = idevice_get_device_version(m_device->device);
|
||||
unsigned int deviceMajorVersion = (device_version >> 16) & 0xFF;
|
||||
unsigned int deviceMinorVersion = (device_version >> 8) & 0xFF;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user