]> git.sesse.net Git - kdenlive/log
kdenlive
11 years agoFix scaled rendering broken by url handling stuff:http://kdenlive.org/mantis/view...
Jean-Baptiste Mardelle [Fri, 19 Oct 2012 15:29:17 +0000 (17:29 +0200)]
Fix scaled rendering broken by url handling stuff:http://kdenlive.org/mantis/view.php?id=2785

11 years agoFix dropping of effect on group:http://kdenlive.org/mantis/view.php?id=2768
Jean-Baptiste Mardelle [Mon, 15 Oct 2012 21:23:00 +0000 (23:23 +0200)]
Fix dropping of effect on group:http://kdenlive.org/mantis/view.php?id=2768

11 years agoFix broken dvd menu, add support for VLC to preview DVD
Jean-Baptiste Mardelle [Mon, 15 Oct 2012 15:19:40 +0000 (17:19 +0200)]
Fix broken dvd menu, add support for VLC to preview DVD

11 years agoremove debug
Jean-Baptiste Mardelle [Sun, 14 Oct 2012 23:40:45 +0000 (01:40 +0200)]
remove debug

11 years agoFix freeze when seeking with opengl display
Jean-Baptiste Mardelle [Sun, 14 Oct 2012 23:40:08 +0000 (01:40 +0200)]
Fix freeze when seeking with opengl display

11 years agoRound corners in project tree thumbnails
Jean-Baptiste Mardelle [Sun, 14 Oct 2012 22:27:34 +0000 (00:27 +0200)]
Round corners in project tree thumbnails

11 years agoOnly install extra mimetypes if required, otherwise can break mime detection
Jean-Baptiste Mardelle [Sun, 14 Oct 2012 20:54:57 +0000 (22:54 +0200)]
Only install extra mimetypes if required, otherwise can break mime detection

11 years agoAdd new mp2t mimetype to fix .mts detection: http://kdenlive.org/mantis/view.php...
Jean-Baptiste Mardelle [Sun, 14 Oct 2012 20:24:20 +0000 (22:24 +0200)]
Add new mp2t mimetype to fix .mts detection: http://kdenlive.org/mantis/view.php?id=2777

11 years agoFix crash in scopes: http://kdenlive.org/mantis/view.php?id=2779
Jean-Baptiste Mardelle [Sun, 14 Oct 2012 19:56:30 +0000 (21:56 +0200)]
Fix crash in scopes: http://kdenlive.org/mantis/view.php?id=2779

11 years agoFix clip effect stack not updated when dropping effect in a group, nicer timeline...
Jean-Baptiste Mardelle [Sun, 14 Oct 2012 16:32:13 +0000 (18:32 +0200)]
Fix clip effect stack not updated when dropping effect in a group, nicer timeline painting

11 years agoMerge branch 'master' of git://anongit.kde.org/kdenlive
Jean-Baptiste Mardelle [Sat, 13 Oct 2012 16:54:48 +0000 (18:54 +0200)]
Merge branch 'master' of git://anongit.kde.org/kdenlive

11 years agoShow audio wave when playing audio clip instead of boring white
Jean-Baptiste Mardelle [Sat, 13 Oct 2012 16:54:31 +0000 (18:54 +0200)]
Show audio wave when playing audio clip instead of boring white

11 years agodocs: restore <(book|article)info>
T.C. Hollingsworth [Fri, 12 Oct 2012 02:50:20 +0000 (22:50 -0400)]
docs: restore <(book|article)info>

SVN_SILENT

11 years agodocs: add id attribute to <book> and <article> elements
T.C. Hollingsworth [Fri, 12 Oct 2012 02:08:49 +0000 (22:08 -0400)]
docs: add id attribute to <book> and <article> elements

this commit was automated; please revert if it causes trouble
for details see http://lists.kde.org/?l=kde-doc-english&m=134965352825792&w=2

SVN_SILENT

11 years agoFix proxy clips for playlists distortion
Jean-Baptiste Mardelle [Wed, 10 Oct 2012 15:10:44 +0000 (17:10 +0200)]
Fix proxy clips for playlists distortion

11 years agoFix multiple stabilize jobs: http://kdenlive.org/mantis/view.php?id=2771
Jean-Baptiste Mardelle [Mon, 8 Oct 2012 22:14:15 +0000 (00:14 +0200)]
Fix multiple stabilize jobs: http://kdenlive.org/mantis/view.php?id=2771

11 years agoWhen inserting a zone from clip monitor (Shift+Ctrl+I) and the cursor is inside a...
Jean-Baptiste Mardelle [Fri, 5 Oct 2012 13:27:07 +0000 (15:27 +0200)]
When inserting a zone from clip monitor (Shift+Ctrl+I) and the cursor is inside a clip, append the zone to the end of the track instead of triggering error

11 years agoFix insertion of several clip zones in timeline
Jean-Baptiste Mardelle [Fri, 5 Oct 2012 13:01:38 +0000 (15:01 +0200)]
Fix insertion of several clip zones in timeline

11 years agoAllow user to bypass available codec detection
Jean-Baptiste Mardelle [Fri, 5 Oct 2012 06:50:54 +0000 (08:50 +0200)]
Allow user to bypass available codec detection

11 years agoFix aspect ratio when using split view
Jean-Baptiste Mardelle [Fri, 5 Oct 2012 06:48:05 +0000 (08:48 +0200)]
Fix aspect ratio when using split view

11 years agoFix display of aspect ratio in clip properties for mlt playlists
Jean-Baptiste Mardelle [Sun, 30 Sep 2012 17:18:22 +0000 (19:18 +0200)]
Fix display of aspect ratio in clip properties for mlt playlists

11 years agoDo not allow resizing in locked tracks: http://kdenlive.org/mantis/view.php?id=2763
Jean-Baptiste Mardelle [Sun, 30 Sep 2012 15:34:55 +0000 (17:34 +0200)]
Do not allow resizing in locked tracks: http://kdenlive.org/mantis/view.php?id=2763

11 years agoFix seek cursor painting: http://kdenlive.org/mantis/view.php?id=2724
Jean-Baptiste Mardelle [Sun, 30 Sep 2012 15:07:57 +0000 (17:07 +0200)]
Fix seek cursor painting: http://kdenlive.org/mantis/view.php?id=2724

11 years agoMake sure thumbnails request a width that is a multiple of 2, fixes current thumb...
Jean-Baptiste Mardelle [Wed, 26 Sep 2012 22:25:54 +0000 (00:25 +0200)]
Make sure thumbnails request a width that is a multiple of 2, fixes current thumb corruption in MLT

11 years agoStart rendering on return pressed: http://kdenlive.org/mantis/view.php?id=2757
Jean-Baptiste Mardelle [Mon, 24 Sep 2012 22:25:22 +0000 (00:25 +0200)]
Start rendering on return pressed: http://kdenlive.org/mantis/view.php?id=2757

11 years agoFix seek cursor not disappearing from monitor ruler when pausing
Jean-Baptiste Mardelle [Mon, 24 Sep 2012 16:36:29 +0000 (18:36 +0200)]
Fix seek cursor not disappearing from monitor ruler when pausing

11 years agoBlacklist unsupported frei0r transitions:
Jean-Baptiste Mardelle [Mon, 24 Sep 2012 12:22:44 +0000 (14:22 +0200)]
Blacklist unsupported frei0r transitions:
http://kdenlive.org/mantis/view.php?id=2754

11 years agoCleanup & fix melt job (like video stab) not keeping original clip profile
Jean-Baptiste Mardelle [Mon, 24 Sep 2012 12:00:09 +0000 (14:00 +0200)]
Cleanup & fix melt job (like video stab) not keeping original clip profile

11 years agoFix fps & colorspace info for playlist clips
Jean-Baptiste Mardelle [Mon, 24 Sep 2012 08:21:13 +0000 (10:21 +0200)]
Fix fps & colorspace info for playlist clips

11 years agoCleanup monitor ruler update on seeking
Jean-Baptiste Mardelle [Sat, 22 Sep 2012 16:56:13 +0000 (18:56 +0200)]
Cleanup monitor ruler update on seeking

11 years agoLoad & save markers (audacity compatible):
Jean-Baptiste Mardelle [Sat, 22 Sep 2012 15:17:24 +0000 (17:17 +0200)]
Load & save markers (audacity compatible):
http://kdenlive.org/mantis/view.php?id=2742

11 years agoMake sure we have a tractor in stabilized clips .mlt file
Jean-Baptiste Mardelle [Sat, 22 Sep 2012 10:35:54 +0000 (12:35 +0200)]
Make sure we have a tractor in stabilized clips .mlt file

11 years agoMake sure we add a tractor when building xml clips
Jean-Baptiste Mardelle [Sat, 22 Sep 2012 10:13:37 +0000 (12:13 +0200)]
Make sure we add a tractor when building xml clips

11 years agoGenerators now use MLT's xml consumer instead of manually creating a buggy mlt xml...
Jean-Baptiste Mardelle [Sat, 22 Sep 2012 10:01:11 +0000 (12:01 +0200)]
Generators now use MLT's xml consumer instead of manually creating a buggy mlt xml playlist

11 years agoFix image clip length increased on reload:
Jean-Baptiste Mardelle [Fri, 21 Sep 2012 20:18:40 +0000 (22:18 +0200)]
Fix image clip length increased on reload:
http://kdenlive.org/mantis/view.php?id=2743

11 years agoAdd ui for new white balance colgate plugin
Jean-Baptiste Mardelle [Fri, 21 Sep 2012 20:03:17 +0000 (22:03 +0200)]
Add ui for new white balance colgate plugin

11 years agoMake sure we re-enable effect once the color has been picked
Jean-Baptiste Mardelle [Wed, 19 Sep 2012 21:07:07 +0000 (23:07 +0200)]
Make sure we re-enable effect once the color has been picked

11 years agoDisable effect when trying to pick a color from the monitor:
Jean-Baptiste Mardelle [Wed, 19 Sep 2012 20:59:52 +0000 (22:59 +0200)]
Disable effect when trying to pick a color from the monitor:
http://kdenlive.org/mantis/view.php?id=2723

11 years agoTitle Widget-add spinbox for manual zoom:
Jean-Baptiste Mardelle [Wed, 19 Sep 2012 19:42:58 +0000 (21:42 +0200)]
Title Widget-add spinbox for manual zoom:
http://kdenlive.org/mantis/view.php?id=2740

11 years agoCleanup
Jean-Baptiste Mardelle [Wed, 19 Sep 2012 13:43:53 +0000 (15:43 +0200)]
Cleanup

11 years agoCleanup & fix multi clip transcoding
Jean-Baptiste Mardelle [Wed, 19 Sep 2012 13:13:27 +0000 (15:13 +0200)]
Cleanup & fix multi clip transcoding

11 years agoAdd option to automatically import all clips in multi stream clips
Jean-Baptiste Mardelle [Wed, 19 Sep 2012 09:01:42 +0000 (11:01 +0200)]
Add option to automatically import all clips in multi stream clips

11 years agoFix archiving problems including: http://kdenlive.org/mantis/view.php?id=2739
Jean-Baptiste Mardelle [Mon, 17 Sep 2012 11:01:53 +0000 (13:01 +0200)]
Fix archiving problems including: http://kdenlive.org/mantis/view.php?id=2739

11 years agocleanup
Jean-Baptiste Mardelle [Mon, 17 Sep 2012 09:16:25 +0000 (11:16 +0200)]
cleanup

11 years agoFix Qt 4.6 compilation: http://kdenlive.org/mantis/view.php?id=2735
Jean-Baptiste Mardelle [Mon, 17 Sep 2012 08:49:13 +0000 (10:49 +0200)]
Fix Qt 4.6 compilation: http://kdenlive.org/mantis/view.php?id=2735

11 years agoNo need to delete consumer anymore when changing the profile
Jean-Baptiste Mardelle [Mon, 17 Sep 2012 07:38:22 +0000 (09:38 +0200)]
No need to delete consumer anymore when changing the profile

11 years agoFix MLT playlist showing wrong clip properties:
Jean-Baptiste Mardelle [Sun, 16 Sep 2012 20:53:28 +0000 (22:53 +0200)]
Fix MLT playlist showing wrong clip properties:
http://kdenlive.org/mantis/view.php?id=2728

11 years agoFix seeking cursor sometimes stuck at 0:
Jean-Baptiste Mardelle [Sun, 16 Sep 2012 20:02:07 +0000 (22:02 +0200)]
Fix seeking cursor sometimes stuck at 0:
http://kdenlive.org/mantis/view.php?id=2724

11 years agoCleanup split view
Jean-Baptiste Mardelle [Sun, 16 Sep 2012 19:08:29 +0000 (21:08 +0200)]
Cleanup split view

11 years agoFix crash in images related to deinterlace changes in MLT:
Jean-Baptiste Mardelle [Sat, 15 Sep 2012 09:44:38 +0000 (11:44 +0200)]
Fix crash in images related to deinterlace changes in MLT:
http://www.kdenlive.org/mantis/view.php?id=2734

11 years agoAdd Blur operation to Alpha Operations filter (patch by Marko Cebokli)
Jean-Baptiste Mardelle [Fri, 14 Sep 2012 08:47:52 +0000 (10:47 +0200)]
Add Blur operation to Alpha Operations filter (patch by Marko Cebokli)

11 years agoDisable transitions for audio only clips:
Jean-Baptiste Mardelle [Fri, 14 Sep 2012 08:28:16 +0000 (10:28 +0200)]
Disable transitions for audio only clips:
http://kdenlive.org/mantis/view.php?id=2668

11 years agoFix seeking sometimes stuck at 0:
Jean-Baptiste Mardelle [Thu, 13 Sep 2012 08:12:28 +0000 (10:12 +0200)]
Fix seeking sometimes stuck at 0:
http://kdenlive.org/mantis/view.php?id=2724

11 years agoFix display artifacts in timeline ruler again:
Jean-Baptiste Mardelle [Thu, 13 Sep 2012 08:04:21 +0000 (10:04 +0200)]
Fix display artifacts in timeline ruler again:
http://kdenlive.org/mantis/view.php?id=2724

11 years agoTry to fix corruption after using spacer tool:
Jean-Baptiste Mardelle [Thu, 13 Sep 2012 07:46:06 +0000 (09:46 +0200)]
Try to fix corruption after using spacer tool:
http://kdenlive.org/mantis/view.php?id=2726

11 years agoCleanup monitor ruler painting
Jean-Baptiste Mardelle [Tue, 11 Sep 2012 07:24:51 +0000 (09:24 +0200)]
Cleanup monitor ruler painting

11 years agoMake sure the seeking cursor is hidden when playhead is at the same place:
Jean-Baptiste Mardelle [Tue, 11 Sep 2012 07:13:40 +0000 (09:13 +0200)]
Make sure the seeking cursor is hidden when playhead is at the same place:
http://kdenlive.org/mantis/view.php?id=2724

11 years agoKeep compatibility for older projects which did not duplicate video only producers
Jean-Baptiste Mardelle [Tue, 11 Sep 2012 07:07:57 +0000 (09:07 +0200)]
Keep compatibility for older projects which did not duplicate video only producers

11 years agoDuplicate video only producer for each track:
Jean-Baptiste Mardelle [Tue, 11 Sep 2012 07:01:58 +0000 (09:01 +0200)]
Duplicate video only producer for each track:
http://kdenlive.org/mantis/view.php?id=2668

11 years agoFix resizing of grouped items through the set in/out point action:
Jean-Baptiste Mardelle [Sun, 9 Sep 2012 17:34:02 +0000 (19:34 +0200)]
Fix resizing of grouped items through the set in/out point action:
http://kdenlive.org/mantis/view.php?id=2726

11 years agoCleanup & fix painting of timeline ruler when seeking:
Jean-Baptiste Mardelle [Sun, 9 Sep 2012 16:26:17 +0000 (18:26 +0200)]
Cleanup & fix painting of timeline ruler when seeking:
http://kdenlive.org/mantis/view.php?id=2724

11 years agoImprove support for multi-stream clips:
Jean-Baptiste Mardelle [Fri, 7 Sep 2012 22:15:33 +0000 (00:15 +0200)]
Improve support for multi-stream clips:
http://kdenlive.org/mantis/view.php?id=2717

11 years ago* Fix stabilized clips not loading:
Jean-Baptiste Mardelle [Fri, 7 Sep 2012 17:30:56 +0000 (19:30 +0200)]
* Fix stabilized clips not loading:
http://www.kdenlive.org/mantis/view.php?id=2711

11 years agoSmall repaint optimizations
Jean-Baptiste Mardelle [Fri, 7 Sep 2012 16:07:35 +0000 (18:07 +0200)]
Small repaint optimizations

11 years agoFix proxy and various other things when using libav instead of ffmpeg
Jean-Baptiste Mardelle [Fri, 7 Sep 2012 14:01:01 +0000 (16:01 +0200)]
Fix proxy and various other things when using libav instead of ffmpeg

11 years agoFix jog shuttle slot (Qt's moc doesn't like slots in #ifdef's)
Jean-Baptiste Mardelle [Fri, 7 Sep 2012 12:58:34 +0000 (14:58 +0200)]
Fix jog shuttle slot (Qt's moc doesn't like slots in #ifdef's)

11 years agoFix seeking issue http://kdenlive.org/mantis/view.php?id=2724
Jean-Baptiste Mardelle [Fri, 7 Sep 2012 12:25:24 +0000 (14:25 +0200)]
Fix seeking issue http://kdenlive.org/mantis/view.php?id=2724

11 years agoFix warning when several proxy clips fail, also add passive popup warning for KDE...
Jean-Baptiste Mardelle [Wed, 5 Sep 2012 22:15:22 +0000 (00:15 +0200)]
Fix warning when several proxy clips fail, also add passive popup warning for KDE < 4.7

11 years agoFix setting zone in monitor
Jean-Baptiste Mardelle [Wed, 5 Sep 2012 15:18:47 +0000 (17:18 +0200)]
Fix setting zone in monitor

11 years agoFix autoscrolling
Jean-Baptiste Mardelle [Wed, 5 Sep 2012 15:03:22 +0000 (17:03 +0200)]
Fix autoscrolling

11 years agoFix possible crash on invalid clip:
Jean-Baptiste Mardelle [Tue, 4 Sep 2012 20:03:42 +0000 (22:03 +0200)]
Fix possible crash on invalid clip:
http://kdenlive.org/mantis/view.php?id=2714

11 years agoFix wrong offset when moving clip to another track
Jean-Baptiste Mardelle [Tue, 4 Sep 2012 19:46:28 +0000 (21:46 +0200)]
Fix wrong offset when moving clip to another track

11 years agoFix crash on clip cut introduced in recent coverity fix:
Jean-Baptiste Mardelle [Tue, 4 Sep 2012 19:32:09 +0000 (21:32 +0200)]
Fix crash on clip cut introduced in recent coverity fix:
http://kdenlive.org/mantis/view.php?id=2718

11 years agoFix crash in audio align when hitting subtitle stream:
Jean-Baptiste Mardelle [Sun, 2 Sep 2012 20:13:35 +0000 (22:13 +0200)]
Fix crash in audio align when hitting subtitle stream:
http://kdenlive.org/mantis/view.php?id=2697

11 years agoUse correct FFV1 format and use x264 presets instead of listing
Jean-Baptiste Mardelle [Sun, 2 Sep 2012 09:46:11 +0000 (11:46 +0200)]
Use correct FFV1 format and use x264 presets instead of listing
depreciated options. Change from AAC to PCM in H.264 lossless.

Patch by Lou Logan

11 years agotitledocument.cpp: check return value from open()
Mikko Rapeli [Fri, 10 Aug 2012 12:17:16 +0000 (14:17 +0200)]
titledocument.cpp: check return value from open()

Fixes Coverity CID 709282: Unchecked return value (CHECKED_RETURN)
Calling function "QFile::open(QFlags<QIODevice::OpenModeFlag>)" without checking return value (as is done elsewhere 45 out of 47 times).
No check of the return value of "xmlf.open(QIODevice::OpenMode(_ZN9QIODevice9WriteOnlyE))".
300    xmlf.open(QIODevice::WriteOnly);
301    xmlf.write(doc.toString().toUtf8());

11 years agorenderer.cpp: check for null pointers
Mikko Rapeli [Fri, 10 Aug 2012 12:17:15 +0000 (14:17 +0200)]
renderer.cpp: check for null pointers

Fixes Coverity CID 709292 and 709293:
Dereference after null check (FORWARD_NULL) [select defect]
1917    if (original == NULL || clip == NULL) {
1918        kDebug() << "// ERROR GRABBING CLIP AFTER SPLIT";
1919    }
1920    Mlt::Service clipService(original->get_service());
1921    Mlt::Service dupService(clip->get_service());
1922    delete original;
1923    delete clip;

11 years agothumbnailer/westleypreview.cpp: check for division by zero
Mikko Rapeli [Fri, 10 Aug 2012 12:17:17 +0000 (14:17 +0200)]
thumbnailer/westleypreview.cpp: check for division by zero

Fixes Coverity CID 709288: Division or modulo by zero (DIVIDE_BY_ZERO)
Division by expression "STEPS" which may be zero has undefined behavior
139    avg=avg/STEPS;
...
150    return delta / STEPS;

11 years agoprojectlist.cpp: check for null before referencing
Mikko Rapeli [Fri, 10 Aug 2012 12:17:12 +0000 (14:17 +0200)]
projectlist.cpp: check for null before referencing

Fixes Coverity CID 709302: Dereference before null check (REVERSE_INULL)
Dereferencing pointer "this->m_render". [show details]
 736        int width = (int)(height  * m_render->dar());
...
Dereferencing "this->m_render" before a null check.
 749            if (m_render == NULL) {
 750                kDebug() << "*********  ERROR, NULL RENDR";
 751                return;

11 years agoprojectlistview.cpp: check for null pointer
Mikko Rapeli [Fri, 10 Aug 2012 12:17:13 +0000 (14:17 +0200)]
projectlistview.cpp: check for null pointer

Fixes Coverity CID 709291: Explicit null dereferenced (FORWARD_NULL)
Passing null variable "item" to function "FolderProjectItem::groupName() const", which dereferences it. [show details]
272                        props.insert("groupname", item->groupName());
...
Assigning: "item" = 0.
276                } else item = NULL;

11 years agoprojectsettings.cpp: return if open() fails
Mikko Rapeli [Fri, 10 Aug 2012 12:17:14 +0000 (14:17 +0200)]
projectsettings.cpp: return if open() fails

Fixes Coverity CID 709281: Unchecked return value (CHECKED_RETURN)
Calling function "QFile::open(QFlags<QIODevice::OpenModeFlag>)" without checking return value (as is done elsewhere 45 out of 47 times).
No check of the return value of "xmlf.open(QIODevice::OpenMode(_ZN9QIODevice9WriteOnlyE))".
552    xmlf.open(QIODevice::WriteOnly);

11 years agoaudioEnvelope.cpp: check for division by zero
Mikko Rapeli [Fri, 10 Aug 2012 12:17:06 +0000 (14:17 +0200)]
audioEnvelope.cpp: check for division by zero

Fixes Coverity CID 709287: Division or modulo by zero (DIVIDE_BY_ZERO)
Call to "this->loadEnvelope()" set "this->m_envelopeMax" to 0.
182        loadEnvelope();
...
Division by expression "this->m_envelopeMax" which may be zero has undefined behavior
189        fy = m_envelope[x]/double(m_envelopeMax) * img.height();

11 years agokthumb.cpp: check for division by zero
Mikko Rapeli [Fri, 10 Aug 2012 12:17:09 +0000 (14:17 +0200)]
kthumb.cpp: check for division by zero

CID 709285: Division or modulo by zero (DIVIDE_BY_ZERO)
Division by expression "STEPS" which may be zero has undefined behavior
250    avg=avg/STEPS;

11 years agokis_cubic_curve.cpp: initialize variables
Mikko Rapeli [Fri, 10 Aug 2012 12:17:10 +0000 (14:17 +0200)]
kis_cubic_curve.cpp: initialize variables

Fixes Coverity CID 709308: Uninitialized scalar field (UNINIT_CTOR)

Non-static class member ""m_begin"" is not initialized in this constructor nor in any functions that it calls.
Non-static class member ""m_end"" is not initialized in this constructor nor in any functions that it calls.
Non-static class member ""m_intervals"" is not initialized in this constructor nor in any functions that it calls.

11 years agomeltjob.cpp: initialize addClipToProject
Mikko Rapeli [Fri, 10 Aug 2012 12:17:07 +0000 (14:17 +0200)]
meltjob.cpp: initialize addClipToProject

Fixes Coverity CID 709312: Uninitialized scalar field (UNINIT_CTOR)
Non-static class member ""addClipToProject"" is not initialized in this constructor nor in any functions that it calls.

11 years agoaudioCorrelationInfo.cpp: check for division by zero
Mikko Rapeli [Fri, 10 Aug 2012 12:17:05 +0000 (14:17 +0200)]
audioCorrelationInfo.cpp: check for division by zero

Fixes Coverity CID 709286: Division or modulo by zero (DIVIDE_BY_ZERO)
Assigning: "maxVal" = "this->max()".
On this path, function call "this->max()" has return value of 0
78    int64_t maxVal = max();
...
Division by expression "maxVal" which may be zero has undefined behavior
86        val = m_correlationVector[x]/double(maxVal)*img.height();

11 years agohistogramgenerator.cpp: check for division by zero
Mikko Rapeli [Fri, 10 Aug 2012 12:17:02 +0000 (14:17 +0200)]
histogramgenerator.cpp: check for division by zero

Fixes Coverity CID 709284: Division or modulo by zero (DIVIDE_BY_ZERO)
Division by expression "byteCount >> 7" which may be zero has undefined behavior
 87    const float scaling = (float)partH/(byteCount >> 7);

11 years agoeffectstackview2.cpp: check for null
Mikko Rapeli [Fri, 10 Aug 2012 12:17:04 +0000 (14:17 +0200)]
effectstackview2.cpp: check for null

Fixes Coverity CID 709289: Explicit null dereferenced (FORWARD_NULL)
Assigning: "effectToMove" = 0.
790    CollapsibleEffect *effectToMove = NULL;
...
Passing null variable "effectToMove" to function "CollapsibleGroup::addGroupEffect(CollapsibleEffect *)", which dereferences it. [show details]
805    group->addGroupEffect(effectToMove);

11 years agoeffectstackview2.cpp: check for null pointer
Mikko Rapeli [Fri, 10 Aug 2012 12:17:03 +0000 (14:17 +0200)]
effectstackview2.cpp: check for null pointer

Fixes Coverity CID 709290: Dereference after null check (FORWARD_NULL)
Comparing "this->m_clipref" to null implies that "this->m_clipref" might be null.
717    else if (m_clipref) {
...
Passing null variable "this->m_clipref" to function "AbstractClipItem::info() const", which dereferences it. [show details]
733        info = m_clipref->info();

11 years agodvdwizardvob.cpp: check return value
Mikko Rapeli [Fri, 10 Aug 2012 12:17:08 +0000 (14:17 +0200)]
dvdwizardvob.cpp: check return value

Fixes Coverity CID 709275: Unchecked return value (CHECKED_RETURN)
Calling function "QDomDocument::setContent(QIODevice *, QString *, int *, int *)" without checking return value (as is done elsewhere 6 out of 7 times).
No check of the return value of "doc.setContent(&file, NULL, NULL, NULL)".
134            doc.setContent(&file);

11 years agoWorkaround dragging timeline clips on another track not reliable:
Jean-Baptiste Mardelle [Sat, 1 Sep 2012 20:50:19 +0000 (22:50 +0200)]
Workaround dragging timeline clips on another track not reliable:
http://kdenlive.org/mantis/view.php?id=2670

11 years agoFix saving custom effect hiding other custom effects:
Jean-Baptiste Mardelle [Sat, 1 Sep 2012 19:57:59 +0000 (21:57 +0200)]
Fix saving custom effect hiding other custom effects:
http://kdenlive.org/mantis/view.php?id=2674

11 years agoAdding m2v and ac3 as supported mimetypes:
Jean-Baptiste Mardelle [Sat, 1 Sep 2012 19:46:47 +0000 (21:46 +0200)]
Adding m2v and ac3 as supported mimetypes:
http://kdenlive.org/mantis/view.php?id=2673

11 years agoAdd support for .3gpa files:
Jean-Baptiste Mardelle [Sat, 1 Sep 2012 19:35:38 +0000 (21:35 +0200)]
Add support for .3gpa files:
http://kdenlive.org/mantis/view.php?id=2696

11 years agoFix effect parameter not saved when changed with mouse wheel:
Jean-Baptiste Mardelle [Sat, 1 Sep 2012 19:29:58 +0000 (21:29 +0200)]
Fix effect parameter not saved when changed with mouse wheel:
http://kdenlive.org/mantis/view.php?id=2698

11 years agoFix mouse wheel seeking in timeline ruler
Jean-Baptiste Mardelle [Sat, 1 Sep 2012 17:07:08 +0000 (19:07 +0200)]
Fix mouse wheel seeking in timeline ruler

11 years agoFix DVD menu broken with recent Qt versions
Jean-Baptiste Mardelle [Sat, 1 Sep 2012 16:43:23 +0000 (18:43 +0200)]
Fix DVD menu broken with recent Qt versions

11 years agoImprove seeking (Don't ask MLT to seek while it is already seeking)
Jean-Baptiste Mardelle [Sat, 1 Sep 2012 16:03:45 +0000 (18:03 +0200)]
Improve seeking (Don't ask MLT to seek while it is already seeking)

11 years agoeffects: fix #2654 fadeout/fadetoblack with no time
Vincent PINON [Sun, 26 Aug 2012 07:46:55 +0000 (09:46 +0200)]
effects: fix #2654 fadeout/fadetoblack with no time

11 years agofix #2235 (crop effects names)
Vincent PINON [Fri, 24 Aug 2012 11:41:07 +0000 (13:41 +0200)]
fix #2235 (crop effects names)