qtdemux: fix parsing in push mode when moov atom is at the end

When playing an mp4 file with the MOOV atom at the end of the file, playback
fails with the error message "no 'moov' atom within the first 10 MB". This is
due to a mistake in the upstream_size typing, making the seek to the end of
file never happening.

https://bugzilla.gnome.org/show_bug.cgi?id=684972
This commit is contained in:
Arnaud Vrac 2012-09-27 22:17:49 +01:00 committed by Tim-Philipp Müller
parent 25803d651b
commit f0db4a8213

View file

@ -112,7 +112,7 @@ struct _GstQTDemux {
guint64 seek_offset;
gboolean upstream_seekable;
gboolean upstream_size;
gint64 upstream_size;
};
struct _GstQTDemuxClass {