Commit graph

99 commits

Author SHA1 Message Date
Stefan Kost 1d11da647f rtpmux: no need to ref pad in _chain() 2010-09-24 13:30:30 +03:00
Youness Alaoui 5cc57a82f0 rtpmux: Unlock the right mutex
The mutex locked is for the 'mux' object, but we unlock the
pad, which means that if the rtpmux gets a flush, then the
object lock will stay locked forever, causing it to freeze
the next time it tries to take it.

Fixes bug #627991
2010-08-30 15:15:50 +02:00
Olivier Crête d46275c37f rtpmux: Add support for GstBufferList
Factor out most of the buffer handling and implement a chain_list
function. Also, the DTMF muxer has been modified to just have a
function to accept or reject a buffer instead of having to subclass
both chain and chain_list.
2010-07-02 00:15:49 -04:00
Olivier Crête 5d21b0815a rtpmux: Don't leak invalid buffers 2010-07-02 00:15:49 -04:00
Tim-Philipp Müller ca5893e804 rtpmux: fix missing debug log message argument 2010-06-03 10:43:20 +01:00
Olivier Crête 63c509b13e rtpdtmfmux: Add some debug messages 2010-06-02 20:47:08 -04:00
Olivier Crête 2a39f410c1 rtpdtmfmux: Remove stream-lock event handling 2010-06-02 20:47:08 -04:00
Olivier Crête e884e70f8e rtpdtmfmux: Update doc for simplification 2010-06-02 20:47:08 -04:00
Olivier Crête 136d4688c0 rtpdtmfmux: Drop buffers on non-priority sinks when something is incoming on the priority sink 2010-06-02 20:47:08 -04:00
Olivier Crête 3f3f72889a rtpdtmfmux: Add priority sink pads 2010-06-02 20:47:08 -04:00
Olivier Crête 60b4c4ef4b rtpdtmfmux: Cleanup event function 2010-06-02 20:47:07 -04:00
Olivier Crête 68df62aa55 rtpmux: Aggregate incoming segments 2010-06-02 20:47:07 -04:00
Olivier Crête e967023810 rtpdtmfmux: Update documentation 2010-06-02 20:47:07 -04:00
Olivier Crête 1c03b56146 rtpmux: Simplify request pad creation 2010-06-02 20:47:07 -04:00
Benjamin Otte 775c7584fd gst_element_class_set_details => gst_element_class_set_details_simple 2010-03-18 22:46:41 +01:00
unknown 397da35350 rtpmux: update the current_ssrc from the caps
Fixes #604101
2009-12-09 15:00:53 +01:00
Håvard Graff 97ef05cbac rtpmux: release pads when disposing
Because of an allocated priv (GstRTPMuxPadPrivate), the element will
leak memory if not gst_rtp_mux_release_pad() is called. This would
previously only happen if release_request_pad() was called explicitly,
somthing that should not be neccesary.

Fixes #604099
2009-12-09 14:47:00 +01:00
Wim Taymans b678101611 dtmfmux: method name cleanups 2009-12-09 14:47:00 +01:00
Tim-Philipp Müller c49cdd59ff Clean up LDFLAGS, LIBS, CFLAGS
Fix order, fix variables that don't exist, like GST_LIBS_LIBS,
use $(LIBM) instead of -lm, and move _LIBS from LDFLAGS to LIBADD.

Spotted by Havard Graff.
2009-11-22 19:30:58 +00:00
Olivier Crête 8d90ad76c9 rtpmux: Don't ignore requested pad name 2009-10-30 19:08:14 +00:00
Olivier Crête 0672f2d9b2 rtpmux: Remove empty finalize 2009-07-29 17:24:59 -04:00
Olivier Crête d555d570e6 rtpmux: Free the pad private data on pad release
Free the pad private data on pad release instead of using a weak ref,
which is not thread safe. Also, lock the content of the pad private using the element's
object lock.
2009-07-22 14:19:57 -04:00
Olivier Crête 3a4c9c990a rtpmux: Reject wrong caps 2009-04-28 16:28:40 -04:00
Olivier Crête 6c4eeff781 rtpmux: Fix leak
Fixed a leak discovered by Laurent Glayal <spegle@yahoo.fr>
2009-04-28 16:03:49 -04:00
Olivier Crête 905aad3572 rtpmux: Fix leak
Fixed a leak discovered by Laurent Glayal <spegle@yahoo.fr>
2009-04-28 15:59:37 -04:00
Olivier Crête 962f9173f2 rtpmux: Fix warning 2009-04-22 18:01:07 -04:00
Olivier Crête 74e0724acf rtpmux: Set different caps depending on the input 2009-04-22 16:29:44 -04:00
Olivier Crête 098b75c2f2 rtpmux: Only free pad private when pad is disposed 2009-04-22 16:26:08 -04:00
Olivier Crête 9c014d0013 rtpmux: Remove useless caps mangling 2009-04-20 20:24:17 -04:00
Olivier Crête edd3717150 rtpmux: Rename variable for more clarity 2009-04-20 20:23:39 -04:00
Olivier Crête 655a3d125a rtpmux: Use GST_BOILERPLATE 2009-04-20 20:23:37 -04:00
Olivier Crête 5af0efd1d3 rtpmux: Do the includes locally 2009-04-20 20:23:02 -04:00
Olivier Crête d8ba5624ce rtpmux: Add GST_DEBUG_FUNCPTRs 2009-04-15 13:23:01 -04:00
Olivier Crête 66fca81e23 rtpdtmfmux: Release locked pad on release_pad
Release the special pad if the pad is removed from the muxer.
2009-04-15 13:15:55 -04:00
Laurent Glayal 65cb85316b rtpdtmfmux: Release special on pad dispose
Fixes #577690
2009-04-15 13:11:32 -04:00
Stefan Kost a7a97b9139 Makefile.am: no static libs for plugins 2009-03-22 21:02:45 +02:00
Stefan Kost 53f975f63c docs: various doc fixes
No short-desc as we have them in the element details.
Also keep things (Makefile.am and sections.txt) sorted.
Reword ambigous returns. No text after since please.
2009-02-25 12:42:36 +02:00
Olivier Crête 00a155333c Moved rtpmux from gst-p-farsight to -bad 2009-02-21 17:50:35 +01:00
Olivier Crête ad4d98d70c Re-indent to Gst style 2009-02-21 17:48:57 +01:00
Olivier Crête fe071273c4 [MOVED FROM GST-P-FARSIGHT] Document rtp muxer a bit 2009-02-21 17:48:57 +01:00
Laurent Glayal 0bff57a395 [MOVED FROM GST-P-FARSIGHT] Add signals before stream lock and after unlocking 2009-02-21 17:48:57 +01:00
Olivier Crête a34534df79 [MOVED FROM GST-P-FARSIGHT] Let ssrc through getcaps 2009-02-21 17:48:57 +01:00
Olivier Crête 2c83849849 [MOVED FROM GST-P-FARSIGHT] Rename have_base to have_ts_base 2009-02-21 17:48:57 +01:00
Olivier Crête 7a222b560e [MOVED FROM GST-P-FARSIGHT] Protect the seqnum with object lock in rtpmux 2009-02-21 17:48:57 +01:00
Olivier Crête d0c7c0fc6c [MOVED FROM GST-P-FARSIGHT] Remove unused sink_ts_base 2009-02-21 17:48:57 +01:00
Olivier Crête f5a8eb59af [MOVED FROM GST-P-FARSIGHT] Have getcaps to force the same clockrate on all pads 2009-02-21 17:48:57 +01:00
Olivier Crête 44b6071bd7 [MOVED FROM GST-P-FARSIGHT] Validate RTP data in RTP Mux 2009-02-21 17:48:56 +01:00
Olivier Crête 4bfd3b4561 [MOVED FROM GST-P-FARSIGHT] Remove unused clock-rate property 2009-02-21 17:48:56 +01:00
Olivier Crête 10f623547f [MOVED FROM GST-P-FARSIGHT] Clarify locking in rtpdtmfmux 2009-02-21 17:48:56 +01:00
Laurent Glayal 31ba19c159 [MOVED FROM GST-P-FARSIGHT] Missing format parameter 2009-02-21 17:48:56 +01:00