rtspsrc: pausing does not flush buffers
Submitted by gud..@..il.com
Link to original bug (#631648)
Description
Created attachment 171927
log of pausing a rtsp (mp4a) session
Here is how I reproduced on gstreamer-0.10.29 / gst-plugins-good-0.10.22 / gst-plugins-bad-0.10.18
-
launching in cmdline: totem-gstreamer --gst-debug=3,faad:5
-
start play rtsp://rx-mep-ptest01.real.com/ptest/7/5/1/0/0/PF000202_200111000000157.M4A
-
play for couple seconds and pause
-
wait 5 seconds and resume
-
I am expecting faad incoming buffer timestamps are 5 seconds later than before pausing, but there are still some timestamps looks like generated before pausing, aka the buffers before pausing are not flushed.
Example see my attached log:
faad runs to 9second before pausing, after pausing about 5 seconds and resume, faad is still getting two buffers timestamped at 9seconds.
Attachment 171927, "log of pausing a rtsp (mp4a) session":
gstrtspfaad.log