From owner-freebsd-gecko@FreeBSD.ORG Tue Feb 11 03:16:03 2014 Return-Path: Delivered-To: freebsd-gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 37BB8A39 for ; Tue, 11 Feb 2014 03:16:03 +0000 (UTC) Received: from trillian.chruetertee.ch (trillian.chruetertee.ch [217.150.244.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9896F1C5F for ; Tue, 11 Feb 2014 03:16:02 +0000 (UTC) Received: from trillian.chruetertee.ch (trillian [217.150.244.247]) by trillian.chruetertee.ch (8.14.4/8.14.3) with ESMTP id s1B3Fsae057129 for ; Tue, 11 Feb 2014 03:15:54 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Received: (from www@localhost) by trillian.chruetertee.ch (8.14.4/8.14.3/Submit) id s1B3FnhU054626 for freebsd-gecko@freebsd.org; Tue, 11 Feb 2014 03:15:49 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Date: Tue, 11 Feb 2014 03:15:49 GMT Message-Id: <201402110315.s1B3FnhU054626@trillian.chruetertee.ch> X-Authentication-Warning: trillian.chruetertee.ch: www set sender to svn-freebsd-gecko@chruetertee.ch using -f From: svn-freebsd-gecko@chruetertee.ch To: freebsd-gecko@freebsd.org Subject: [SVN-Commit] r1488 - in trunk/www: firefox firefox-nightly firefox-nightly/files firefox/files linux-tor-browser seamonkey seamonkey/files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: freebsd-gecko@freebsd.org List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2014 03:16:03 -0000 Author: jbeich Date: Tue Feb 11 03:15:48 2014 New Revision: 1488 Log: update Added: trunk/www/seamonkey/files/patch-mailnews-extensions-enigmail-config-getOsTarget.pl Deleted: trunk/www/firefox-nightly/files/patch-bug970031 Modified: trunk/www/firefox-nightly/Makefile.hgrev trunk/www/firefox-nightly/distinfo trunk/www/firefox-nightly/files/patch-bug806917 trunk/www/firefox/Makefile trunk/www/firefox/distinfo trunk/www/firefox/files/patch-bug806917 trunk/www/linux-tor-browser/Makefile trunk/www/linux-tor-browser/distinfo trunk/www/seamonkey/Makefile trunk/www/seamonkey/distinfo Modified: trunk/www/firefox-nightly/Makefile.hgrev ============================================================================== --- trunk/www/firefox-nightly/Makefile.hgrev Sun Feb 9 12:00:12 2014 (r1487) +++ trunk/www/firefox-nightly/Makefile.hgrev Tue Feb 11 03:15:48 2014 (r1488) @@ -1 +1 @@ -HGREV= 167424:1ca0ce406aad +HGREV= 167979:221df43616ab Modified: trunk/www/firefox-nightly/distinfo ============================================================================== --- trunk/www/firefox-nightly/distinfo Sun Feb 9 12:00:12 2014 (r1487) +++ trunk/www/firefox-nightly/distinfo Tue Feb 11 03:15:48 2014 (r1488) @@ -1,2 +1,2 @@ -SHA256 (firefox-nightly/1ca0ce406aad.tar.bz2) = 698925f4843b3ae4d940a1c7bd512e01bd13e0d6adc027e023c8441b26926363 -SIZE (firefox-nightly/1ca0ce406aad.tar.bz2) = 135999400 +SHA256 (firefox-nightly/221df43616ab.tar.bz2) = db00823267464793c4de7c82234ed21c4044582f35e5021f14dd3030f7e86f22 +SIZE (firefox-nightly/221df43616ab.tar.bz2) = 135901109 Modified: trunk/www/firefox-nightly/files/patch-bug806917 ============================================================================== --- trunk/www/firefox-nightly/files/patch-bug806917 Sun Feb 9 12:00:12 2014 (r1487) +++ trunk/www/firefox-nightly/files/patch-bug806917 Tue Feb 11 03:15:48 2014 (r1488) @@ -22,7 +22,7 @@ index 9776b8d..0b1698d 100644 --- configure.in +++ configure.in -@@ -3982,6 +3982,7 @@ MOZ_SAMPLE_TYPE_FLOAT32= +@@ -3988,6 +3988,7 @@ MOZ_SAMPLE_TYPE_FLOAT32= MOZ_SAMPLE_TYPE_S16= MOZ_OPUS=1 MOZ_WEBM=1 @@ -30,7 +30,7 @@ MOZ_DIRECTSHOW= MOZ_WMF= MOZ_FMP4= -@@ -5624,44 +5625,59 @@ WINNT|Darwin|Android) +@@ -5634,44 +5635,59 @@ WINNT|Darwin|Android) ;; *) MOZ_GSTREAMER=1 @@ -119,7 +119,7 @@ index 0000000..69d0385 --- /dev/null +++ content/media/gstreamer/GStreamerAllocator.cpp -@@ -0,0 +1,195 @@ +@@ -0,0 +1,197 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif @@ -178,9 +178,7 @@ + mem->image->Release(); + + ImageContainer* container = ((MozGfxMemoryAllocator*) mem->memory.allocator)->reader->GetImageContainer(); -+ mem->image = -+ reinterpret_cast( -+ container->CreateImage(ImageFormat::PLANAR_YCBCR).get()); ++ mem->image = reinterpret_cast(container->CreateImage(ImageFormat::PLANAR_YCBCR).get()); + mem->data = mem->image->AllocateAndGetNewBuffer(mem->memory.size); +} + @@ -190,10 +188,10 @@ +{ + MozGfxMemory* mem = g_slice_new (MozGfxMemory); + gsize maxsize = aSize + aParams->prefix + aParams->padding; -+ gst_memory_init (GST_MEMORY_CAST (mem), -+ (GstMemoryFlags)aParams->flags, -+ aAllocator, NULL, maxsize, aParams->align, -+ aParams->prefix, aSize); ++ gst_memory_init(GST_MEMORY_CAST (mem), ++ (GstMemoryFlags)aParams->flags, ++ aAllocator, NULL, maxsize, aParams->align, ++ aParams->prefix, aSize); + mem->image = NULL; + moz_gfx_memory_reset(mem); + @@ -218,6 +216,10 @@ +static gpointer +moz_gfx_memory_map (MozGfxMemory * mem, gsize maxsize, GstMapFlags flags) +{ ++ // check that the allocation didn't fail ++ if (mem->data == nullptr) ++ return nullptr; ++ + return mem->data + mem->memory.offset; +} + @@ -278,7 +280,7 @@ +} + +void -+moz_gfx_memory_allocator_set_reader(GstAllocator *aAllocator, GStreamerReader* aReader) ++moz_gfx_memory_allocator_set_reader(GstAllocator* aAllocator, GStreamerReader* aReader) +{ + MozGfxMemoryAllocator *allocator = (MozGfxMemoryAllocator *) aAllocator; + allocator->reader = aReader; @@ -296,7 +298,7 @@ +moz_gfx_buffer_pool_reset_buffer (GstBufferPool* aPool, GstBuffer* aBuffer) +{ + GstMemory* mem = gst_buffer_peek_memory(aBuffer, 0); -+ ++ + NS_ASSERTION(GST_IS_MOZ_GFX_MEMORY_ALLOCATOR(mem->allocator), "Should be a gfx image"); + moz_gfx_memory_reset((MozGfxMemory *) mem); + GST_BUFFER_POOL_CLASS(moz_gfx_buffer_pool_parent_class)->reset_buffer(aPool, aBuffer); @@ -345,7 +347,7 @@ + +} // namespace mozilla + -+#endif ++#endif diff --git content/media/gstreamer/GStreamerFormatHelper.cpp content/media/gstreamer/GStreamerFormatHelper.cpp index be71331..a5e5db8 100644 --- content/media/gstreamer/GStreamerFormatHelper.cpp @@ -448,7 +450,7 @@ GST_FUNC(LIBGSTREAMER, gst_segment_to_stream_time) GST_FUNC(LIBGSTREAMER, gst_static_caps_get) GST_FUNC(LIBGSTREAMER, gst_structure_copy) -@@ -85,11 +72,82 @@ GST_FUNC(LIBGSTREAMER, gst_structure_get_int) +@@ -86,11 +73,82 @@ GST_FUNC(LIBGSTREAMER, gst_structure_get_int) GST_FUNC(LIBGSTREAMER, gst_structure_get_value) GST_FUNC(LIBGSTREAMER, gst_structure_new) GST_FUNC(LIBGSTREAMER, gst_util_uint64_scale) @@ -531,7 +533,7 @@ /* * Functions that have been defined in the header file. We replace them so that -@@ -99,6 +157,11 @@ GST_FUNC(LIBGSTVIDEO, gst_video_format_parse_caps) +@@ -100,6 +158,11 @@ GST_FUNC(LIBGSTVIDEO, gst_video_format_parse_caps) REPLACE_FUNC(gst_buffer_ref); REPLACE_FUNC(gst_buffer_unref); REPLACE_FUNC(gst_message_unref); @@ -669,7 +671,7 @@ index 0000000..fb98bde --- /dev/null +++ content/media/gstreamer/GStreamerReader-0.10.cpp -@@ -0,0 +1,204 @@ +@@ -0,0 +1,200 @@ +#include "nsError.h" +#include "MediaDecoderStateMachine.h" +#include "AbstractMediaDecoder.h" @@ -714,14 +716,10 @@ +{ + /* allocate an image using the container */ + ImageContainer* container = mDecoder->GetImageContainer(); -+ if (!container) { -+ // We don't have an ImageContainer. We probably belong to an