Changeset 205430 in webkit
- Timestamp:
- Sep 5, 2016 12:15:50 AM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r205422 r205430 1 2016-09-05 Zan Dobersek <zdobersek@igalia.com> 2 3 MediaPlayerPrivateGStreamerBase: improve build guards in nativeImageForCurrentTime() 4 https://bugs.webkit.org/show_bug.cgi?id=161594 5 6 Reviewed by Philippe Normand. 7 8 Guard the uses of cairo-gl API in nativeImageForCurrentTime() with the 9 USE(CAIRO) && ENABLE(ACCELERATED_2D_CANVAS) pair of build guards. This 10 API is only made available when the ACCELERATED_2D_CANVAS option is 11 enabled. Placing the guards this way thus avoids compilation errors 12 when compiling USE_GSTREAMER_GL code without the accelerated 2D canvas 13 support enabled. 14 15 * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp: 16 (WebCore::MediaPlayerPrivateGStreamerBase::nativeImageForCurrentTime): 17 1 18 2016-09-04 Sam Weinig <sam@webkit.org> 2 19 -
trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp
r205180 r205430 683 683 NativeImagePtr MediaPlayerPrivateGStreamerBase::nativeImageForCurrentTime() 684 684 { 685 #if !USE(CAIRO) || !ENABLE(ACCELERATED_2D_CANVAS) 686 return nullptr; 687 #endif 688 685 #if USE(CAIRO) && ENABLE(ACCELERATED_2D_CANVAS) 689 686 if (m_usingFallbackVideoSink) 690 687 return nullptr; … … 745 742 746 743 return rotatedSurface; 744 #else 745 return nullptr; 746 #endif 747 747 } 748 748 #endif
Note: See TracChangeset
for help on using the changeset viewer.