fix for API < v3, thanks to pieter
authorFelix Domke <tmbinc@elitedvb.net>
Mon, 30 Oct 2006 21:36:43 +0000 (21:36 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Mon, 30 Oct 2006 21:36:43 +0000 (21:36 +0000)
lib/dvb/decoder.cpp

index 6b4a7f25ba2021f34d03e6d20c44c7d373cab223..50934c711cacdceadb8bf82c44aab76977d91829 100644 (file)
@@ -9,8 +9,10 @@
 #define videoStreamSource_t video_stream_source_t
 #define streamSource stream_source
 #define dmxPesFilterParams dmx_pes_filter_params
 #define videoStreamSource_t video_stream_source_t
 #define streamSource stream_source
 #define dmxPesFilterParams dmx_pes_filter_params
-#define DMX_PES_VIDEO DMX_PES_VIDEO0
-#define DMX_PES_AUDIO DMX_PES_AUDIO0
+#define DMX_PES_VIDEO0 DMX_PES_VIDEO
+#define DMX_PES_AUDIO0 DMX_PES_AUDIO
+#define DMX_PES_VIDEO1 DMX_PES_VIDEO
+#define DMX_PES_AUDIO1 DMX_PES_AUDIO
 #include <ost/dmx.h>
 #include <ost/video.h>
 #include <ost/audio.h>
 #include <ost/dmx.h>
 #include <ost/video.h>
 #include <ost/audio.h>