Go on to the next track properly
This commit is contained in:
parent
ac887cf468
commit
b154f2bd4e
|
@ -150,7 +150,8 @@ GstEngine::event_cb( GstPad*, GstEvent* event, gpointer /*arg*/) //static
|
|||
{
|
||||
case GST_EVENT_EOS:
|
||||
qDebug() << "EOS reached";
|
||||
QTimer::singleShot( 0, instance(), SLOT( endOfStreamReached() ) );
|
||||
QMetaObject::invokeMethod(instance(), "endOfStreamReached",
|
||||
Qt::QueuedConnection);
|
||||
break;
|
||||
case GST_EVENT_TAG:
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue