[vlc-devel] commit: Remove last instances of FORWARD/BACKWARD state. (Jean-Paul Saman )

git version control git at videolan.org
Thu Nov 20 16:42:06 CET 2008


vlc | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Thu Nov 20 16:41:01 2008 +0100| [409327e9602e9d8a26e35b3ac4b97604d4790429] | committer: Jean-Paul Saman 

Remove last instances of FORWARD/BACKWARD state.

I seem to have missed these, sorry guys for breaking the build.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=409327e9602e9d8a26e35b3ac4b97604d4790429
---

 src/control/media_list_player.c |    1 -
 src/control/mediacontrol_core.c |    6 ------
 2 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/src/control/media_list_player.c b/src/control/media_list_player.c
index c5f0451..0f704bd 100644
--- a/src/control/media_list_player.c
+++ b/src/control/media_list_player.c
@@ -376,7 +376,6 @@ libvlc_media_list_player_is_playing( libvlc_media_list_player_t * p_mlp,
 {
     libvlc_state_t state = libvlc_media_player_get_state( p_mlp->p_mi, p_e );
     return (state == libvlc_Opening) || (state == libvlc_Buffering) ||
-           (state == libvlc_Forward) || (state == libvlc_Backward) ||
            (state == libvlc_Playing);
 }
 
diff --git a/src/control/mediacontrol_core.c b/src/control/mediacontrol_core.c
index 9c13dbf..67a4cbe 100644
--- a/src/control/mediacontrol_core.c
+++ b/src/control/mediacontrol_core.c
@@ -380,12 +380,6 @@ mediacontrol_get_stream_information( mediacontrol_Instance *self,
         case libvlc_Stopped:
             retval->streamstatus = mediacontrol_StopStatus;
             break;
-        case libvlc_Forward:
-            retval->streamstatus = mediacontrol_ForwardStatus;
-            break;
-        case libvlc_Backward:
-            retval->streamstatus = mediacontrol_BackwardStatus;
-            break;
         case libvlc_Ended:
             retval->streamstatus = mediacontrol_EndStatus;
             break;




More information about the vlc-devel mailing list