mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
oggdemux: increase EOS granpos detection chunk size
This can be too small on some files to find a valid granule. https://bugzilla.gnome.org/show_bug.cgi?id=770314
This commit is contained in:
parent
14e02d127a
commit
6f856cb54d
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@
|
||||||
#define CHUNKSIZE (8500) /* this is out of vorbisfile */
|
#define CHUNKSIZE (8500) /* this is out of vorbisfile */
|
||||||
|
|
||||||
/* we hope we get a granpos within this many bytes off the end */
|
/* we hope we get a granpos within this many bytes off the end */
|
||||||
#define DURATION_CHUNK_OFFSET (64*1024)
|
#define DURATION_CHUNK_OFFSET (128*1024)
|
||||||
|
|
||||||
/* An Ogg page can not be larger than 255 segments of 255 bytes, plus
|
/* An Ogg page can not be larger than 255 segments of 255 bytes, plus
|
||||||
26 bytes of header */
|
26 bytes of header */
|
||||||
|
|
Loading…
Reference in a new issue