From 3e17a0adb588c4f681da56ff4ebc0eca5538e8e2 Mon Sep 17 00:00:00 2001 From: Arnaud Bienner Date: Sun, 14 Sep 2014 02:39:35 +0200 Subject: [PATCH] Remove dead code --- src/engines/gstenginepipeline.cpp | 5 ----- src/internet/spotifyservice.cpp | 1 - 2 files changed, 6 deletions(-) diff --git a/src/engines/gstenginepipeline.cpp b/src/engines/gstenginepipeline.cpp index c38c3aa96..42b749657 100644 --- a/src/engines/gstenginepipeline.cpp +++ b/src/engines/gstenginepipeline.cpp @@ -170,11 +170,6 @@ bool GstEnginePipeline::ReplaceDecodeBin(const QUrl& url) { gst_element_add_pad(GST_ELEMENT(new_bin), gst_ghost_pad_new("src", pad)); gst_object_unref(GST_OBJECT(pad)); -// g_object_set(G_OBJECT(new_bin), "max-size-time", 100, -// nullptr); -// g_object_set(G_OBJECT(new_bin), "use-buffering", true, nullptr); - - // Tell spotify to start sending data to us. InternetModel::Service()->server()->StartPlaybackLater( url.toString(), port); diff --git a/src/internet/spotifyservice.cpp b/src/internet/spotifyservice.cpp index dc451f963..838ab6d38 100644 --- a/src/internet/spotifyservice.cpp +++ b/src/internet/spotifyservice.cpp @@ -703,7 +703,6 @@ void SpotifyService::Seek(const int offset /* in msec */) { server_->Seek(offset); } - void SpotifyService::SyncPlaylistProgress( const pb::spotify::SyncPlaylistProgress& progress) { qLog(Debug) << "Sync progress:" << progress.sync_progress();