Tim-Philipp Müller [Sat, 29 Aug 2009 11:05:40 +0000 (12:05 +0100)]
Release 0.10.16
Tim-Philipp Müller [Tue, 25 Aug 2009 23:58:45 +0000 (00:58 +0100)]
0.10.15.5 pre-release
Wim Taymans [Tue, 25 Aug 2009 14:53:29 +0000 (16:53 +0200)]
pulsesink: don't use relative seeks
Don't use relative seeks, it's too hard to track where we are after a flush
etc.
fixes #593015
Tim-Philipp Müller [Mon, 24 Aug 2009 16:50:29 +0000 (17:50 +0100)]
0.10.15.4 pre-release
Wim Taymans [Mon, 24 Aug 2009 14:22:47 +0000 (16:22 +0200)]
pulsesrc: don't discard the result of _set_caps()
Use the result of gst_pad_set_caps() instead of assuming success.
See #590678
Wim Taymans [Fri, 21 Aug 2009 09:44:43 +0000 (11:44 +0200)]
qtdemux: add support for agsm
Fixes #592530
Mark Nauwelaerts [Tue, 18 Aug 2009 15:16:11 +0000 (17:16 +0200)]
qtdemux: fix qt style string tag extraction
QT style tags are tested on starting with (C) symbol using >>,
and (unsigned) int (may) have different >> behaviour.
Fixes #592232.
Tim-Philipp Müller [Mon, 17 Aug 2009 14:48:20 +0000 (15:48 +0100)]
smokeenc: don't crash when compiled against libjpeg7
Set parameters so that we don't crash with libjpeg7. Based on
Stefan Kost's fix for jpegenc. Fixes #591951.
Tim-Philipp Müller [Fri, 14 Aug 2009 19:18:04 +0000 (20:18 +0100)]
0.10.15.3 pre-release
Tim-Philipp Müller [Fri, 14 Aug 2009 12:45:08 +0000 (13:45 +0100)]
checks: add test for leak to rtpbin unit test
See #591476.
Olivier Crête [Tue, 11 Aug 2009 18:47:12 +0000 (14:47 -0400)]
rtpbin: Fix reference leak
Fixes #591476.
Zaheer Merali [Fri, 14 Aug 2009 12:34:53 +0000 (13:34 +0100)]
dvdec: set bottom field first on PAL interlaced content, not top field first
DV interlaced content is always bottom field first. Fixes #591712.
Hans de Goede [Fri, 14 Aug 2009 11:44:06 +0000 (12:44 +0100)]
v4l2src: fix 'hang' with some cameras caused by bad timestamping if no framerate is available
For cameras/drivers that don't support e.g. VIDIOC_G_PARM we'd end up without
a framerate and would try to divide by 0, causing run-time warnings and all
frames to be timestamped with 0, which makes sinks that sync against the clock
drop them, causing 'hangs' (observed with the pwc driver and a Logitech QuickCam
Pro 4000). So if we do not know the framerate, simply don't adjust the
timestamps. Fixes #591451.
Filippo Argiolas [Fri, 14 Aug 2009 08:11:25 +0000 (10:11 +0200)]
v4l2src: clear format list in READY->NULL
Clear format list and probed caps when going to NULL so if a new device
is set we'll probe the formats again instead of using previously
detected ones. Fixes bug #591747.
Tim-Philipp Müller [Tue, 11 Aug 2009 16:30:41 +0000 (17:30 +0100)]
0.10.15.2 pre-release
Tim-Philipp Müller [Tue, 11 Aug 2009 14:25:39 +0000 (15:25 +0100)]
Add myself to MAINTAINERS file and update Wim's e-mail.
Tim-Philipp Müller [Tue, 11 Aug 2009 02:08:01 +0000 (03:08 +0100)]
v4l2: fix make distcheck by disting some more headers
Tim-Philipp Müller [Tue, 11 Aug 2009 01:42:16 +0000 (02:42 +0100)]
docs: update
Tim-Philipp Müller [Tue, 11 Aug 2009 01:31:44 +0000 (02:31 +0100)]
Move rtpmanager from -bad to -good.
Hook up build infrastructure (autotools, docs, unit test).
ric [Thu, 6 Aug 2009 17:26:21 +0000 (19:26 +0200)]
rtpsource: avoid buffer leak on bad seqnum
Fixes #590797
Wim Taymans [Tue, 28 Jul 2009 16:18:20 +0000 (18:18 +0200)]
rtpsource: allow for NULL caps on buffers
Add the NULL caps check where it matters and also cover another case of
potential NULL caps.
Fixes #590030
Olivier Crête [Tue, 28 Jul 2009 15:59:56 +0000 (11:59 -0400)]
rtpsource: Incoming buffers do not always have caps
Wim Taymans [Mon, 27 Jul 2009 13:46:23 +0000 (15:46 +0200)]
rtpsession: avoid doing lip-sync in BYE
When we get a BYE packet, don't do lip-sync with the SR inside because some
senders have trouble constructing valid SR packets after BYE.
Wim Taymans [Mon, 27 Jul 2009 11:17:20 +0000 (13:17 +0200)]
rtpbin: don't do lip-sync after a BYE
After a BYE packet from a source, stop forwarding the SR packets for lip-sync
to rtpbin. Some senders don't update their SR packets correctly after sending a
BYE and then we break lip-sync. We prefer to let the jitterbuffers drain with
the current lip-sync instead.
Wim Taymans [Mon, 27 Jul 2009 10:43:02 +0000 (12:43 +0200)]
rtpbin: only reconsider once for BYE
When iterating the sources of a BYE packet, don't signal a reconsideration for
each of them but signal after we handled all sources.
Olivier Crête [Tue, 21 Jul 2009 19:33:41 +0000 (15:33 -0400)]
rtpsession: Free conflicting addresses on finalize
Wim Taymans [Wed, 1 Jul 2009 10:55:03 +0000 (12:55 +0200)]
rtpbin: use new method for netaddress to string
Wim Taymans [Mon, 29 Jun 2009 16:48:33 +0000 (18:48 +0200)]
rtpbin: do better cleanup of the src ghostpads
Connect to the pad-removed signal of the ptdemux elements so that we remove the
ghostpads for them. Fixes cleanup when going to NULL as well as when releasing
the sinkpads.
Fixes #561752
Wim Taymans [Thu, 28 May 2009 17:08:40 +0000 (19:08 +0200)]
rtpsession: add a comment
Wim Taymans [Mon, 29 Jun 2009 14:37:54 +0000 (16:37 +0200)]
rtpbin: add SDES property
Remove all individual SDES properties and use one sdes property that takes a
GstStructure instead. This will allow us to add more custom stuff to the SDES
messages later.
Wim Taymans [Mon, 29 Jun 2009 14:21:05 +0000 (16:21 +0200)]
rtpbin: add SDES property that takes GstStructure
Remove all individual SDES properties and use one sdes property that takes a
GstStructure instead. This will allow us to add more custom stuff to the SDES
messages later.
Wim Taymans [Tue, 2 Jun 2009 15:46:08 +0000 (17:46 +0200)]
rtpbin: removed old gstrtpclient
Branko Subasic [Fri, 19 Jun 2009 17:09:19 +0000 (19:09 +0200)]
rtpbin: add support for buffer-list
Add support for sending buffer-lists.
Add unit test for testing that the buffer-list passed through rtpbin.
fixes #585839
Tim-Philipp Müller [Fri, 19 Jun 2009 15:21:28 +0000 (16:21 +0100)]
Make build without warnings with debugging disabled
Olivier Crête [Thu, 28 May 2009 21:37:44 +0000 (17:37 -0400)]
rtpbin: Transform the right session sdes message
Fixes #584165
Olivier Crête [Thu, 28 May 2009 21:33:10 +0000 (17:33 -0400)]
Add ssrc to application/x-rtp-source-sdes structure
Wim Taymans [Wed, 27 May 2009 09:03:14 +0000 (11:03 +0200)]
rtpsouce: the network address is in network order
Bring the network address in netowkr byte order to the host order.
Wim Taymans [Tue, 26 May 2009 13:40:52 +0000 (15:40 +0200)]
rtpsource: byteswap the port from GstNetAddress
Since the port in GstNetAddress is in network order we might need to byteswap it
before adding it to the source statistics.
Wim Taymans [Mon, 25 May 2009 11:46:29 +0000 (13:46 +0200)]
rtpbin: remove ptdemux ghostpads
Wim Taymans [Mon, 25 May 2009 11:33:20 +0000 (13:33 +0200)]
tests: add receive rtpbin unit test
Wim Taymans [Fri, 22 May 2009 14:41:19 +0000 (16:41 +0200)]
rtpbin: add to new signal to remove SSRC pads
Ali Sabil [Fri, 22 May 2009 14:35:20 +0000 (16:35 +0200)]
ssrcdemux: emit signal when pads are removed
Add action signal to clear an SSRC in the ssrc demuxer.
Add signal to notify of removed ssrc.
See #554839
Wim Taymans [Fri, 22 May 2009 13:45:19 +0000 (15:45 +0200)]
rtpbin: use our ghostpads instead of its target
Since we keep a reference to our ghostpads, we can use them to track sessions.
This avoid us having to mess with the target of the ghostpad.
Wim Taymans [Fri, 22 May 2009 13:37:29 +0000 (15:37 +0200)]
tests: more rtpbin checks
Wim Taymans [Fri, 22 May 2009 13:36:17 +0000 (15:36 +0200)]
rtpbin: don't warn when getting request pads twice
Allow getting the request pads multiple times, just return the previously
created pads.
Wim Taymans [Fri, 22 May 2009 11:47:30 +0000 (13:47 +0200)]
rtpsource: add RTP and RTCP source address
Add the RTP and RTCP sender addresses in the stats structure.
Wim Taymans [Fri, 22 May 2009 11:45:15 +0000 (13:45 +0200)]
rtpsession: reuse source code for SDES
Reuse the RTPSource object property instead of duplicating code.
Wim Taymans [Fri, 22 May 2009 11:44:17 +0000 (13:44 +0200)]
tests: add more rtpbin tests
Wim Taymans [Fri, 22 May 2009 10:23:27 +0000 (12:23 +0200)]
tests: add rtpbin unit test
Add the beginnings of an rtpbin unit test
Add some more stuff to .gitignore
Wim Taymans [Fri, 22 May 2009 10:20:13 +0000 (12:20 +0200)]
rtpbin: set target state on new elements
Set the state on newly added elements to the state of the parent.
Add some debug info and do some cleanups
Wim Taymans [Fri, 22 May 2009 09:59:17 +0000 (11:59 +0200)]
rtpbin: unref requests pads after releasing
Olivier Crête [Thu, 21 May 2009 23:43:50 +0000 (01:43 +0200)]
rtpbin: Implement releasing the streams
See #561752
Olivier Crête [Thu, 21 May 2009 23:16:11 +0000 (01:16 +0200)]
rtpbin: Keep jb signals handler
Keep the signal handlers so they can be disconnected at release time
See #561752
Wim Taymans [Thu, 21 May 2009 23:12:57 +0000 (01:12 +0200)]
rtpbin: use the right lock for the sessions
Use the right lock when iterating the sessions.
Olivier Crête [Thu, 21 May 2009 23:03:55 +0000 (01:03 +0200)]
rtpbin: Free session if request pads are released
Free the session when all the request pads are released.
Don't mess with the session list in free_session as it is called from a foreach
on that list.
Set the state of the upstream element to NULL first.
See #561752
Olivier Crête [Thu, 21 May 2009 22:51:53 +0000 (00:51 +0200)]
rtpbin: Implement relasing of the rtp recv pad
Olivier Crête [Thu, 21 May 2009 22:44:51 +0000 (00:44 +0200)]
rtpbin: Implement releasing of rtp send pads
Olivier Crête [Thu, 21 May 2009 22:34:36 +0000 (00:34 +0200)]
rtpbin: Implement release of the recv rtcp pad
See #561752
Olivier Crête [Thu, 21 May 2009 22:16:19 +0000 (00:16 +0200)]
rtpbin: Implement releasing of rtcp src pad
See #561752
Wim Taymans [Tue, 5 May 2009 14:48:37 +0000 (16:48 +0200)]
rtpssrcdemux: drop unexpected RTCP packets
We usually only get SR packets in our chain function but if an invalid packet
contains the SR packet after the RR packet, we must not fail but simply ignore
the malformed packet.
Fixes #581375
Olivier Crete [Mon, 27 Apr 2009 09:09:08 +0000 (11:09 +0200)]
rtpsouce: make WARNING into LOG
Since neither rtpmanager nor any of the payloaders properly implement
pad allocation, there is no way for the rtpmanager to inform downstream elements
of the new SSRC if there is an SSRC collision. So the warning is emitted all the
time and it is confusing.
Fixes #580144
Olivier Crete [Mon, 27 Apr 2009 09:06:01 +0000 (11:06 +0200)]
rtpsession: notify when SSRC changes
Emit a g_object_notify when the SSRc changes because of a collision.
Fixes #580144
Wim Taymans [Fri, 17 Apr 2009 14:16:29 +0000 (16:16 +0200)]
rtpsession: join the RTCP thread
Avoid a case where a joinable thread would be left unjoined, which leaked the
thread structure.
Fixes #577318.
Wim Taymans [Wed, 15 Apr 2009 16:14:48 +0000 (18:14 +0200)]
jitterbuffer: prevent overflow in EOS estimation
Use a guint64 instead of a guint to hold a 64bit value to prevent completely
bogues EOS estimation values due to overflows.
Wim Taymans [Wed, 15 Apr 2009 15:44:17 +0000 (17:44 +0200)]
rtpbin: we should not provide a clock
There is no need to provide a clock.
Wim Taymans [Wed, 15 Apr 2009 15:28:56 +0000 (17:28 +0200)]
jitterbuffer: more estimated EOS fixes
Do more accurate EOS estimate and guard against backward timestamps.
Wim Taymans [Wed, 15 Apr 2009 15:25:02 +0000 (17:25 +0200)]
jitterbuffer: release lock before pushing EOS
Make sure we release the jitterbuffer lock before we start pushing out data
because else we might deadlock.
Wim Taymans [Fri, 27 Mar 2009 16:44:57 +0000 (17:44 +0100)]
rtpbin: add on_npt_stop signal
Add the on_npt_stop signal to rtpbin and rtpjitterbuffer to notify the
application that the NPT stop position has been reached.
Wim Taymans [Fri, 13 Mar 2009 14:59:37 +0000 (15:59 +0100)]
rtpbin: don't return FALSE on seek events
Silently ignore the seek event instead of returning FALSE.
Olivier Crête [Thu, 26 Feb 2009 12:10:29 +0000 (13:10 +0100)]
gstrtpbin: Don't forward revc events to sender
Don't send events from the receiver to the sender side.
Fixes #572900.
Stefan Kost [Wed, 25 Feb 2009 09:45:05 +0000 (11:45 +0200)]
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.
Wim Taymans [Fri, 23 Jan 2009 11:13:00 +0000 (12:13 +0100)]
Send BYE packets immediatly for small sessions
When the number of participants is less than 50, the RFC allows for sending the
BYE packet immediatly instead of using the regular BYE timeout.
Fixes #567828.
Wim Taymans [Thu, 22 Jan 2009 12:33:14 +0000 (13:33 +0100)]
Unlock the jitterbuffer before pushing out the packet-lost events.
Move some code before we do the unlock to make the jitterbuffer state
consistent while we are unlocked.
Olivier Crete [Fri, 2 Jan 2009 17:40:06 +0000 (17:40 +0000)]
gst/rtpmanager/: When an SSRC is found on the caps of the sender RTP, use this as the internal SSRC. Fixes #565910.
Original commit message from CVS:
Patch by: Olivier Crete <tester at tester dot ca>
* gst/rtpmanager/gstrtpsession.c:
(gst_rtp_session_setcaps_send_rtp), (create_send_rtp_sink):
* gst/rtpmanager/rtpsession.c: (rtp_session_set_internal_ssrc):
When an SSRC is found on the caps of the sender RTP, use this as the
internal SSRC. Fixes #565910.
Wim Taymans [Fri, 2 Jan 2009 16:50:53 +0000 (16:50 +0000)]
gst/rtpmanager/: Rename a method to better reflect what it really does.
Original commit message from CVS:
* gst/rtpmanager/gstrtpsession.c:
(gst_rtp_session_event_send_rtp_sink),
(gst_rtp_session_getcaps_send_rtp):
* gst/rtpmanager/rtpsession.c: (check_collision),
(rtp_session_schedule_bye_locked), (rtp_session_schedule_bye):
* gst/rtpmanager/rtpsession.h:
Rename a method to better reflect what it really does.
Wim Taymans [Mon, 29 Dec 2008 15:49:37 +0000 (15:49 +0000)]
gst/rtpmanager/gstrtpsession.c: Use method to get the internal SSRC.
Original commit message from CVS:
* gst/rtpmanager/gstrtpsession.c:
(gst_rtp_session_getcaps_send_rtp):
Use method to get the internal SSRC.
* gst/rtpmanager/rtpsession.c: (rtp_session_class_init),
(rtp_session_set_property), (rtp_session_get_property):
Add property to congiure the internal SSRC of the session.
Fixes #565910.
Wim Taymans [Mon, 29 Dec 2008 15:21:58 +0000 (15:21 +0000)]
gst/rtpmanager/rtpsession.c: Only change the SSRC of the session and reset the internal source when the SSRC actually...
Original commit message from CVS:
* gst/rtpmanager/rtpsession.c: (rtp_session_set_internal_ssrc):
Only change the SSRC of the session and reset the internal source when
the SSRC actually changed. See #565910.
Wim Taymans [Mon, 29 Dec 2008 14:21:47 +0000 (14:21 +0000)]
gst/rtpmanager/rtpsource.*: When no payload was specified on the caps but there was a clock-rate, assume the clock-ra...
Original commit message from CVS:
* gst/rtpmanager/rtpsource.c: (rtp_source_init),
(rtp_source_update_caps), (get_clock_rate):
* gst/rtpmanager/rtpsource.h:
When no payload was specified on the caps but there was a clock-rate,
assume the clock-rate corresponds to the first payload type found in the
RTP packets. Fixes #565509.
Arnout Vandecappelle [Tue, 23 Dec 2008 11:39:59 +0000 (11:39 +0000)]
gst/rtpmanager/rtpjitterbuffer.*: Keep track of the last outgoing timestamp and of the last sender-side time. Timest...
Original commit message from CVS:
Patch by: Arnout Vandecappelle <arnout at mind dot be>
* gst/rtpmanager/rtpjitterbuffer.c: (rtp_jitter_buffer_reset_skew),
(calculate_skew):
* gst/rtpmanager/rtpjitterbuffer.h:
Keep track of the last outgoing timestamp and of the last sender-side
time. Timestamps can only go forward if they do at the sender
side, can only go back if they do at the sender side, and remain the
same if they remain the same at the sender side. Fixes #565319.
Wim Taymans [Wed, 26 Nov 2008 12:40:18 +0000 (12:40 +0000)]
gst/rtpmanager/rtpsession.c: Make obtain_source return an aditional ref so that we don't lose our ref to it when a se...
Original commit message from CVS:
* gst/rtpmanager/rtpsession.c: (obtain_source),
(rtp_session_create_source), (rtp_session_process_rtp),
(rtp_session_process_sr), (rtp_session_process_rr),
(rtp_session_process_sdes), (rtp_session_process_bye):
Make obtain_source return an aditional ref so that we don't lose our ref
to it when a session cleanup occurs when we are emiting a signal.
Emit the on_new_ssrc signal for the CSRC, not the SSRC.
Fixes #562319.
Wim Taymans [Wed, 26 Nov 2008 12:02:21 +0000 (12:02 +0000)]
gst/rtpmanager/gstrtpbin.c: Reset the sync parameters when clearing the payload type map too.
Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_reset_sync),
(gst_rtp_bin_clear_pt_map):
Reset the sync parameters when clearing the payload type map too.
Fixes #562312.
Wim Taymans [Wed, 26 Nov 2008 11:44:37 +0000 (11:44 +0000)]
gst/rtpmanager/gstrtpbin.*: Remove a lot of per stream state that is not needed and pass new info in the method call.
Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (get_client),
(gst_rtp_bin_reset_sync), (gst_rtp_bin_associate),
(gst_rtp_bin_handle_sync), (create_stream),
(gst_rtp_bin_class_init), (new_ssrc_pad_found):
* gst/rtpmanager/gstrtpbin.h:
Remove a lot of per stream state that is not needed and pass new info in
the method call.
Add signal to reset sync parameters.
Avoid parsing the caps to get a clock_base, we get this from the sync
signal now.
Wim Taymans [Tue, 25 Nov 2008 15:12:06 +0000 (15:12 +0000)]
gst/rtpmanager/gstrtpsession.c: Fix event leak.
Original commit message from CVS:
* gst/rtpmanager/gstrtpsession.c:
(gst_rtp_session_event_send_rtcp_src):
Fix event leak.
Wim Taymans [Sat, 22 Nov 2008 15:31:36 +0000 (15:31 +0000)]
gst/rtpmanager/rtpsession.c: Add property to configure the RTCP MTU.
Original commit message from CVS:
* gst/rtpmanager/rtpsession.c: (rtp_session_class_init),
(rtp_session_init), (rtp_session_set_property),
(rtp_session_get_property):
Add property to configure the RTCP MTU.
Wim Taymans [Sat, 22 Nov 2008 15:24:47 +0000 (15:24 +0000)]
gst/rtpmanager/rtpsession.c: Add G_PARAM_STATIC_STRINGS.
Original commit message from CVS:
* gst/rtpmanager/rtpsession.c: (rtp_session_class_init),
(copy_source), (rtp_session_create_sources),
(rtp_session_get_property):
Add G_PARAM_STATIC_STRINGS.
Add property to return a GValueArray of all known RTPSources in the
session.
* gst/rtpmanager/rtpsource.c: (rtp_source_class_init),
(rtp_source_create_sdes), (rtp_source_set_property),
(rtp_source_get_property):
Remove properties to set the various SDES items, an application is never
supposed to change the RTPSource data.
Change the SDES getter properties to one SDES property that returns all
SDES items in a GstStructure.
Wim Taymans [Sat, 22 Nov 2008 13:17:24 +0000 (13:17 +0000)]
gst/rtpmanager/gstrtpbin.c: Also unref the target pad for unknown pads.
Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_release_pad):
Also unref the target pad for unknown pads.
Olivier Crete [Fri, 21 Nov 2008 16:17:22 +0000 (16:17 +0000)]
gst/rtpmanager/gstrtpbin.c: Release the right pads on rtpbin. Fixes #561752.
Original commit message from CVS:
Patch by: Olivier Crete <tester at tester dot ca>
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_release_pad):
Release the right pads on rtpbin. Fixes #561752.
Wim Taymans [Thu, 20 Nov 2008 18:41:34 +0000 (18:41 +0000)]
gst/rtpmanager/gstrtpsession.c: Pass the running time to the session when processing RTP packets.
Original commit message from CVS:
* gst/rtpmanager/gstrtpsession.c: (get_current_times),
(rtcp_thread), (gst_rtp_session_chain_recv_rtp):
Pass the running time to the session when processing RTP packets.
Improve the time function to provide more info.
* gst/rtpmanager/rtpsession.c: (rtp_session_class_init),
(rtp_session_init), (update_arrival_stats),
(rtp_session_process_rtp), (rtp_session_process_sdes),
(rtp_session_process_rtcp), (session_start_rtcp),
(rtp_session_on_timeout):
* gst/rtpmanager/rtpsession.h:
Mark the internal source with a flag.
Use running_time instead of the more useless timestamp.
Validate a source when a valid SDES has been received.
Pass the current system time when processing SR packets.
* gst/rtpmanager/rtpsource.c: (rtp_source_class_init),
(rtp_source_init), (rtp_source_create_stats),
(rtp_source_get_property), (rtp_source_send_rtp),
(rtp_source_process_rb), (rtp_source_get_new_rb),
(rtp_source_get_last_rb):
* gst/rtpmanager/rtpsource.h:
Add property to get source stats.
Mark params as STATIC_STRINGS.
Calculate the bitrate at the sender SSRC.
Avoid negative values in the round trip time calculations.
* gst/rtpmanager/rtpstats.h:
Update some docs and change some variable name to more closely reflect
what it contains.
Sebastian Dröge [Thu, 20 Nov 2008 08:19:15 +0000 (08:19 +0000)]
gst/rtpmanager/gstrtpjitterbuffer.c: Initialize return value to fix compiler warning about uninitialized variable.
Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_chain_rtcp):
Initialize return value to fix compiler warning about uninitialized
variable.
Wim Taymans [Wed, 19 Nov 2008 16:48:38 +0000 (16:48 +0000)]
gst/rtpmanager/gstrtpjitterbuffer.c: Mark signal arg as static scope.
Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_class_init):
Mark signal arg as static scope.
Wim Taymans [Wed, 19 Nov 2008 09:06:29 +0000 (09:06 +0000)]
gst/rtpmanager/gstrtpbin.c: Remove internal sync pad, use signals instead to get lip-sync notifications.
Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_associate),
(gst_rtp_bin_handle_sync), (create_stream), (free_stream),
(new_ssrc_pad_found):
Remove internal sync pad, use signals instead to get lip-sync
notifications.
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_base_init),
(gst_rtp_jitter_buffer_class_init),
(gst_rtp_jitter_buffer_internal_links), (create_rtcp_sink),
(remove_rtcp_sink), (gst_rtp_jitter_buffer_request_new_pad),
(gst_rtp_jitter_buffer_release_pad),
(gst_rtp_jitter_buffer_sink_rtcp_event),
(gst_rtp_jitter_buffer_chain_rtcp),
(gst_rtp_jitter_buffer_get_property):
* gst/rtpmanager/gstrtpjitterbuffer.h:
Make it possible to send SR packets to the jitterbuffer.
Check if the SR timestamps are valid by comparing them to the RTP
timestamps.
Signal the SR packet and the timing information to listeners.
* gst/rtpmanager/gstrtpssrcdemux.c: (create_demux_pad_for_ssrc),
(gst_rtp_ssrc_demux_rtcp_chain), (gst_rtp_ssrc_demux_src_query):
Remove some unused code.
* gst/rtpmanager/rtpjitterbuffer.c: (rtp_jitter_buffer_reset_skew),
(calculate_skew), (rtp_jitter_buffer_get_sync):
* gst/rtpmanager/rtpjitterbuffer.h:
Keep track of the last seen RTP timestamp so that we can filter out
invalid SR packets.
Sebastian Dröge [Mon, 17 Nov 2008 19:47:32 +0000 (19:47 +0000)]
gst/rtpmanager/rtpsource.c: Fix GST_DEBUG call to only have as many arguments as required by the format string. Fixes...
Original commit message from CVS:
* gst/rtpmanager/rtpsource.c: (get_clock_rate):
Fix GST_DEBUG call to only have as many arguments as required
by the format string. Fixes a compiler warning.
Wim Taymans [Mon, 17 Nov 2008 15:17:52 +0000 (15:17 +0000)]
gst/rtpmanager/gstrtpbin.c: Do not try to keep track of the clock-rate ourselves but simply get the value from the ji...
Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_associate),
(gst_rtp_bin_sync_chain), (create_stream), (new_ssrc_pad_found):
Do not try to keep track of the clock-rate ourselves but simply get the
value from the jitterbuffer.
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_jitter_buffer_sink_parse_caps), (gst_rtp_jitter_buffer_chain),
(gst_rtp_jitter_buffer_get_sync):
* gst/rtpmanager/gstrtpjitterbuffer.h:
Add some debug info.
Pass the clock-rate to the jitterbuffer.
Also pass the clock-rate along with the rtp timestamp when getting the
sync parameters.
* gst/rtpmanager/gstrtpptdemux.c: (gst_rtp_pt_demux_chain):
Fix some debug.
* gst/rtpmanager/rtpjitterbuffer.c: (rtp_jitter_buffer_reset_skew),
(calculate_skew), (rtp_jitter_buffer_get_sync):
* gst/rtpmanager/rtpjitterbuffer.h:
Keep track of clock-rate changes and return the clock-rate together with
the rtp timestamps used for sync.
Don't try to construct timestamps when we have no base_time.
* gst/rtpmanager/rtpsource.c: (get_clock_rate):
Request a new clock-rate when the payload type changes.
Reset the jitter calculation when the clock-rate changes.
Wim Taymans [Thu, 13 Nov 2008 15:48:54 +0000 (15:48 +0000)]
gst/rtpmanager/: Small cleanups and some more debug info.
Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_jitter_buffer_sink_parse_caps),
(gst_rtp_jitter_buffer_flush_stop), (gst_rtp_jitter_buffer_chain):
* gst/rtpmanager/rtpjitterbuffer.c: (rtp_jitter_buffer_reset_skew),
(calculate_skew):
Small cleanups and some more debug info.
Wim Taymans [Mon, 10 Nov 2008 15:26:40 +0000 (15:26 +0000)]
gst/rtpmanager/gstrtpjitterbuffer.c: Also configure the next expected output seqnum when we get a seqnum-base on the ...
Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_jitter_buffer_sink_parse_caps), (gst_rtp_jitter_buffer_chain):
Also configure the next expected output seqnum when we get a seqnum-base
on the caps.
Stefan Kost [Tue, 4 Nov 2008 12:42:30 +0000 (12:42 +0000)]
Don't install static libs for plugins. Fixes #550851 for -bad.
Original commit message from CVS:
* ext/alsaspdif/Makefile.am:
* ext/amrwb/Makefile.am:
* ext/apexsink/Makefile.am:
* ext/arts/Makefile.am:
* ext/artsd/Makefile.am:
* ext/audiofile/Makefile.am:
* ext/audioresample/Makefile.am:
* ext/bz2/Makefile.am:
* ext/cdaudio/Makefile.am:
* ext/celt/Makefile.am:
* ext/dc1394/Makefile.am:
* ext/dirac/Makefile.am:
* ext/directfb/Makefile.am:
* ext/divx/Makefile.am:
* ext/dts/Makefile.am:
* ext/faac/Makefile.am:
* ext/faad/Makefile.am:
* ext/gsm/Makefile.am:
* ext/hermes/Makefile.am:
* ext/ivorbis/Makefile.am:
* ext/jack/Makefile.am:
* ext/jp2k/Makefile.am:
* ext/ladspa/Makefile.am:
* ext/lcs/Makefile.am:
* ext/libfame/Makefile.am:
* ext/libmms/Makefile.am:
* ext/metadata/Makefile.am:
* ext/mpeg2enc/Makefile.am:
* ext/mplex/Makefile.am:
* ext/musepack/Makefile.am:
* ext/musicbrainz/Makefile.am:
* ext/mythtv/Makefile.am:
* ext/nas/Makefile.am:
* ext/neon/Makefile.am:
* ext/ofa/Makefile.am:
* ext/polyp/Makefile.am:
* ext/resindvd/Makefile.am:
* ext/sdl/Makefile.am:
* ext/shout/Makefile.am:
* ext/snapshot/Makefile.am:
* ext/sndfile/Makefile.am:
* ext/soundtouch/Makefile.am:
* ext/spc/Makefile.am:
* ext/swfdec/Makefile.am:
* ext/tarkin/Makefile.am:
* ext/theora/Makefile.am:
* ext/timidity/Makefile.am:
* ext/twolame/Makefile.am:
* ext/x264/Makefile.am:
* ext/xine/Makefile.am:
* ext/xvid/Makefile.am:
* gst-libs/gst/app/Makefile.am:
* gst-libs/gst/dshow/Makefile.am:
* gst/aiffparse/Makefile.am:
* gst/app/Makefile.am:
* gst/audiobuffer/Makefile.am:
* gst/bayer/Makefile.am:
* gst/cdxaparse/Makefile.am:
* gst/chart/Makefile.am:
* gst/colorspace/Makefile.am:
* gst/dccp/Makefile.am:
* gst/deinterlace/Makefile.am:
* gst/deinterlace2/Makefile.am:
* gst/dvdspu/Makefile.am:
* gst/festival/Makefile.am:
* gst/filter/Makefile.am:
* gst/flacparse/Makefile.am:
* gst/flv/Makefile.am:
* gst/games/Makefile.am:
* gst/h264parse/Makefile.am:
* gst/librfb/Makefile.am:
* gst/mixmatrix/Makefile.am:
* gst/modplug/Makefile.am:
* gst/mpeg1sys/Makefile.am:
* gst/mpeg4videoparse/Makefile.am:
* gst/mpegdemux/Makefile.am:
* gst/mpegtsmux/Makefile.am:
* gst/mpegvideoparse/Makefile.am:
* gst/mve/Makefile.am:
* gst/nsf/Makefile.am:
* gst/nuvdemux/Makefile.am:
* gst/overlay/Makefile.am:
* gst/passthrough/Makefile.am:
* gst/pcapparse/Makefile.am:
* gst/playondemand/Makefile.am:
* gst/rawparse/Makefile.am:
* gst/real/Makefile.am:
* gst/rtjpeg/Makefile.am:
* gst/rtpmanager/Makefile.am:
* gst/scaletempo/Makefile.am:
* gst/sdp/Makefile.am:
* gst/selector/Makefile.am:
* gst/smooth/Makefile.am:
* gst/smoothwave/Makefile.am:
* gst/speed/Makefile.am:
* gst/speexresample/Makefile.am:
* gst/stereo/Makefile.am:
* gst/subenc/Makefile.am:
* gst/tta/Makefile.am:
* gst/vbidec/Makefile.am:
* gst/videodrop/Makefile.am:
* gst/videosignal/Makefile.am:
* gst/virtualdub/Makefile.am:
* gst/vmnc/Makefile.am:
* gst/y4m/Makefile.am:
* sys/acmenc/Makefile.am:
* sys/cdrom/Makefile.am:
* sys/dshowdecwrapper/Makefile.am:
* sys/dshowsrcwrapper/Makefile.am:
* sys/dvb/Makefile.am:
* sys/dxr3/Makefile.am:
* sys/fbdev/Makefile.am:
* sys/oss4/Makefile.am:
* sys/qcam/Makefile.am:
* sys/qtwrapper/Makefile.am:
* sys/vcd/Makefile.am:
* sys/wininet/Makefile.am:
* win32/common/config.h:
Don't install static libs for plugins. Fixes #550851 for -bad.
Wim Taymans [Thu, 16 Oct 2008 13:05:37 +0000 (13:05 +0000)]
gst/rtpmanager/gstrtpjitterbuffer.c: Fix problem with using the output seqnum counter to check for input seqnum disco...
Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_jitter_buffer_sink_parse_caps),
(gst_rtp_jitter_buffer_flush_start),
(gst_rtp_jitter_buffer_flush_stop), (gst_rtp_jitter_buffer_chain),
(gst_rtp_jitter_buffer_loop):
Fix problem with using the output seqnum counter to check for input
seqnum discontinuities.
Improve gap detection and recovery, reset and flush the jitterbuffer on
seqnum restart. Fixes #556520.
* gst/rtpmanager/rtpjitterbuffer.c: (rtp_jitter_buffer_insert):
Fix wrong G_LIKELY.
Wim Taymans [Thu, 16 Oct 2008 09:51:28 +0000 (09:51 +0000)]
gst/rtpmanager/gstrtpsession.c: Install event handler on the rtcp_src pad, make LATENCY event return
Original commit message from CVS:
* gst/rtpmanager/gstrtpsession.c:
(gst_rtp_session_event_send_rtcp_src), (create_send_rtcp_src):
Install event handler on the rtcp_src pad, make LATENCY event return
TRUE.
Håvard Graff [Tue, 7 Oct 2008 18:54:41 +0000 (18:54 +0000)]
gst/rtpmanager/gstrtpbin-marshal.list: Add marshaller for new action signal.
Original commit message from CVS:
Patch by: Håvard Graff <havard dot graff at tandberg dot com>
* gst/rtpmanager/gstrtpbin-marshal.list:
Add marshaller for new action signal.
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_get_internal_session),
(gst_rtp_bin_class_init):
* gst/rtpmanager/gstrtpbin.h:
Add action signal to retrieve the internal RTPSession object.
* gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_class_init),
(gst_rtp_session_get_property), (gst_rtp_session_release_pad):
Add property to access the internal RTPSession object.
* gst/rtpmanager/rtpsession.c: (rtp_session_class_init),
(check_collision):
* gst/rtpmanager/rtpsession.h:
Add action signal to retrieve an RTPSource object by SSRC.
See #555396.
Wim Taymans [Tue, 7 Oct 2008 11:33:10 +0000 (11:33 +0000)]
gst/rtpmanager/gstrtpbin.c: Release pads of the session manager.
Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (find_session_by_pad),
(free_session), (gst_rtp_bin_dispose), (remove_recv_rtp),
(remove_recv_rtcp), (remove_send_rtp), (remove_rtcp),
(gst_rtp_bin_release_pad):
Release pads of the session manager.
Start implementing releasing pads of gstrtpbin.
* gst/rtpmanager/gstrtpsession.c: (remove_recv_rtp_sink),
(remove_recv_rtcp_sink), (remove_send_rtp_sink),
(remove_send_rtcp_src), (gst_rtp_session_release_pad):
Implement releasing pads in gstrtpsession.