There is a asynchronous function named gst_rtspsrc_async_open right after gst_rtspsrc_open in gstrtspsrc.c. Could anybody tell me why this open operation is a synchronize now? Why gst_rtspsrc_async_open been disabled by '#if 0 ' in the latest gstreamer release
http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-0.10.26.tar.gz ?
Is that possible if I'd like to use the open in a way of async? Because sometimes the timeout is too long for application. It's 20s now!
thx.
#if 0
static gboolean
gst_rtspsrc_async_open (GstRTSPSrc * src)
{
GError *error = NULL;
gboolean res = TRUE;
timestamp(); printf("cnh01286::: gst_rtspsrc_async_open\n");
src->thread =
g_thread_create ((GThreadFunc) gst_rtspsrc_open, src, TRUE, &error);
if (error != NULL) {
GST_ELEMENT_ERROR (src, RESOURCE, INIT, (NULL),
("Could not start async thread (%s).", error->message));
}
timestamp(); printf("cnh01286::: gst_rtspsrc_async_open return\n");
return res;
}
#endif