Commit Graph

266 Commits

Author SHA1 Message Date
Frank Dana
857297abdf Merge pull request #288 from SuslikV/patch-5
Fix crash during seeking at the start of the file
2019-08-17 14:13:45 -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
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
FeRD (Frank Dana)
35eb6adc55 Clean up allocated memory in JSON code 2019-07-11 05:00:47 -04:00
FeRD (Frank Dana)
f29a6bcb27 Trim unnecessary args off logging calls 2019-07-03 14:14:02 -04:00
FeRD (Frank Dana)
25b522589d Always catch-by-reference in C++11 2019-07-03 12:58:02 -04:00
Chris Kirmse
572875b8d7 Merge remote-tracking branch 'upstream/develop' into develop 2019-06-24 10:00:22 -07:00
Jonathan Thomas
967f23b8a4 Merge pull request #245 from ferdnyc/license-block
Upgrade Doxygen documentation formatting/content
2019-06-21 00:24:54 -05:00
FeRD (Frank Dana)
744a4f3ec1 Remove Json:Reader
`Json::Reader` has been deprecated for some time, so we replace it with
`Json::CharReader` generated by a `Json::CharReaderBuilder`, or (in the
one instance where we have a stream as input) `Json::parseFromStream();`
2019-06-19 21:20:04 -04:00
FeRD (Frank Dana)
9261f46772 More copyright, missed a few older ones 2019-06-11 06:51:37 -04:00
FeRD (Frank Dana)
0327c2ab5c Remove license block from documentation comment 2019-06-09 08:31:04 -04:00
Jonathan Thomas
2be5e5e168 Fixing crash on certain hardware accelerator modes (specifically decoder 2, device 0) 2019-06-04 13:42:46 -05:00
Chad Walker
fab70dde1e plug another small leak 2019-05-15 10:27:48 -05:00
Chris Kirmse
8ea0af59c6 fix allocations to be done the same for ffmpeg < 3.2
- fixes freeing an invalid pointer on old ffmpeg
- now all tests pass
2019-05-10 11:39:26 -07:00
Chris Kirmse
833fcb8e8e fix a number of memory leaks
- some were with libav functions
- same were due to non-virtual destructors
2019-05-08 15:02:33 -07:00
Jonathan Thomas
fad8f40cf5 Simplifying hardware decoder logic (when looking for pixmap) 2019-04-30 17:43:15 -05:00
Jonathan Thomas
cdb4ae5483 Fixing crash on Mac due to juce::String again 2019-04-29 17:05:13 -05:00
Jonathan Thomas
2bafe60448 Removing 0 cases, and adding new QSV decoder support (experimental) 2019-04-28 17:18:43 -05:00
Jonathan Thomas
3bd2ae5f23 Integrating VDPAU decoding into libopenshot 2019-04-28 14:03:45 -05:00
eisneinechse
19f5fa37f2 Replace qsv with videotoolbox for MacOS codec library.
Windows and MacOS is not tested! We need users who test it.
2019-04-18 16:41:11 -07:00
Jonathan Thomas
893b91b528 Adding doc/HW-ACCEL.md document, code reformatting, some variable renaming 2019-04-18 01:07:57 -05:00
Chris Kirmse
650d3ec820 fix grammar error with possessive its and update sample for audio parameter 2019-03-14 09:26:56 -07:00
eisneinechse
48a2656080 AVoid crashes with mp3 that are tagged by
removing AV_ALLOCATE_IMAGE(pFrame, AV_GET_CODEC_PIXEL_FORMAT( ...
2019-03-01 16:32:52 -08:00