소스 검색

VLCMediaListPlayer: change pause behavior

The pause method is not toggling the pause state anymore. This fixes possible
inconsistencies when the input is paused from an other thread.
Thomas Guillem 7 년 전
부모
커밋
9df762aeda
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Sources/VLCMediaListPlayer.m

+ 1 - 1
Sources/VLCMediaListPlayer.m

@@ -150,7 +150,7 @@
         [self performSelectorInBackground:@selector(pause) withObject:nil];
         return;
     }
-    libvlc_media_list_player_pause(instance);
+    libvlc_media_list_player_set_pause(instance, 1);
 }
 
 - (void)stop