Source

pygame / src / _gmovie.h

Diff from to

File src/_gmovie.h

 
 #define BPP 1
 
+
+#define PYG_MEDIA_TYPE_VIDEO AVMEDIA_TYPE_VIDEO
+#define PYG_MEDIA_TYPE_AUDIO AVMEDIA_TYPE_AUDIO
+#define PYG_MEDIA_TYPE_SUBTITLE AVMEDIA_TYPE_SUBTITLE
+
+/*
+#define PYG_MEDIA_TYPE_AUDIO CODEC_TYPE_AUDIO
+#define PYG_MEDIA_TYPE_VIDEO CODEC_TYPE_VIDEO
+#define PYG_MEDIA_TYPE_SUBTITLE CODEC_TYPE_SUBTITLE
+*/
+
+
+
+
+/*
+#ifdef AVMEDIA_TYPE_AUDIO
+    #define PYG_MEDIA_TYPE_AUDIO AVMEDIA_TYPE_AUDIO
+#endif
+#if defined(CODEC_TYPE_AUDIO)
+    #define PYG_MEDIA_TYPE_AUDIO CODEC_TYPE_AUDIO
+#endif
+
+#if defined(AVMEDIA_TYPE_VIDEO)
+    #define PYG_MEDIA_TYPE_VIDEO AVMEDIA_TYPE_VIDEO
+#endif
+#if defined(CODEC_TYPE_VIDEO)
+    #define PYG_MEDIA_TYPE_VIDEO CODEC_TYPE_VIDEO
+#endif
+
+#if defined(AVMEDIA_TYPE_SUBTITLE)
+    #define PYG_MEDIA_TYPE_SUBTITLE AVMEDIA_TYPE_SUBTITLE
+#endif
+#if defined(CODEC_TYPE_SUBTITLE)
+    #define PYG_MEDIA_TYPE_SUBTITLE CODEC_TYPE_SUBTITLE
+#endif
+*/
+
+
+
+
 //enables profiling info to be gathered
 //#define PROFILE 1