This repository has been archived by the owner on May 30, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workaround to prevent WebCoreMovieObserver confusion.
The solution is for the static build script to disable QuickTime video. In many cases, video support for a headless engine is not so useful. http://code.google.com/p/phantomjs/issues/detail?id=321
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
diff --git a/src/3rdparty/webkit/Source/WebCore/features.pri b/src/3rdparty/webkit/Source/WebCore/features.pri | ||
index f04d0b4..5e4bfbe 100644 | ||
--- a/src/3rdparty/webkit/Source/WebCore/features.pri | ||
+++ b/src/3rdparty/webkit/Source/WebCore/features.pri | ||
@@ -163,10 +163,10 @@ symbian|maemo5|maemo6 { | ||
DEFINES += ENABLE_VIDEO=0 | ||
|
||
mac:!contains(DEFINES, USE_QTMULTIMEDIA=1) { | ||
- DEFINES -= ENABLE_VIDEO=0 | ||
- DEFINES += ENABLE_VIDEO=1 | ||
- DEFINES += WTF_USE_QTKIT=1 | ||
- DEFINES -= WTF_USE_QTKIT=0 | ||
+ # DEFINES -= ENABLE_VIDEO=0 | ||
+ # DEFINES += ENABLE_VIDEO=1 | ||
+ # DEFINES += WTF_USE_QTKIT=1 | ||
+ # DEFINES -= WTF_USE_QTKIT=0 | ||
} else: linux-*:!contains(DEFINES, USE_QTMULTIMEDIA=1) { | ||
!contains(QT_CONFIG, no-pkg-config):system(pkg-config --exists glib-2.0 gio-2.0 gstreamer-0.10): { | ||
DEFINES -= ENABLE_VIDEO=0 |