Skip to content

Commit

Permalink
changed api: changed some PVR_STREAM_PROPERTIES to int instead of uns…
Browse files Browse the repository at this point in the history
…igned, to match the field types in XBMC. bump version to 1.2.0
  • Loading branch information
opdenkamp committed Sep 2, 2012
1 parent 0f3f771 commit 97ddf52
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions xbmc/xbmc_pvr_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ struct DemuxPacket;
#define PVR_STREAM_MAX_STREAMS 20

/* current PVR API version */
#define XBMC_PVR_API_VERSION "1.1.0"
#define XBMC_PVR_API_VERSION "1.2.0"

/* min. PVR API version */
#define XBMC_PVR_MIN_API_VERSION "1.0.0"
#define XBMC_PVR_MIN_API_VERSION "1.2.0"

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -154,17 +154,17 @@ extern "C" {
unsigned int iCodecType; /*!< @brief (required) codec type id */
unsigned int iCodecId; /*!< @brief (required) codec id */
char strLanguage[4]; /*!< @brief (required) language id */
unsigned int iIdentifier; /*!< @brief (required) stream id */
unsigned int iFPSScale; /*!< @brief (required) scale of 1000 and a rate of 29970 will result in 29.97 fps */
unsigned int iFPSRate; /*!< @brief (required) FPS rate */
unsigned int iHeight; /*!< @brief (required) height of the stream reported by the demuxer */
unsigned int iWidth; /*!< @brief (required) width of the stream reported by the demuxer */
int iIdentifier; /*!< @brief (required) stream id */
int iFPSScale; /*!< @brief (required) scale of 1000 and a rate of 29970 will result in 29.97 fps */
int iFPSRate; /*!< @brief (required) FPS rate */
int iHeight; /*!< @brief (required) height of the stream reported by the demuxer */
int iWidth; /*!< @brief (required) width of the stream reported by the demuxer */
float fAspect; /*!< @brief (required) display aspect ratio of the stream */
unsigned int iChannels; /*!< @brief (required) amount of channels */
unsigned int iSampleRate; /*!< @brief (required) sample rate */
unsigned int iBlockAlign; /*!< @brief (required) block alignment */
unsigned int iBitRate; /*!< @brief (required) bit rate */
unsigned int iBitsPerSample; /*!< @brief (required) bits per sample */
int iChannels; /*!< @brief (required) amount of channels */
int iSampleRate; /*!< @brief (required) sample rate */
int iBlockAlign; /*!< @brief (required) block alignment */
int iBitRate; /*!< @brief (required) bit rate */
int iBitsPerSample; /*!< @brief (required) bits per sample */
} stream[PVR_STREAM_MAX_STREAMS]; /*!< @brief (required) the streams */
} ATTRIBUTE_PACKED PVR_STREAM_PROPERTIES;

Expand Down

0 comments on commit 97ddf52

Please sign in to comment.