--- rtsp-client.c.orig	2010-06-09 17:49:39.000000000 +0200
+++ rtsp-client.c	2010-06-10 13:03:43.000000000 +0200
@@ -502,6 +502,14 @@
   if (!session)
     goto no_session;
 
+  /* check whether the uri does not include '/stream=0' at the end */
+  /* this is a Bug in XDA Diamond devices - Windows Mobile */
+  gchar *where = g_strrstr (uri->abspath, "/stream=0");
+  if (where) {
+    *where = '\0';
+  }
+  g_message ("current URL: %s\n", uri->abspath);
+
   /* get a handle to the configuration of the media in the session */
   media = gst_rtsp_session_get_media (session, uri);
   if (!media)
@@ -566,6 +574,14 @@
   if (!session)
     goto no_session;
 
+  /* check whether the uri does not include '/stream=0' at the end */
+  /* this is a Bug in XDA Diamond devices - Windows Mobile */
+  gchar *where = g_strrstr (uri->abspath, "/stream=0");
+  if (where) {
+    *where = '\0';
+  } 
+  g_message ("current URL: %s\n", uri->abspath);      
+
   /* get a handle to the configuration of the media in the session */
   media = gst_rtsp_session_get_media (session, uri);
   if (!media)
