Remove unused variable

This commit is contained in:
Jonas Kvinge 2019-09-07 23:50:26 +02:00
parent e45a0bf24b
commit b462ec022a
2 changed files with 1 additions and 3 deletions

View File

@ -206,10 +206,9 @@ private:
};
struct SimpleMetaBundle {
SimpleMetaBundle() : minor(true), length(-1), year(-1), track(-1), samplerate(-1), bitdepth(-1) {}
SimpleMetaBundle() : length(-1), year(-1), track(-1), samplerate(-1), bitdepth(-1) {}
QUrl url;
QUrl stream_url;
bool minor;
QString title;
QString artist;
QString album;

View File

@ -1171,7 +1171,6 @@ void GstEnginePipeline::StreamDiscovered(GstDiscoverer *discoverer, GstDiscovere
GstDiscovererStreamInfo *stream_info = (GstDiscovererStreamInfo*) g_list_first(audio_streams)->data;
Engine::SimpleMetaBundle bundle;
bundle.minor = true;
bundle.url = instance->original_url();
bundle.stream_url = QUrl(discovered_url);
bundle.samplerate = gst_discoverer_audio_info_get_sample_rate(GST_DISCOVERER_AUDIO_INFO(stream_info));