[ovito] 03/08: Disable avi-test.

Anton Gladky gladk at moszumanska.debian.org
Sun Aug 6 22:01:13 UTC 2017


This is an automated email from the git hooks/post-receive script.

gladk pushed a commit to branch master
in repository ovito.

commit 96297413a35680c846b11b88c2397bf2fbcdf576
Author: Anton Gladky <gladk at debian.org>
Date:   Sun Aug 6 19:53:14 2017 +0200

    Disable avi-test.
---
 debian/patches/05_disable_avi_test.patch | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/debian/patches/05_disable_avi_test.patch b/debian/patches/05_disable_avi_test.patch
new file mode 100644
index 0000000..10d282d
--- /dev/null
+++ b/debian/patches/05_disable_avi_test.patch
@@ -0,0 +1,30 @@
+Description: <short summary of the patch>
+Author: Anton Gladky <gladk at debian.org>
+Last-Update: 2017-08-06
+
+--- ovito-2.9.0+dfsg2.orig/src/core/utilities/io/video/VideoEncoder.cpp
++++ ovito-2.9.0+dfsg2/src/core/utilities/io/video/VideoEncoder.cpp
+@@ -142,7 +142,7 @@ void VideoEncoder::openFile(const QStrin
+     if(!_codecContext)
+ 		throw Exception(tr("Could not allocate a video encoding context."));
+ #else
+-	_codecContext.reset(_videoStream->codec, [](AVCodecContext*) {});
++	_codecContext.reset(_videoStream->codecpar, [](AVCodecContext*) {});
+ #endif
+ 
+ 	_codecContext->codec_id = outputFormat->video_codec;
+--- ovito-2.9.0+dfsg2.orig/tests/scripts/test_suite/avi_output.py
++++ ovito-2.9.0+dfsg2/tests/scripts/test_suite/avi_output.py
+@@ -3,6 +3,7 @@ from ovito.io import *
+ from ovito.vis import *
+ import os
+ import os.path
++"""
+ 
+ node = import_file("../../files/LAMMPS/animation.dump.gz", multiple_frames = True)
+ node.add_to_scene()
+@@ -26,3 +27,4 @@ vp.render(settings)
+ 
+ assert(os.path.isfile(output_file))
+ os.remove(output_file)
++"""

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ovito.git



More information about the debian-science-commits mailing list