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
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)