public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in www-client/seamonkey/files: firefox-15.0-fix-gstreamer-html5-crash.patch
@ 2012-08-30 13:33 Lars Wendler (polynomial-c)
  0 siblings, 0 replies; only message in thread
From: Lars Wendler (polynomial-c) @ 2012-08-30 13:33 UTC (permalink / raw
  To: gentoo-commits

polynomial-c    12/08/30 13:33:34

  Added:                firefox-15.0-fix-gstreamer-html5-crash.patch
  Log:
  Version bump. Removed old
  
  (Portage version: 2.2.0_alpha123/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  www-client/seamonkey/files/firefox-15.0-fix-gstreamer-html5-crash.patch

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
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

Index: firefox-15.0-fix-gstreamer-html5-crash.patch
===================================================================
https://bugzilla.mozilla.org/show_bug.cgi?id=761030

Went into Fx 16, but not 15

diff -r 07d362aa2c1b content/media/gstreamer/nsGStreamerReader.cpp
--- a/content/media/gstreamer/nsGStreamerReader.cpp	Sun Jun 03 12:04:40 2012 -0700
+++ b/content/media/gstreamer/nsGStreamerReader.cpp	Sun Jun 03 14:37:55 2012 -0700
@@ -447,16 +447,18 @@ bool nsGStreamerReader::DecodeVideoFrame
   for(int i = 0; i < 3; i++) {
     b.mPlanes[i].mData = data + gst_video_format_get_component_offset(format, i,
         width, height);
     b.mPlanes[i].mStride = gst_video_format_get_row_stride(format, i, width);
     b.mPlanes[i].mHeight = gst_video_format_get_component_height(format,
         i, height);
     b.mPlanes[i].mWidth = gst_video_format_get_component_width(format,
         i, width);
+    b.mPlanes[i].mOffset = 0;
+    b.mPlanes[i].mSkip = 0;
   }

   bool isKeyframe = !GST_BUFFER_FLAG_IS_SET(buffer,
       GST_BUFFER_FLAG_DELTA_UNIT);
   /* XXX ? */
   PRInt64 offset = 0;
   VideoData *video = VideoData::Create(mInfo,
                                        mDecoder->GetImageContainer(),





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-30 13:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-30 13:33 [gentoo-commits] gentoo-x86 commit in www-client/seamonkey/files: firefox-15.0-fix-gstreamer-html5-crash.patch Lars Wendler (polynomial-c)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox