Commit Graph

9 Commits

Author SHA1 Message Date
Jonathan Thomas
140fbaddff Added new AudioDeviceInfo struct, and populate a vector of them on QtPlayer initialization. This allows a user to overwrite the preferred audio device by using the setting PLAYBACK_AUDIO_DEVICE_NAME. 2019-04-23 16:45:02 -05:00
Jonathan Thomas
79335277cb Removing old commented out code 2019-04-21 14:37:06 -05:00
eisneinechse
65d9134722 Remove DECODE varaible.
Turn out that a buggy graphic driver was the problem.
2019-04-21 12:18:44 -07:00
eisneinechse
825e38ac9d Removing old way to select hardware support
Removing the decode setting makes hardware supported decode break.
There must be some hidden dependency on that variable somewhere
which might also be responsible for the problems with nVidia on
Linux. TODO Remove the dependency
2019-04-21 10:04:24 -07:00
eisneinechse
2e635e3d87 Formating and Cleanup
Fix forgotten break in switch
2019-01-31 09:42:26 -08:00
eisneinechse
596ae0efac More changes to move to Settings, still needs work 2019-01-30 20:44:36 -08:00
eisneinechse
2ca84217bc First changes to use Settings instead of GetEnv 2019-01-30 09:58:54 -08:00
Jonathan Thomas
7b6eb9c21b Integration of resvg SVG library (optional during build) (#185)
* Integration of libresvg SVG library (optional during build)

* Major refactor of max_width and max_height for preview optimization

* Fixed many bugs related to preview resizing, with regards to cached frames

* Updating gitlab CI to find RESVGDIR correctly for windows, and adding svgz support

* Updating cmake findresvg module to search for windows locations first, to prevent an issue on our windows builders and updating some CMake output.

* Removing folder path from resvg header, since it could be installed in different named folders. This is an attempt to fix Windows include issues.

* Making call to AV_FREE_FRAME conditional for non windows systems (because it crashes on Windows for seemingly no reason). Needs more investigation.
2019-01-19 02:18:52 -06:00
Jonathan Thomas
13bd272ead Adding new settings class to be used for changing realtime settings used by libopenshot, such as scaling mode for preview vs final render, or hardware decode, etc... 2019-01-09 16:50:40 -06:00