Commit ae87215a authored by Christophe Mutricy's avatar Christophe Mutricy

Include stdint.h for uint32_t. i'm not sure how portable it is and how to make...

Include stdint.h for uint32_t. i'm not sure how portable it is and how to make it better without including config.h
parent 2c596196
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
extern "C" { extern "C" {
# endif # endif
#include <stdint.h>
/** /**
* A position may have different origins: * A position may have different origins:
* - absolute counts from the movie start * - absolute counts from the movie start
...@@ -85,7 +87,7 @@ typedef struct { ...@@ -85,7 +87,7 @@ typedef struct {
int width; int width;
int height; int height;
uint32_t type; uint32_t type;
int64_t date; vlc_int64_t date;
int size; int size;
char *data; char *data;
} mediacontrol_RGBPicture; } mediacontrol_RGBPicture;
...@@ -120,8 +122,8 @@ typedef struct { ...@@ -120,8 +122,8 @@ typedef struct {
typedef struct { typedef struct {
mediacontrol_PlayerStatus streamstatus; mediacontrol_PlayerStatus streamstatus;
char *url; /* The URL of the current media stream */ char *url; /* The URL of the current media stream */
int64_t position; /* actual location in the stream (in ms) */ vlc_int64_t position; /* actual location in the stream (in ms) */
int64_t length; /* total length of the stream (in ms) */ vlc_int64_t length; /* total length of the stream (in ms) */
} mediacontrol_StreamInformation; } mediacontrol_StreamInformation;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment