Remove unused variable
This commit is contained in:
parent
e45a0bf24b
commit
b462ec022a
|
@ -206,10 +206,9 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
struct SimpleMetaBundle {
|
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 url;
|
||||||
QUrl stream_url;
|
QUrl stream_url;
|
||||||
bool minor;
|
|
||||||
QString title;
|
QString title;
|
||||||
QString artist;
|
QString artist;
|
||||||
QString album;
|
QString album;
|
||||||
|
|
|
@ -1171,7 +1171,6 @@ void GstEnginePipeline::StreamDiscovered(GstDiscoverer *discoverer, GstDiscovere
|
||||||
GstDiscovererStreamInfo *stream_info = (GstDiscovererStreamInfo*) g_list_first(audio_streams)->data;
|
GstDiscovererStreamInfo *stream_info = (GstDiscovererStreamInfo*) g_list_first(audio_streams)->data;
|
||||||
|
|
||||||
Engine::SimpleMetaBundle bundle;
|
Engine::SimpleMetaBundle bundle;
|
||||||
bundle.minor = true;
|
|
||||||
bundle.url = instance->original_url();
|
bundle.url = instance->original_url();
|
||||||
bundle.stream_url = QUrl(discovered_url);
|
bundle.stream_url = QUrl(discovered_url);
|
||||||
bundle.samplerate = gst_discoverer_audio_info_get_sample_rate(GST_DISCOVERER_AUDIO_INFO(stream_info));
|
bundle.samplerate = gst_discoverer_audio_info_get_sample_rate(GST_DISCOVERER_AUDIO_INFO(stream_info));
|
||||||
|
|
Loading…
Reference in New Issue