From: Arnaud Vrac Date: Thu, 27 Sep 2012 21:17:49 +0000 (+0100) Subject: qtdemux: fix parsing in push mode when moov atom is at the end X-Git-Tag: 1.19.3~509^2~6490 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f0db4a8213c8b22634dd5d1f5f5eeba19d36aba2;p=platform%2Fupstream%2Fgstreamer.git 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 --- diff --git a/gst/isomp4/qtdemux.h b/gst/isomp4/qtdemux.h index 5d20470..467cf31 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 {