Commit f6d1ec71 authored by Andreas Cord-Landwehr's avatar Andreas Cord-Landwehr
Browse files

GStreamer-1.0 port fixes.

Adapt renamed pad names.
parent 57b7edfe
......@@ -92,7 +92,10 @@ QGst::BinPtr QtGStreamerBackend::createAudioSrcBin()
kError() << "Failed to create audio source bin:" << error;
return QGst::BinPtr();
QGst::ElementPtr src = audioBin->getElementByName("audiosrc");
//autoaudiosrc creates the actual source in the READY state
return audioBin;
......@@ -144,7 +147,7 @@ void QtGStreamerBackend::startCapture(const QString &filePath)
m_pipeline->add(audioSrcBin, mux, sink);
//link elements
QGst::PadPtr audioPad = mux->getRequestPad("sink_%d");
QGst::PadPtr audioPad = mux->getRequestPad("audio_%u");
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