Do not spam the user if no length available
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 22 Feb 2009 17:15:23 +0000 (17:15 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 22 Feb 2009 17:15:23 +0000 (17:15 +0000)
Do not spam the user if no length available from gstreamer. This is the case
for webcams, streaming audio and video etc.

By: Lars Munch <lars@segv.dk>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@39146 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/gstreamer/emotion_gstreamer.c

index d528dea..b76eb25 100644 (file)
@@ -605,8 +605,6 @@ em_len_get(void *video)
    return val / 1000000000.0;
 
  fallback:
-   fputs("Gstreamer reported no length, try existing sinks...\n", stderr);
-
    ecore_list_first_goto(ev->audio_sinks);
    while ((asink = ecore_list_next(ev->audio_sinks)) != NULL)
      if (asink->length_time >= 0)