Commit Graph

976 Commits

Author SHA1 Message Date
FeRD (Frank Dana)
552f7533fa Prefix all string types with std::
It confuses Doxygen if they're not prefixed, since they don't match
the declarations in `Frame.h`.
2019-08-04 15:13:40 -04:00
FeRD (Frank Dana)
160df3ac40 Python install path: remove site-packages detection
The path `${CMAKE_INSTALL_PREFIX}/lib/pythonM.N/site-packages` is
not Debian-specific, and will exist on too many systems where it
should _not_ be assumed to be the correct install path. (This is
causing Fedora and other `lib64`-using distros to install the
bindings into `/usr/lib/`, when they were previously being
installed into the correct `/usr/lib64/` location.)
2019-08-02 07:14:11 -04:00
eisneinechse
f434b063d9 Move #endif
Move av_hwdevice_get_hwframe_constraints inside the part of the code only compiled when testing VAAPI constraint detection.
2019-07-31 20:56:11 -07:00
SuslikV
bacd46df33 Fix crash during seeking at the start of the file
Due to seeking optimizations the file can be closed and reopened. The packet's pointer becomes NULL in this case. This change ensures that packet's pointer is valid after seeking performed (if any).
2019-07-30 21:30:09 +03:00
FeRD (Frank Dana)
4d7ecded14 Fix misleading indentation 2019-07-30 13:15:31 -04:00
FeRD (Frank Dana)
e94436b71d Raise SWIG version requirement to 3.0 2019-07-30 04:06:36 -04:00
Jonathan Thomas
9cf892fd2a Merge pull request #277 from ferdnyc/lib-audio-version-checks
FindOpenShotAudio version reporting/validation, other fixes
2019-07-29 17:57:03 -05:00
Jonathan Thomas
2f3c7bcc96 Merge pull request #285 from ferdnyc/enable-av-choices
Label "Enable Audio/Video" property values as Auto / Off / On
2019-07-29 17:32:35 -05:00
Jonathan Thomas
0449b5b4eb Merge pull request #276 from ferdnyc/swig-Wall
SWIG: Warnings cleanup
2019-07-29 17:31:10 -05:00
Jonathan Thomas
12fce8040f Merge pull request #266 from ferdnyc/zmq-default-params
Default values for ZMQ logging calls
2019-07-29 16:30:22 -05:00
Jonathan Thomas
5f331e24df Merge pull request #265 from ferdnyc/catch-by-reference
Exceptions: catch-by-reference and other cleanup
2019-07-29 16:27:40 -05:00
Jeff Shillitto
4d891c6d03 Merge branch 'pr/1' into pr/4 2019-07-28 22:10:46 +10:00
jediserg
e9ba82dd5b --add missing include and header guard macro 2019-07-27 18:13:45 -07:00
FeRD (Frank Dana)
7e5715627c Enable Audio/Video choices show as Auto/Off/On 2019-07-26 19:33:33 -04:00
Jonathan Thomas
cf0e827a24 Adding logging support for resvg (which will output on stderr) 2019-07-23 17:11:55 -05:00
Sergei Kolesov
40521c9d72 --add gravity to QtHtmlReader 2019-07-22 05:52:24 -07:00
FeRD (Frank Dana)
c4c625ba8e Add 0.1.8 minimum version for libopenshot-audio 2019-07-12 18:37:09 -04:00
FeRD (Frank Dana)
0ac3720023 SWIG: Warnings cleanup
* Remove a SWIG pragma from Frame.h (gcc warns on it)
* Place the equivalent %warnfilter in the openshot.i files
* Set openshot.i PROPERTY GENERATED_COMPILE_OPTIONS with flags to
  disable warning spew in generated SWIG code, if -Wall is used

(Also, remove 'using namespace std' from Frame.h, and add std::
prefixes to necessary variables.)
2019-07-12 13:28:47 -04:00
Jeff Shillitto
bf4323f354 Fixed missing include and Qt gravity 2019-07-12 15:14:38 +10:00
FeRD (Frank Dana)
35eb6adc55 Clean up allocated memory in JSON code 2019-07-11 05:00:47 -04:00
Jonathan Thomas
9806694e13 Fix crash caused by resvg failing to parse SVG (when Qt can still parse things fine) 2019-07-09 15:48:46 -05:00
Jonathan Thomas
a4cc119717 Fix SVG render size for Resvg (breaking common transitions) 2019-07-09 15:23:52 -05:00
jediserg
ac9ea27cce --add QtHtmlReader 2019-07-06 14:50:50 -07:00
FeRD (Frank Dana)
f29a6bcb27 Trim unnecessary args off logging calls 2019-07-03 14:14:02 -04:00
FeRD (Frank Dana)
2dc2fffa45 ZmqLogger: default AppendDebugMethod()'s extra params
Give the AppendDebugMethod() declaration a set of default values for
all parameters after the first. (It uses `""` and `-1.0`, which are
what callers were passing in anyway.) This way, callers have the
_option_ to eschew this kind of thing:
```
ZmqLogger::Instance()->AppendDebugMethod("Message", "start", start,
"length", length, "", -1, "", -1, "", -1, "", -1);
```
instead, they can use the functionally equivalent:
```
ZmqLogger::Instance()->AppendDebugMethod("Message", "start", start,
"length", length);
```
Passing meaningless args is the compiler's job, not the programmer's.
2019-07-03 14:06:44 -04:00