Commit 923ef1f7 authored by Val Doroshchuk's avatar Val Doroshchuk

rendererChanged

parent bcee7b30
......@@ -173,6 +173,7 @@ QGstreamerAppSrc::QGstreamerAppSrc(GstElement *appsrc, QObject *parent)
g_object_set(G_OBJECT(appsrc), "do-timestamp", TRUE, NULL);
g_object_set(G_OBJECT(appsrc), "duration", GST_CLOCK_TIME_NONE, NULL);
g_object_set(G_OBJECT(appsrc), "format", GST_FORMAT_TIME, NULL);
g_object_set(G_OBJECT(appsrc), "is-live", TRUE, NULL);
}
QGstreamerAppSrc::~QGstreamerAppSrc()
......
......@@ -103,7 +103,7 @@ void QGstreamerPlaybinPrivate::mediaPlayerChanged()
QObject::connect(session, &QGstreamerPlayerSession::streamsChanged,
q, [this]() { streamsChanged(); });
QObject::connect(session, &QGstreamerPlayerSession::rendererIsReady,
QObject::connect(session, &QGstreamerPlayerSession::rendererChanged,
q, [this]() { updatePlaybin(); });
// In case if these values've been applied
......
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