--- gsthdv1394src.c	2012-10-25 08:55:46.000000000 -0200
+++ new_gsthdv1394src.c	2013-10-17 15:27:36.128415557 -0300
@@ -562,6 +562,23 @@
   raw1394_set_userdata (src->handle, src);
   raw1394_set_bus_reset_handler (src->handle, gst_hdv1394src_bus_reset);
 
+  {
+      nodeid_t m_node = (src->avc_node | 0xffc0);
+      int m_channel = -1;
+      int m_bandwidth = 0;
+      int m_outputPort = -1;
+      int m_inputPort = -1;
+
+      m_channel = iec61883_cmp_connect( src->handle, m_node, &m_outputPort,
+                            raw1394_get_local_id( src->handle ), &m_inputPort, &m_bandwidth );
+
+      if( m_channel >= 0 )
+      {
+          src->channel = m_channel;
+      }
+  }
+
+
   if ((src->iec61883mpeg2 =
           iec61883_mpeg2_recv_init (src->handle,
               gst_hdv1394src_iec61883_receive, src)) == NULL)
