After a seek mark all streams with discont as it was said in the debug line.
Fixes that buffers after a seek are generated without a valid timestamp.
gboolean update;
gboolean playing;
GstSegment seeksegment = { 0, };
+ GList *walk;
if (event) {
GST_DEBUG_OBJECT (src, "doing seek with event");
/* mark discont */
GST_DEBUG_OBJECT (src, "mark DISCONT, we did a seek to another position");
+ for (walk = src->streams; walk; walk = g_list_next (walk)) {
+ GstRTSPStream *stream = (GstRTSPStream *) walk->data;
+ stream->discont = TRUE;
+ }
GST_RTSP_STREAM_UNLOCK (src);