[longomatch] Remove TogglePlay from the IPlayer API
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Remove TogglePlay from the IPlayer API
- Date: Wed, 9 Jul 2014 09:56:14 +0000 (UTC)
commit a3776ce2b1d733ffe0625eaf21897c000089f5ea
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Jul 9 11:55:20 2014 +0200
Remove TogglePlay from the IPlayer API
LongoMatch.Core/Interfaces/Multimedia/IPlayer.cs | 1 -
LongoMatch.Multimedia/Player/GstPlayer.cs | 9 ---------
2 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/LongoMatch.Core/Interfaces/Multimedia/IPlayer.cs
b/LongoMatch.Core/Interfaces/Multimedia/IPlayer.cs
index f6c21be..daaed2a 100644
--- a/LongoMatch.Core/Interfaces/Multimedia/IPlayer.cs
+++ b/LongoMatch.Core/Interfaces/Multimedia/IPlayer.cs
@@ -45,7 +45,6 @@ namespace LongoMatch.Interfaces.Multimedia
bool Open (string mrl);
void Play();
- void TogglePlay();
void Pause();
void Stop();
void Close();
diff --git a/LongoMatch.Multimedia/Player/GstPlayer.cs b/LongoMatch.Multimedia/Player/GstPlayer.cs
index a845f85..0424ab6 100644
--- a/LongoMatch.Multimedia/Player/GstPlayer.cs
+++ b/LongoMatch.Multimedia/Player/GstPlayer.cs
@@ -434,15 +434,6 @@ namespace LongoMatch.Video.Player {
lgm_video_player_pause (Handle);
}
- public void TogglePlay() {
- if(!this.Playing) {
- this.Play();
- }
- else {
- this.Pause();
- }
- }
-
public void Stop() {
lgm_video_player_stop (Handle);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]