[gst-devel] [SPAM] RTSP issue gst_rtspsrc_async_open and gst_rtspsrc_open

Felix crazylinux at 163.com
Mon Jan 17 06:43:53 CET 2011

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? Who  gst_rtspsrc_async_open been disabled in the
latest gstreamer release 

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!


#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) {
        ("Could not start async thread (%s).", error->message));
  timestamp(); printf("cnh01286::: gst_rtspsrc_async_open return\n");
  return res;
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/RTSP-issue-gst-rtspsrc-async-open-and-gst-rtspsrc-open-tp3220724p3220724.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110116/32938085/attachment.htm>

More information about the gstreamer-devel mailing list