Missing workaround for http streams in qtdemux
Submitted by Milenko
Link to original bug (#796952)
Description
I have one MP4 file that plays fine when being played from the local harddrive but gstreamer fails to play it when it is being streamed from an http server (simple http download). qtdemux gives me a "This file is invalid and cannot be played" error in that case.
The file plays fine in all players i have tried so far but it's possible that the file is broken because it does not happen with other files i have.
However, someone added a workaround to qtdemux that makes this file playable from the harddrive.
This is the place where the workaround has been added for local files. The comment suggests that it might be related to broken tags
https://github.com/GStreamer/gst-plugins-good/blob/1.12.4/gst/isomp4/qtdemux.c#L743
This is the place where the error message is coming from when trying to play the file from the web
https://github.com/GStreamer/gst-plugins-good/blob/1.12.4/gst/isomp4/qtdemux.c#L6505
When i apply the workaround from the upper link also to the code from the lower link playback works for local and http files. I know it's a minor issue but IMO the behaviour should be the same for local and http files.
Version: 1.14.2