From owner-svn-ports-all@freebsd.org Mon Oct 30 21:47:21 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BCA25E6677E; Mon, 30 Oct 2017 21:47:21 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 91F39735F1; Mon, 30 Oct 2017 21:47:21 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v9ULlKJa088393; Mon, 30 Oct 2017 21:47:20 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v9ULlK9d088389; Mon, 30 Oct 2017 21:47:20 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201710302147.v9ULlK9d088389@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Mon, 30 Oct 2017 21:47:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r453211 - in head: mail/thunderbird/files www/firefox-esr/files www/firefox/files www/seamonkey/files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head: mail/thunderbird/files www/firefox-esr/files www/firefox/files www/seamonkey/files X-SVN-Commit-Revision: 453211 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2017 21:47:21 -0000 Author: jbeich Date: Mon Oct 30 21:47:20 2017 New Revision: 453211 URL: https://svnweb.freebsd.org/changeset/ports/453211 Log: gecko: better detect FLAC after r453085 MFH: 2017Q4 Modified: head/mail/thunderbird/files/patch-bug1412558 (contents, props changed) head/www/firefox-esr/files/patch-bug1412558 (contents, props changed) head/www/firefox/files/patch-bug1412558 (contents, props changed) head/www/seamonkey/files/patch-bug1412558 (contents, props changed) Modified: head/mail/thunderbird/files/patch-bug1412558 ============================================================================== --- head/mail/thunderbird/files/patch-bug1412558 Mon Oct 30 20:11:27 2017 (r453210) +++ head/mail/thunderbird/files/patch-bug1412558 Mon Oct 30 21:47:20 2017 (r453211) @@ -2,15 +2,25 @@ diff --git dom/media/flac/FlacDecoder.cpp dom/media/fl index 53fc3c9937f7..b23771ab80fa 100644 --- mozilla/dom/media/flac/FlacDecoder.cpp +++ mozilla/dom/media/flac/FlacDecoder.cpp -@@ -36,7 +36,7 @@ FlacDecoder::CreateStateMachine() - /* static */ bool - FlacDecoder::IsEnabled() +@@ -7,6 +7,7 @@ + #include "FlacDecoder.h" + #include "MediaContainerType.h" + #include "MediaPrefs.h" ++#include "PDMFactory.h" + + namespace mozilla { + +@@ -15,6 +16,10 @@ FlacDecoder::IsEnabled() { --#ifdef MOZ_FFVPX -+#if defined(MOZ_FFMPEG) || defined(MOZ_FFVPX) + #ifdef MOZ_FFVPX return MediaPrefs::FlacEnabled(); ++#elif defined(MOZ_FFMPEG) ++ RefPtr platform = new PDMFactory(); ++ return MediaPrefs::FlacEnabled() && platform->SupportsMimeType(NS_LITERAL_CSTRING("audio/flac"), ++ /* DecoderDoctorDiagnostics* */ nullptr); #else // Until bug 1295886 is fixed. + return false; diff --git media/ffvpx/README_MOZILLA media/ffvpx/README_MOZILLA index 5d3a6037efe0..43144b726a92 100644 --- mozilla/media/ffvpx/README_MOZILLA Modified: head/www/firefox-esr/files/patch-bug1412558 ============================================================================== --- head/www/firefox-esr/files/patch-bug1412558 Mon Oct 30 20:11:27 2017 (r453210) +++ head/www/firefox-esr/files/patch-bug1412558 Mon Oct 30 21:47:20 2017 (r453211) @@ -2,15 +2,25 @@ diff --git dom/media/flac/FlacDecoder.cpp dom/media/fl index 53fc3c9937f7..b23771ab80fa 100644 --- dom/media/flac/FlacDecoder.cpp +++ dom/media/flac/FlacDecoder.cpp -@@ -36,7 +36,7 @@ FlacDecoder::CreateStateMachine() - /* static */ bool - FlacDecoder::IsEnabled() +@@ -7,6 +7,7 @@ + #include "FlacDecoder.h" + #include "MediaContainerType.h" + #include "MediaPrefs.h" ++#include "PDMFactory.h" + + namespace mozilla { + +@@ -15,6 +16,10 @@ FlacDecoder::IsEnabled() { --#ifdef MOZ_FFVPX -+#if defined(MOZ_FFMPEG) || defined(MOZ_FFVPX) + #ifdef MOZ_FFVPX return MediaPrefs::FlacEnabled(); ++#elif defined(MOZ_FFMPEG) ++ RefPtr platform = new PDMFactory(); ++ return MediaPrefs::FlacEnabled() && platform->SupportsMimeType(NS_LITERAL_CSTRING("audio/flac"), ++ /* DecoderDoctorDiagnostics* */ nullptr); #else // Until bug 1295886 is fixed. + return false; diff --git media/ffvpx/README_MOZILLA media/ffvpx/README_MOZILLA index 5d3a6037efe0..43144b726a92 100644 --- media/ffvpx/README_MOZILLA Modified: head/www/firefox/files/patch-bug1412558 ============================================================================== --- head/www/firefox/files/patch-bug1412558 Mon Oct 30 20:11:27 2017 (r453210) +++ head/www/firefox/files/patch-bug1412558 Mon Oct 30 21:47:20 2017 (r453211) @@ -2,15 +2,25 @@ diff --git dom/media/flac/FlacDecoder.cpp dom/media/fl index 53fc3c9937f7..b23771ab80fa 100644 --- dom/media/flac/FlacDecoder.cpp +++ dom/media/flac/FlacDecoder.cpp -@@ -36,7 +36,7 @@ FlacDecoder::CreateStateMachine() - /* static */ bool - FlacDecoder::IsEnabled() +@@ -7,6 +7,7 @@ + #include "FlacDecoder.h" + #include "MediaContainerType.h" + #include "MediaPrefs.h" ++#include "PDMFactory.h" + + namespace mozilla { + +@@ -15,6 +16,10 @@ FlacDecoder::IsEnabled() { --#ifdef MOZ_FFVPX -+#if defined(MOZ_FFMPEG) || defined(MOZ_FFVPX) + #ifdef MOZ_FFVPX return MediaPrefs::FlacEnabled(); ++#elif defined(MOZ_FFMPEG) ++ RefPtr platform = new PDMFactory(); ++ return MediaPrefs::FlacEnabled() && platform->SupportsMimeType(NS_LITERAL_CSTRING("audio/flac"), ++ /* DecoderDoctorDiagnostics* */ nullptr); #else // Until bug 1295886 is fixed. + return false; diff --git media/ffvpx/README_MOZILLA media/ffvpx/README_MOZILLA index 5d3a6037efe0..43144b726a92 100644 --- media/ffvpx/README_MOZILLA Modified: head/www/seamonkey/files/patch-bug1412558 ============================================================================== --- head/www/seamonkey/files/patch-bug1412558 Mon Oct 30 20:11:27 2017 (r453210) +++ head/www/seamonkey/files/patch-bug1412558 Mon Oct 30 21:47:20 2017 (r453211) @@ -2,15 +2,25 @@ diff --git dom/media/flac/FlacDecoder.cpp dom/media/fl index 53fc3c9937f7..b23771ab80fa 100644 --- mozilla/dom/media/flac/FlacDecoder.cpp +++ mozilla/dom/media/flac/FlacDecoder.cpp -@@ -36,7 +36,7 @@ FlacDecoder::CreateStateMachine() - /* static */ bool - FlacDecoder::IsEnabled() +@@ -7,6 +7,7 @@ + #include "FlacDecoder.h" + #include "MediaContainerType.h" + #include "MediaPrefs.h" ++#include "PDMFactory.h" + + namespace mozilla { + +@@ -15,6 +16,10 @@ FlacDecoder::IsEnabled() { --#ifdef MOZ_FFVPX -+#if defined(MOZ_FFMPEG) || defined(MOZ_FFVPX) + #ifdef MOZ_FFVPX return MediaPrefs::FlacEnabled(); ++#elif defined(MOZ_FFMPEG) ++ RefPtr platform = new PDMFactory(); ++ return MediaPrefs::FlacEnabled() && platform->SupportsMimeType(NS_LITERAL_CSTRING("audio/flac"), ++ /* DecoderDoctorDiagnostics* */ nullptr); #else // Until bug 1295886 is fixed. + return false; diff --git media/ffvpx/README_MOZILLA media/ffvpx/README_MOZILLA index 5d3a6037efe0..43144b726a92 100644 --- mozilla/media/ffvpx/README_MOZILLA