[MPlayer-cvslog] r37305 - trunk/stream/stream_dvdnav.c
reimar
subversion at mplayerhq.hu
Sat Oct 25 01:01:03 CEST 2014
Author: reimar
Date: Sat Oct 25 01:01:02 2014
New Revision: 37305
Log:
stream_dvdnav.c: Fix compatibility with newer libdvdnav.
Modified:
trunk/stream/stream_dvdnav.c
Modified: trunk/stream/stream_dvdnav.c
==============================================================================
--- trunk/stream/stream_dvdnav.c Thu Oct 23 23:21:09 2014 (r37304)
+++ trunk/stream/stream_dvdnav.c Sat Oct 25 01:01:02 2014 (r37305)
@@ -38,6 +38,13 @@
#include "help_mp.h"
#include "stream_dvd_common.h"
+#ifndef DVDNAV_FORMAT_AC3
+#define DVDNAV_FORMAT_AC3 DVD_AUDIO_FORMAT_AC3
+#define DVDNAV_FORMAT_DTS DVD_AUDIO_FORMAT_DTS
+#define DVDNAV_FORMAT_LPCM DVD_AUDIO_FORMAT_LPCM
+#define DVDNAV_FORMAT_MPEGAUDIO DVD_AUDIO_FORMAT_MPEG
+#endif
+
/* state flags */
typedef enum {
NAV_FLAG_EOF = 1 << 0, /* end of stream has been reached */
More information about the MPlayer-cvslog
mailing list