]> git.sesse.net Git - vlc/blobdiff - include/vlc_devices.h
transcode: Measure the time taken to encode one audio or video frame.
[vlc] / include / vlc_devices.h
index d3c98717fd7d739c4da3f10632bde7b66de3da63..cd20320e2e5528608d7445cbfae70160a811a223 100644 (file)
@@ -2,7 +2,7 @@
  * vlc_devices.h : Devices handling
  *****************************************************************************
  * Copyright (C) 1999-2006 the VideoLAN team
- * $Id: vlc_input.h 15915 2006-06-15 21:22:35Z zorglub $
+ * $Id$
  *
  * Authors: ClĂ©ment Stenac <zorglub@videolan.org>
  *
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
-#if 0
+
+#if !defined( __LIBVLC__ )
+  #error You are not libvlc or one of its plugins. You cannot include this file
+#endif
+
 #ifndef _VLC_DEVICES_H
 #define _VLC_DEVICES_H 1
 
@@ -41,7 +45,7 @@ struct device_t
 {
     int             i_capabilities;
     int             i_media_type;
-    vlc_bool_t      b_seen;
+    bool      b_seen;
     char *psz_uri;
     char *psz_name;
 };
@@ -61,4 +65,3 @@ static inline void device_GetDVD(void)
 }
 
 #endif
-#endif