Gentoo Archives: gentoo-commits

From: "Lars Wendler (polynomial-c)" <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/seamonkey/files: firefox-15.0-fix-gstreamer-html5-crash.patch
Date: Thu, 30 Aug 2012 13:33:55
Message-Id: 20120830133334.96D3920C72@flycatcher.gentoo.org
1 polynomial-c 12/08/30 13:33:34
2
3 Added: firefox-15.0-fix-gstreamer-html5-crash.patch
4 Log:
5 Version bump. Removed old
6
7 (Portage version: 2.2.0_alpha123/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 www-client/seamonkey/files/firefox-15.0-fix-gstreamer-html5-crash.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey/files/firefox-15.0-fix-gstreamer-html5-crash.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey/files/firefox-15.0-fix-gstreamer-html5-crash.patch?rev=1.1&content-type=text/plain
14
15 Index: firefox-15.0-fix-gstreamer-html5-crash.patch
16 ===================================================================
17 https://bugzilla.mozilla.org/show_bug.cgi?id=761030
18
19 Went into Fx 16, but not 15
20
21 diff -r 07d362aa2c1b content/media/gstreamer/nsGStreamerReader.cpp
22 --- a/content/media/gstreamer/nsGStreamerReader.cpp Sun Jun 03 12:04:40 2012 -0700
23 +++ b/content/media/gstreamer/nsGStreamerReader.cpp Sun Jun 03 14:37:55 2012 -0700
24 @@ -447,16 +447,18 @@ bool nsGStreamerReader::DecodeVideoFrame
25 for(int i = 0; i < 3; i++) {
26 b.mPlanes[i].mData = data + gst_video_format_get_component_offset(format, i,
27 width, height);
28 b.mPlanes[i].mStride = gst_video_format_get_row_stride(format, i, width);
29 b.mPlanes[i].mHeight = gst_video_format_get_component_height(format,
30 i, height);
31 b.mPlanes[i].mWidth = gst_video_format_get_component_width(format,
32 i, width);
33 + b.mPlanes[i].mOffset = 0;
34 + b.mPlanes[i].mSkip = 0;
35 }
36
37 bool isKeyframe = !GST_BUFFER_FLAG_IS_SET(buffer,
38 GST_BUFFER_FLAG_DELTA_UNIT);
39 /* XXX ? */
40 PRInt64 offset = 0;
41 VideoData *video = VideoData::Create(mInfo,
42 mDecoder->GetImageContainer(),