]> git.sesse.net Git - vlc/blobdiff - include/stream_control.h
* modules/video_output/x11/*: fixed video resizing when using an external parent...
[vlc] / include / stream_control.h
index 095efa901051086eb4532f79f9dc2022e6e72345..9a14f896d2c16861a2e7872f8248d94c60e1a649 100644 (file)
@@ -4,7 +4,7 @@
  * of the reading.
  *****************************************************************************
  * Copyright (C) 1999, 2000 VideoLAN
- * $Id: stream_control.h,v 1.9 2002/07/20 18:01:41 sam Exp $
+ * $Id: stream_control.h,v 1.12 2004/01/25 18:17:08 zorglub Exp $
  *
  * Authors: Christophe Massiot <massiot@via.ecp.fr>
  *
@@ -12,7 +12,7 @@
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
@@ -43,19 +43,20 @@ struct stream_ctrl_t
 
     vlc_bool_t              b_mute;
     vlc_bool_t              b_grayscale;           /* use color or grayscale */
-    int                     i_smp; /* number of symmetrical threads to launch
-                                    * to decode the video | 0 == disabled    */
 };
 
 /* Possible status : */
-#define UNDEF_S             0
-#define PLAYING_S           1
-#define PAUSE_S             2
-#define FORWARD_S           3
-#define BACKWARD_S          4
-#define REWIND_S            5                /* Not supported for the moment */
-#define NOT_STARTED_S       10
-#define START_S             11
+enum stream_status_e
+{
+    UNDEF_S         = 0,
+    PLAYING_S       = 1,
+    PAUSE_S         = 2,
+    FORWARD_S       = 3,
+    BACKWARD_S      = 4,
+
+    INIT_S          = 10,
+    END_S           = 11
+};
 
 #define DEFAULT_RATE        1000
 #define MINIMAL_RATE        31              /* Up to 32/1 */