qtmux can't handle missing DTS
Submitted by Sam Duke
Link to original bug (#758949)
Description
So using an rtsp connection over TCP I end up with no DTS in my stream. When I try to save this to an mp4 file, I get an corrupted mp4. Switching to UDP works fine.
My setup is described in this bug: https://bugzilla.gnome.org/show_bug.cgi?id=758932
To summarise,
gst-rtsp-server-1.0/examples/test-launch "( videotestsrc is_live=true ! x264enc ! video/x-h264,width=1296,height=972,framerate=25/1 ! h264parse ! rtph264pay pt=96 name=pay0 )"
./gst-launch-1.0 -e rtspsrc location=rtspt://127.0.0.1:8554/test ! rtph264depay ! h264parse ! mp4mux ! filesink location=~/Downloads/localtest1.mp4
The file will not play and shows only the first frame.
I believe the error is in 'gst_qt_pad_adjust_buffer_dts'.