ybznek
28th March 2015, 21:36
Hi,
when I add
"QT += webkitwidgets"
to my project, I cannot create instance of QMediaPlayer - "QMediaPlayer player; - freeze"
TLDR: I can use QWebView od QMediaPlayer, but not both
Error output
(proj:31180): GLib-GObject-WARNING **: cannot register existing type 'GstObject'
(proj:31180): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(proj:31180): GLib-GObject-CRITICAL **: g_type_register_static: assertion 'parent_type > 0' failed
(proj:31180): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(proj:31180): GStreamer-CRITICAL **: gst_element_class_set_details_simple: assertion 'GST_IS_ELEMENT_CLASS (klass)' failed
(proj:31180): GStreamer-WARNING **: static caps 0x7ff7fdfe1650 string is NULL
(proj:31180): GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object != NULL' failed
(proj:31180): GStreamer-WARNING **: static caps 0x7ff7fdfe15d0 string is NULL
(proj:31180): GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object != NULL' failed
(proj:31180): GStreamer-WARNING **: static caps 0x7ff7fdfe1650 string is NULL
(proj:31180): GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object != NULL' failed
Qt Creator 3.3.2
Based on Qt 5.4.1 (GCC 4.9.2 20150304 (prerelease), 64 bit)
Built on Mar 11 2015 at 11:27:15
Linux pb 3.19.2-1-MANJARO #1 SMP PREEMPT Wed Mar 18 22:29:52 UTC 2015 x86_64 GNU/Linux
Can you help me please?
when I add
"QT += webkitwidgets"
to my project, I cannot create instance of QMediaPlayer - "QMediaPlayer player; - freeze"
TLDR: I can use QWebView od QMediaPlayer, but not both
Error output
(proj:31180): GLib-GObject-WARNING **: cannot register existing type 'GstObject'
(proj:31180): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(proj:31180): GLib-GObject-CRITICAL **: g_type_register_static: assertion 'parent_type > 0' failed
(proj:31180): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(proj:31180): GStreamer-CRITICAL **: gst_element_class_set_details_simple: assertion 'GST_IS_ELEMENT_CLASS (klass)' failed
(proj:31180): GStreamer-WARNING **: static caps 0x7ff7fdfe1650 string is NULL
(proj:31180): GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object != NULL' failed
(proj:31180): GStreamer-WARNING **: static caps 0x7ff7fdfe15d0 string is NULL
(proj:31180): GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object != NULL' failed
(proj:31180): GStreamer-WARNING **: static caps 0x7ff7fdfe1650 string is NULL
(proj:31180): GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object != NULL' failed
Qt Creator 3.3.2
Based on Qt 5.4.1 (GCC 4.9.2 20150304 (prerelease), 64 bit)
Built on Mar 11 2015 at 11:27:15
Linux pb 3.19.2-1-MANJARO #1 SMP PREEMPT Wed Mar 18 22:29:52 UTC 2015 x86_64 GNU/Linux
Can you help me please?