summaryrefslogtreecommitdiffstats
path: root/gst/avi/gstavimux.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-10-13 13:08:33 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2009-10-13 13:08:33 +0200
commit50110d022d8ad2c17255446c143672ed261efd2f (patch)
tree56f55899615d85f437005189f0b0b0b8e1a42ea9 /gst/avi/gstavimux.h
parent87bd79f4babba5101d92e23f9c48374a43a712ee (diff)
avi: lower max file size
Make a constant of the max file size and lower the value to what ffmpeg does, hopefully improving compatibility with windows media player. See #597847
Diffstat (limited to 'gst/avi/gstavimux.h')
-rw-r--r--gst/avi/gstavimux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/avi/gstavimux.h b/gst/avi/gstavimux.h
index 3b392856..0cc69083 100644
--- a/gst/avi/gstavimux.h
+++ b/gst/avi/gstavimux.h
@@ -46,6 +46,9 @@ G_BEGIN_DECLS
/* this allows indexing up to 64GB avi file */
#define GST_AVI_SUPERINDEX_COUNT 32
+/* max size */
+#define GST_AVI_MAX_SIZE 0x40000000
+
typedef struct _gst_avi_superindex_entry {
guint64 offset;
guint32 size;