diff options
Diffstat (limited to 'libre/clementine/remove-nonfree-artwork-and-spotify.patch')
-rw-r--r-- | libre/clementine/remove-nonfree-artwork-and-spotify.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libre/clementine/remove-nonfree-artwork-and-spotify.patch b/libre/clementine/remove-nonfree-artwork-and-spotify.patch index 297cb5cb8..9dc0fdbf6 100644 --- a/libre/clementine/remove-nonfree-artwork-and-spotify.patch +++ b/libre/clementine/remove-nonfree-artwork-and-spotify.patch @@ -603,9 +603,9 @@ index 4d3e4d5..5de0663 100644 - static const int kMaxRedirects = 3; }; - + diff --git a/src/engines/gstenginepipeline.cpp b/src/engines/gstenginepipeline.cpp -index c3fde67..39f4410 100644 +index c3fde67..a1188be 100644 --- a/src/engines/gstenginepipeline.cpp +++ b/src/engines/gstenginepipeline.cpp @@ -34,8 +34,6 @@ @@ -670,7 +670,7 @@ index c3fde67..39f4410 100644 return ReplaceDecodeBin(new_bin); } -@@ -923,17 +891,7 @@ GstPadProbeReturn GstEnginePipeline::EventHandoffCallback(GstPad*, +@@ -923,16 +891,8 @@ GstPadProbeReturn GstEnginePipeline::EventHandoffCallback(GstPad*, void GstEnginePipeline::SourceDrainedCallback(GstURIDecodeBin* bin, gpointer self) { GstEnginePipeline* instance = reinterpret_cast<GstEnginePipeline*>(self); @@ -684,12 +684,12 @@ index c3fde67..39f4410 100644 - !(instance->url_.scheme() != "spotify" && - instance->next_url_.scheme() == "spotify")) { - instance->TransitionToNext(); -- } -+ instance->TransitionToNext(); ++ if (instance->has_next_valid_url()) { ++ instance->TransitionToNext(); + } } - void GstEnginePipeline::SourceSetupCallback(GstURIDecodeBin* bin, -@@ -1032,24 +990,6 @@ GstState GstEnginePipeline::state() const { +@@ -1032,24 +992,6 @@ GstState GstEnginePipeline::state() const { } QFuture<GstStateChangeReturn> GstEnginePipeline::SetState(GstState state) { |