[gst-devel] About some code segments in hdv1394src plugin

liangzhihong1984 liangzhihong1984 at 126.com
Mon Mar 30 07:55:37 CEST 2009


Hi, everyone.
I was learning how to write a plugin.
when I study the source code of hdv1394src, some code really confused me.
 
  if (iec61883_mpeg2_recv_start (src->iec61883mpeg2, src->channel) != 0)
    goto cannot_start;
#if 0
  if (raw1394_start_iso_rcv (src->handle, src->channel) < 0)
    goto cannot_start;
#endif
 
So when should I use the iec61883_mpeg2_recv_start and when should raw1394_start_iso_rcv, can anybody explain?
 
Thank you in advance.
Best Regards, 
Leon Liang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090330/46a0efc7/attachment.htm>


More information about the gstreamer-devel mailing list