Fix for issue 5070 gst incomplete file
authorayleph <ayleph@thisshitistemp.com>
Wed, 18 Nov 2015 04:56:31 +0000 (23:56 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 19 Nov 2015 22:05:25 +0000 (16:05 -0600)
commitba6d2d7e7842b42e5dee7cc48c8729aa020f6c94
tree68fcdad440301f0f2a880251e060d51db526fcf2
parent17eb7786b68c528085fb93f0d6bfd289153e485e
Fix for issue 5070 gst incomplete file

Seek tmp_media_file to 0 before attempting to discover the file type.
This prevents the following error when discovering mp4 video files.

"gst-stream-error-quark: This file is incomplete and cannot be played"
mediagoblin/media_types/__init__.py