Skip to content

Commit

Permalink
cef: Update to latest stable release
Browse files Browse the repository at this point in the history
  • Loading branch information
aiden-jeffrey authored and MathieuDuponchelle committed Nov 6, 2024
1 parent 0e470f5 commit be42330
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if(POLICY CMP0074)
endif()

if (NOT DEFINED CEF_VERSION)
set(CEF_VERSION "122.1.13+gde5b724+chromium-122.0.6261.130")
set(CEF_VERSION "130.1.15+g34b05bb+chromium-130.0.6723.92")
endif()

STRING(REGEX REPLACE "\\+" "%2B" CEF_ESCAPED_VERSION ${CEF_VERSION})
Expand Down Expand Up @@ -210,7 +210,7 @@ else()
# Copy framework for testing
COPY_FILES("gstcef" "Chromium\ Embedded\ Framework.framework" "${CEF_BINARY_DIR}" "${CEF_TARGET_OUT_DIR}")
install(
DIRECTORY "${CEF_BINARY_DIR}/Chromium Embedded Framework.framework"
DIRECTORY "${CEF_BINARY_DIR}/Chromium Embedded Framework.framework"
DESTINATION .
USE_SOURCE_PERMISSIONS
)
Expand Down
6 changes: 5 additions & 1 deletion gstcefsrc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,11 @@ class BrowserClient :
return false;
}

virtual void OnRenderProcessTerminated(CefRefPtr<CefBrowser> browser, TerminationStatus status) override
virtual void OnRenderProcessTerminated(
CefRefPtr<CefBrowser> browser,
TerminationStatus status,
int error_code,
const CefString& error_string) override
{
CEF_REQUIRE_UI_THREAD();
GST_WARNING_OBJECT (src, "Render subprocess terminated, reloading URL!");
Expand Down

0 comments on commit be42330

Please sign in to comment.