Revert "resindvd: get rid of _stdint.h include"

This reverts commit 0eff6e1991.

Breaks the build when linking with dvdnav.h
This commit is contained in:
Luis de Bethencourt 2016-02-08 14:26:46 +00:00
parent bca503a2c4
commit e4467618f4
2 changed files with 7 additions and 5 deletions

View file

@ -1923,7 +1923,7 @@ rsn_dvdsrc_prepare_streamsinfo_event (resinDvdSrc * src)
audio_attr_t *a_attrs;
subp_attr_t *s_attrs;
gint n_audio, n_subp;
gint8 cur_audio;
int8_t cur_audio;
GstStructure *s;
GstEvent *e;
gint i;
@ -2264,7 +2264,7 @@ rsn_dvdsrc_enqueue_nav_block (resinDvdSrc * src, GstBuffer * nav_buf,
static void
rsn_dvdsrc_activate_nav_block (resinDvdSrc * src, GstBuffer * nav_buf)
{
gint32 forced_button;
int32_t forced_button;
{
GstMapInfo mmap;
@ -2461,7 +2461,7 @@ rsn_dvdsrc_post_title_info (GstElement * element)
resinDvdSrc *src = RESINDVDSRC (element);
GstMessage *message;
GstStructure *s;
gint32 n, ntitles;
int32_t n, ntitles;
int res;
GValue array = { 0 };
@ -2477,8 +2477,8 @@ rsn_dvdsrc_post_title_info (GstElement * element)
G_TYPE_STRING, "dvd-title-info", NULL);
for (n = 0; n < ntitles; ++n) {
guint64 *times, duration;
guint32 nchapters;
uint64_t *times, duration;
uint32_t nchapters;
GValue item = { 0 };
g_value_init (&item, G_TYPE_UINT64);

View file

@ -23,6 +23,8 @@
#include <gst/base/gstbasesrc.h>
#include "_stdint.h"
#include <dvdnav/dvdnav.h>
#include <dvdread/ifo_read.h>
#include <dvdread/nav_read.h>