1
0
forked from pool/virtualbox

Accepting request 577317 from Virtualization

- Fix bug in video capture - boo#1081281.
  The variable used to store the time code is only 16 bits, but needs to be 32-bits long.
  File "fix_videocapture.patch" is added to fix the problem.

OBS-URL: https://build.opensuse.org/request/show/577317
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=156
This commit is contained in:
Dominique Leuenberger 2018-02-18 10:40:13 +00:00 committed by Git OBS Bridge
commit b6ee834238
3 changed files with 23 additions and 0 deletions

13
fix_videocapture.patch Normal file
View File

@ -0,0 +1,13 @@
Index: VirtualBox-5.2.6/src/VBox/Main/src-client/WebMWriter.h
===================================================================
--- VirtualBox-5.2.6.orig/src/VBox/Main/src-client/WebMWriter.h
+++ VirtualBox-5.2.6/src/VBox/Main/src-client/WebMWriter.h
@@ -91,7 +91,7 @@ class WebMWriter : public EBMLWriter
public:
/** Defines a WebM timecode. */
- typedef uint16_t WebMTimecode;
+ typedef uint32_t WebMTimecode;
/** Defines the WebM block flags data type. */
typedef uint8_t WebMBlockFlags;

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Feb 16 06:05:07 UTC 2018 - Larry.Finger@lwfinger.net
- Fix bug in video capture - boo#1081281.
The variable used to store the time code is only 16 bits, but needs to be 32-bits long.
File "fix_videocapture.patch" is added to fix the problem.
-------------------------------------------------------------------
Sat Feb 3 14:23:26 UTC 2018 - wbauer@tmo.at

View File

@ -117,6 +117,8 @@ Patch119: fixes_for_leap15.patch
Patch120: fixes_for_python.patch
# Remove vboxvideo from build
Patch121: remove_vbox_video_build.patch
# Fix video capture
Patch122: fix_videocapture.patch
#
BuildRequires: LibVNCServer-devel
BuildRequires: SDL-devel
@ -409,6 +411,7 @@ as an "extpack" for VirtualBox. The implementation is licensed under GPL.
%endif
%patch120 -p1
%patch121 -p1
%patch122 -p1
#copy user manual
cp %{SOURCE1} UserManual.pdf