]> git.sesse.net Git - vlc/blobdiff - include/vlc/mediacontrol_structures.h
libvlc: document that libvlc_new() MUST have a program path in argv[0]
[vlc] / include / vlc / mediacontrol_structures.h
index 82c621e2a190a5491f05006fdb6dde737fcf091e..8d7f9b850212b682e880b39256ce7348990f928d 100644 (file)
@@ -34,6 +34,8 @@
 extern "C" {
 # endif
 
+#include <stdint.h>
+
 /**
  * A position may have different origins:
  *  - absolute counts from the movie start
@@ -74,7 +76,7 @@ typedef enum {
 typedef struct {
     mediacontrol_PositionOrigin origin;
     mediacontrol_PositionKey key;
-    long value;
+    vlc_int64_t value;
 } mediacontrol_Position;
 
 /**
@@ -84,7 +86,7 @@ typedef struct {
 typedef struct {
     int  width;
     int  height;
-    long type;
+    uint32_t type;
     vlc_int64_t date;
     int  size;
     char *data;
@@ -120,8 +122,8 @@ typedef struct {
 typedef struct {
     mediacontrol_PlayerStatus streamstatus;
     char *url;         /* The URL of the current media stream */
-    vlc_int64_t position;     /* actual location in the stream (in ms) */
-    vlc_int64_t length;         /* total length of the stream (in ms) */
+    vlc_int64_t position;  /* actual location in the stream (in ms) */
+    vlc_int64_t length;    /* total length of the stream (in ms) */
 } mediacontrol_StreamInformation;