Commit 6d2c5280 authored by Val Doroshchuk's avatar Val Doroshchuk


parent 2dbfd135
......@@ -78,6 +78,7 @@ void QGstreamerAppSrcPrivate::restart(QVideoFrame &frame)
g_object_set(G_OBJECT(appsrc), "caps", caps, NULL);
size = frame.size();
static void start_feed(GstElement *pipeline, guint size, QGstreamerAppSrc *q)
......@@ -148,7 +149,7 @@ void QGstreamerAppSrc::timerEvent(QTimerEvent *event)
GstFlowReturn ret;
g_signal_emit_by_name (d->appsrc, "push-buffer", app_buffer, &ret);
if (ret != GST_FLOW_OK) {
qWarning() << "Error has occured while pushing a buffer";
qWarning() << "Error has occurred while pushing a buffer";
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment