From c80e090095217ca31b70c2e08b6ce4f9e9c17aa3 Mon Sep 17 00:00:00 2001 From: Beat Gaetzi Date: Wed, 19 Mar 2014 20:46:37 +0000 Subject: - Update Firefox to 28.0 - Update Firefox ESR to 24.4.0 - Update Thunderbird to 24.4.0 - Update NSPR to 4.10.4 - Update NSS to 3.15.5 - Switch GSTREAMER option for non-esr ports to depend on multimedia/gstreamer1 [2] - Switch to Uses/compiler.mk, defaults to lang/gcc47 on 8.x and 9.x - Use port dependencies for libogg, libvorbis, libopus, harfbuzz, graphite2 - Enable readahead in url-classifier, asmjs, download resume like on Linux - Build www/firefox and www/seamonkey faster using unified compilation - Unbreak build on sparc64 [1] - Workaround OPTIMIZED_CFLAGS startup crash on 8.x and 9.x - OPTIMIZED_CFLAGS is enabled by default - A few DEBUG build fixes - Add clang 3.2/3.3/3.4 workarounds for i386 - Mention known GSTREAMER issue in pkg-message Submitted by: Jan Beich PR: ports/186580 [1] Requested by: kwm [2] Security: http://www.vuxml.org/freebsd/610de647-af8d-11e3-a25b-b4b52fce4ce8.html --- www/firefox/files/patch-bug973744 | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 www/firefox/files/patch-bug973744 (limited to 'www/firefox/files/patch-bug973744') diff --git a/www/firefox/files/patch-bug973744 b/www/firefox/files/patch-bug973744 new file mode 100644 index 000000000000..6e700705cfbc --- /dev/null +++ b/www/firefox/files/patch-bug973744 @@ -0,0 +1,38 @@ +commit 2506904 +Author: Alessandro Decina +Date: Wed Feb 19 11:30:09 2014 -0500 + + Bug 973744 - Remove matroska seek hack in the gstreamer media backend. r=edwin +--- + content/media/gstreamer/GStreamerReader.cpp | 21 --------------------- + 1 file changed, 21 deletions(-) + +diff --git content/media/gstreamer/GStreamerReader.cpp content/media/gstreamer/GStreamerReader.cpp +index e21ffdd..82dadeb 100644 +--- content/media/gstreamer/GStreamerReader.cpp ++++ content/media/gstreamer/GStreamerReader.cpp +@@ -381,24 +381,6 @@ nsresult GStreamerReader::ReadMetadata(MediaInfo* aInfo, + /* we couldn't get this to play */ + return ret; + +- /* FIXME: workaround for a bug in matroskademux. This seek makes matroskademux +- * parse the index */ +- LOG(PR_LOG_DEBUG, "doing matroskademux seek hack"); +- if (gst_element_seek_simple(mPlayBin, GST_FORMAT_TIME, +- GST_SEEK_FLAG_FLUSH, 0)) { +- /* after a seek we need to wait again for ASYNC_DONE */ +- message = gst_bus_timed_pop_filtered(mBus, 5 * GST_SECOND, +- (GstMessageType)(GST_MESSAGE_ASYNC_DONE | GST_MESSAGE_ERROR)); +- LOG(PR_LOG_DEBUG, "matroskademux seek hack done"); +- if (GST_MESSAGE_TYPE(message) != GST_MESSAGE_ASYNC_DONE) { +- gst_element_set_state(mPlayBin, GST_STATE_NULL); +- gst_message_unref(message); +- return NS_ERROR_FAILURE; +- } +- } else { +- LOG(PR_LOG_DEBUG, "matroskademux seek hack failed (non fatal)"); +- } +- + /* report the duration */ + gint64 duration; + -- cgit v1.2.3