Skip to content
This repository
Browse code

Merge pull request #1497 from avdleeuw/switch

[PVR] Change channelswitching through OSD to be consistent with channel
  • Loading branch information...
commit 8749d787936330d0d67052f5ffa3161c36a07c24 2 parents 2336e3a + fd5c73b
Lars Op den Kamp authored October 04, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  xbmc/pvr/addons/PVRClients.cpp
2  xbmc/pvr/addons/PVRClients.cpp
@@ -302,9 +302,9 @@ bool CPVRClients::SwitchChannel(const CPVRChannel &channel)
302 302
       // stream URL should always be opened as a new file
303 303
       !channel.StreamURL().IsEmpty() || !currentChannel->StreamURL().IsEmpty())
304 304
   {
305  
-    CloseStream();
306 305
     if (channel.StreamURL().IsEmpty())
307 306
     {
  307
+      CloseStream();
308 308
       bSwitchSuccessful = OpenStream(channel, true);
309 309
     }
310 310
     else

0 notes on commit 8749d78

Please sign in to comment.
Something went wrong with that request. Please try again.