[Bug 707605] Need "reverse-funnel" element

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Oct 12 09:30:37 CEST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=707605
  GStreamer | gstreamer (core) | git

--- Comment #45 from HoonHee Lee <hoonh83.lee at gmail.com> 2013-10-12 07:30:29 UTC ---
Created an attachment (id=257087)
 View: https://bugzilla.gnome.org/attachment.cgi?id=257087
 Review: https://bugzilla.gnome.org/review?bug=707605&attachment=257087

Add streamid-demuxer element

Most of all, I just updated streamiddemux element.
please check and review my patch.


I have an issue for test with streamiddemux.c
I added release code for all pads and elements in streamiddemux.c
but, when I called gst_element_set_state (td->demux, GST_STATE_NULL),
below message printed always.
"GLib (gthread-posix.c): Unexpected error from C library during
'pthread_mutex_lock': Invalid argument.  Aborting."

below message is debug level 5 for this.
--------------------------------------------------------------
0:00:00.505914613 21392      0x11ae830 DEBUG             GST_STATES
gstelement.c:2639:gst_element_change_state:<streamiddemux0> element changed
state SUCCESS
0:00:00.505936000 21392      0x11ae830 INFO              GST_STATES
gstelement.c:2306:gst_element_continue_state:<streamiddemux0> committing state
from PAUSED to READY, pending NULL, next NULL
0:00:00.505960300 21392      0x11ae830 INFO              GST_STATES
gstelement.c:2236:_priv_gst_element_state_changed:<streamiddemux0> notifying
about state-changed PAUSED to READY (NULL pending)
0:00:00.505986289 21392      0x11ae830 DEBUG            GST_MESSAGE
gstelement.c:1700:gst_element_post_message_default:<streamiddemux0> not posting
message 0x11bab40: no bus
0:00:00.506010445 21392      0x11ae830 INFO              GST_STATES
gstelement.c:2313:gst_element_continue_state:<streamiddemux0> continue state
change READY to NULL, final NULL
0:00:00.506034076 21392      0x11ae830 DEBUG       GST_ELEMENT_PADS
gstelement.c:2743:gst_element_pads_activate:<streamiddemux0> deactivate pads
0:00:00.506059348 21392      0x11ae830 DEBUG               GST_PADS
gstpad.c:962:gst_pad_set_active:<streamiddemux0:sink> pad was inactive
0:00:00.506081905 21392      0x11ae830 DEBUG       GST_ELEMENT_PADS
gstelement.c:2762:gst_element_pads_activate:<streamiddemux0> pad deactivation
successful
0:00:00.506104708 21392      0x11ae830 DEBUG             GST_STATES
gstelement.c:2639:gst_element_change_state:<streamiddemux0> element changed
state SUCCESS
0:00:00.506125717 21392      0x11ae830 INFO              GST_STATES
gstelement.c:2331:gst_element_continue_state:<streamiddemux0> completed state
change to NULL
0:00:00.506147680 21392      0x11ae830 INFO              GST_STATES
gstelement.c:2236:_priv_gst_element_state_changed:<streamiddemux0> notifying
about state-changed READY to NULL (VOID_PENDING pending)
0:00:00.506173579 21392      0x11ae830 DEBUG            GST_MESSAGE
gstelement.c:1700:gst_element_post_message_default:<streamiddemux0> not posting
message 0x11bacc0: no bus
0:00:00.506198098 21392      0x11ae830 DEBUG             GST_STATES
gstelement.c:2566:gst_element_set_state_func:<streamiddemux0> returned SUCCESS
0:00:00.506314582 21392      0x11ae830 DEBUG        GST_REFCOUNTING
gstpad.c:605:gst_pad_dispose:<'':src_3> dispose
0:00:00.506339599 21392      0x11ae830 DEBUG               GST_PADS
gstpad.c:5001:gst_pad_send_event_unchecked:<streamiddemux0:sink> sent event,
ret ok
0:00:00.506362813 21392      0x11ae830 DEBUG               GST_PADS
gstpad.c:4545:store_sticky_event:<streamiddemux0:sink> pad is flushing
0:00:00.506384161 21392      0x11ae830 INFO               GST_EVENT
gstpad.c:5033:gst_pad_send_event_unchecked:<streamiddemux0:sink> Received event
on flushing pad. Discarding
GLib (gthread-posix.c): Unexpected error from C library during
'pthread_mutex_lock': Invalid argument.  Aborting.
0%: Checks: 1, Failures: 0, Errors: 1
elements/streamiddemux.c:58:E:streamiddemux simple:test_streamiddemux_simple:0:
(after this point) Received signal 6 (Aborted)
------------------------------------------------------------------

So, I am not sure that stremiddemux element has problem or my test code
(streamiddemux.c) has problem.
And another thet code is working fine without streamsynchronizer.
(http://gstreamer-devel.966125.n4.nabble.com/I-am-wondering-that-streamsynchronizer-is-only-for-1-video-and-1-audio-and-1-text-tc4662414.html)

Also, I am wondering that my test code (streamiddemux.c) is proper approach or
not for unit test?

please give me some advice or information.

-- 
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