virtualbox/fix_videocapture.patch
Larry Finger fcc1740ee5 - 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.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=402
2018-02-16 06:08:31 +00:00

14 lines
520 B
Diff

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;