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

Show default input device.

We will again allow a selection with GStreamer 1.4.
parent ce653e2d
...@@ -176,7 +176,7 @@ QStringList QtGStreamerCaptureBackend::devices() const ...@@ -176,7 +176,7 @@ QStringList QtGStreamerCaptureBackend::devices() const
//TODO qtgstreamer backend currently only provides access to default backend, //TODO qtgstreamer backend currently only provides access to default backend,
// reenable selection by using Gst::Device // reenable selection by using Gst::Device
return m_availableDevices.keys(); return m_availableDevices.values();
} }
void QtGStreamerCaptureBackend::setDevice(const QString& deviceIdentifier) void QtGStreamerCaptureBackend::setDevice(const QString& deviceIdentifier)
......
...@@ -54,6 +54,7 @@ SoundDeviceDialogPage::SoundDeviceDialogPage() ...@@ -54,6 +54,7 @@ SoundDeviceDialogPage::SoundDeviceDialogPage()
for (int i=0; i < devices.length(); ++i) { for (int i=0; i < devices.length(); ++i) {
ui->kcfg_AudioInputDevice->insertItem(i, devices.at(i), i); ui->kcfg_AudioInputDevice->insertItem(i, devices.at(i), i);
} }
//TODO Gst::Device will allow selecting devices again with GStreamer 1.4
// temporary file for recording test // temporary file for recording test
m_recordTestFile.setSuffix(".ogg"); m_recordTestFile.setSuffix(".ogg");
......
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