From owner-freebsd-gecko@FreeBSD.ORG Thu Jun 21 12:06:36 2012 Return-Path: Delivered-To: freebsd-gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8E9101065670 for ; Thu, 21 Jun 2012 12:06:36 +0000 (UTC) (envelope-from svn-freebsd-gecko@chruetertee.ch) Received: from trillian.chruetertee.ch (trillian.chruetertee.ch [217.150.245.56]) by mx1.freebsd.org (Postfix) with ESMTP id F2AF18FC20 for ; Thu, 21 Jun 2012 12:06:35 +0000 (UTC) Received: from trillian.chruetertee.ch (trillian [217.150.245.56]) by trillian.chruetertee.ch (8.14.4/8.14.3) with ESMTP id q5LC6Z3n084333 for ; Thu, 21 Jun 2012 12:06:35 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Received: (from www@localhost) by trillian.chruetertee.ch (8.14.4/8.14.3/Submit) id q5LC6TTV083491 for freebsd-gecko@freebsd.org; Thu, 21 Jun 2012 12:06:29 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Date: Thu, 21 Jun 2012 12:06:29 GMT Message-Id: <201206211206.q5LC6TTV083491@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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [SVN-Commit] r786 - in branches/experimental: Mk www/firefox-nightly www/firefox-nightly/files X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 21 Jun 2012 12:06:36 -0000 Author: jbeich Date: Thu Jun 21 12:06:29 2012 New Revision: 786 Log: add/enable gstreamer by default Added: branches/experimental/www/firefox-nightly/files/patch-content-media-gstreamer-nsGStreamerReader.cpp Modified: branches/experimental/Mk/bsd.gecko.mk branches/experimental/www/firefox-nightly/Makefile Modified: branches/experimental/Mk/bsd.gecko.mk ============================================================================== --- branches/experimental/Mk/bsd.gecko.mk Thu Jun 21 12:05:46 2012 (r785) +++ branches/experimental/Mk/bsd.gecko.mk Thu Jun 21 12:06:29 2012 (r786) @@ -560,7 +560,7 @@ LOGGING_DESC?= Enable additional log messages SMB?= Enable smb:// URI support using gnomevfs -OPTIONS_DEFAULT+=DBUS +OPTIONS_DEFAULT+=DBUS GSTREAMER .for use in ${USE_GECKO_OPTIONS} ${use:S/-/_WITHOUT_/}= ${TRUE} @@ -683,6 +683,13 @@ MOZ_OPTIONS+= --disable-dbus --disable-libnotify .endif +.if ${PORT_OPTIONS:MGSTREAMER} +USE_GSTREAMER= yes +MOZ_OPTIONS+= --enable-gstreamer +.else +MOZ_OPTIONS+= --disable-gstreamer +.endif + .if ${PORT_OPTIONS:MSMB} USE_GNOME+= gnomevfs2 MOZ_OPTIONS+= --enable-gnomevfs Modified: branches/experimental/www/firefox-nightly/Makefile ============================================================================== --- branches/experimental/www/firefox-nightly/Makefile Thu Jun 21 12:05:46 2012 (r785) +++ branches/experimental/www/firefox-nightly/Makefile Thu Jun 21 12:06:29 2012 (r786) @@ -30,6 +30,7 @@ USE_GECKO= gecko MOZ_PKGCONFIG_FILES= # empty USE_MOZILLA= -nspr -sqlite +USE_GECKO_OPTIONS=+gstreamer MOZILLA_NAME= Nightly MOZILLA_SUFX= -nightly MOZILLA= ${PORTNAME}${MOZILLA_SUFX} Added: branches/experimental/www/firefox-nightly/files/patch-content-media-gstreamer-nsGStreamerReader.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/experimental/www/firefox-nightly/files/patch-content-media-gstreamer-nsGStreamerReader.cpp Thu Jun 21 12:06:29 2012 (r786) @@ -0,0 +1,11 @@ +--- content/media/gstreamer/nsGStreamerReader.cpp~ ++++ content/media/gstreamer/nsGStreamerReader.cpp +@@ -191,7 +191,7 @@ nsresult nsGStreamerReader::ReadMetadata + * stream but that are otherwise decodeable. + */ + guint flags[3] = {GST_PLAY_FLAG_VIDEO|GST_PLAY_FLAG_AUDIO, +- ~GST_PLAY_FLAG_AUDIO, ~GST_PLAY_FLAG_VIDEO}; ++ static_cast(~GST_PLAY_FLAG_AUDIO), static_cast(~GST_PLAY_FLAG_VIDEO)}; + guint default_flags, current_flags; + g_object_get(mPlayBin, "flags", &default_flags, NULL); +