[Bug 726325] RFC: Add tunneling support.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Mar 18 05:02:58 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=726325
  GStreamer | gst-omx | git

--- Comment #19 from Julien Isorce <julien.isorce at gmail.com> 2014-03-18 12:27:20 UTC ---
Review of attachment 271865:
 --> (https://bugzilla.gnome.org/review?bug=726325&attachment=271865)

::: omx/gstomx.c
@@ +2001,3 @@
+    g_mutex_unlock (&tunneled->comp->lock);
+  }
+

When tunneling, does it mean gst_omx_port_set_enabled_unlocked will be called
twice on each port when tunneled ?
I mean in the case of tunneling element1 ! element2 then element1 will enable
its output port and the peer. And the element2 will enable its input port and
the peer. So total would be 4 call to gst_omx_port_set_enabled_unlocked, 2 for
each omx port.

@@ +2194,3 @@
+    g_mutex_unlock (&tunneled->comp->lock);
+  }
+

When tunneling, could it lead to a dead lock ? each port waiting for the other
to be enabled ? (omxelem1 ! omxelem2)

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list