Skip to content

Commit b700f2b

Browse files
[GStreamer] ASSERTION FAILED: !g_object_is_floating(ptr) in adoptGRef(GstContext* ptr)
https://bugs.webkit.org/show_bug.cgi?id=167458 Reviewed by Xabier Rodriguez-Calvar. GstContext is a mini_object, not a GObject. Therefore it shouldn't (and can't) be checked for floatingness. * platform/graphics/gstreamer/GRefPtrGStreamer.cpp: (WTF::adoptGRef): Removed incorrect assertion. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@211225 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent f132a4a commit b700f2b

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

Source/WebCore/ChangeLog

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
2017-01-26 Enrique Ocaña González <[email protected]>
2+
3+
[GStreamer] ASSERTION FAILED: !g_object_is_floating(ptr) in adoptGRef(GstContext* ptr)
4+
https://bugs.webkit.org/show_bug.cgi?id=167458
5+
6+
Reviewed by Xabier Rodriguez-Calvar.
7+
8+
GstContext is a mini_object, not a GObject. Therefore it shouldn't (and can't) be checked for floatingness.
9+
10+
* platform/graphics/gstreamer/GRefPtrGStreamer.cpp:
11+
(WTF::adoptGRef): Removed incorrect assertion.
12+
113
2017-01-26 Zalan Bujtas <[email protected]>
214

315
Simple line layout: Add support for -webkit-hyphenate-limit-after and -webkit-hyphenate-limit-before

Source/WebCore/platform/graphics/gstreamer/GRefPtrGStreamer.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ template <> void derefGPtr<GstCaps>(GstCaps* ptr)
105105

106106
template <> GRefPtr<GstContext> adoptGRef(GstContext* ptr)
107107
{
108-
ASSERT(!g_object_is_floating(ptr));
109108
return GRefPtr<GstContext>(ptr, GRefPtrAdopt);
110109
}
111110

0 commit comments

Comments
 (0)