Commit 7b87e71d authored by Val Doroshchuk's avatar Val Doroshchuk

format

parent 5e6fe57e
......@@ -171,6 +171,9 @@ QGstreamerAppSrc::QGstreamerAppSrc(GstElement *appsrc, QObject *parent)
{
g_signal_connect(appsrc, "need-data", G_CALLBACK(start_feed), this);
g_signal_connect(appsrc, "enough-data", G_CALLBACK(stop_feed), this);
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);
}
QGstreamerAppSrc::~QGstreamerAppSrc()
......
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