diff --git a/fix_videocapture.patch b/fix_videocapture.patch new file mode 100644 index 0000000..5da2cd1 --- /dev/null +++ b/fix_videocapture.patch @@ -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; diff --git a/virtualbox.changes b/virtualbox.changes index b584417..fe9cf1d 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -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 diff --git a/virtualbox.spec b/virtualbox.spec index 83e9981..a7f264b 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -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