From f0db4a8213c8b22634dd5d1f5f5eeba19d36aba2 Mon Sep 17 00:00:00 2001 From: Arnaud Vrac Date: Thu, 27 Sep 2012 22:17:49 +0100 Subject: [PATCH] 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 --- gst/isomp4/qtdemux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/isomp4/qtdemux.h b/gst/isomp4/qtdemux.h index 5d20470901..467cf31bdc 100644 --- a/gst/isomp4/qtdemux.h +++ b/gst/isomp4/qtdemux.h @@ -112,7 +112,7 @@ struct _GstQTDemux { guint64 seek_offset; gboolean upstream_seekable; - gboolean upstream_size; + gint64 upstream_size; }; struct _GstQTDemuxClass {