diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-10-13 13:08:33 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-10-13 13:08:33 +0200 |
commit | 50110d022d8ad2c17255446c143672ed261efd2f (patch) | |
tree | 56f55899615d85f437005189f0b0b0b8e1a42ea9 /gst/avi/gstavimux.c | |
parent | 87bd79f4babba5101d92e23f9c48374a43a712ee (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.c')
-rw-r--r-- | gst/avi/gstavimux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/avi/gstavimux.c b/gst/avi/gstavimux.c index 3b945ca9..59319cec 100644 --- a/gst/avi/gstavimux.c +++ b/gst/avi/gstavimux.c @@ -1773,7 +1773,7 @@ gst_avi_mux_do_buffer (GstAviMux * avimux, GstAviPad * avipad) /* need to restart or start a next avix chunk ? */ if ((avimux->is_bigfile ? avimux->datax_size : avimux->data_size) + - GST_BUFFER_SIZE (data) > 1024 * 1024 * 2000) { + GST_BUFFER_SIZE (data) > GST_AVI_MAX_SIZE) { if (avimux->enable_large_avi) { if ((res = gst_avi_mux_bigfile (avimux, FALSE)) != GST_FLOW_OK) return res; |