Tim-Philipp Müller
4451718eff
videomixer2: pre-register pad class properly with g_type_class_ref
...
Fix code to match the comment. Also, there's no need to register the
background enum type again, this is already done via install_property.
2010-09-23 21:22:45 +01:00
Havard Graff
3e894a1f29
level: avoid division by zero on silence
...
Fixes bug #630458 .
2010-09-23 21:19:01 +02:00
Wim Taymans
9e7b890a22
flvdemux: parse and use cts
...
For H264, there is an extra header containing the CTS, which is a timestamp
offset that should be applied to the PTS. Parse this value and use it to adjust
the pts.
Fixes #630088
2010-09-23 16:46:31 +02:00
Wim Taymans
77f02c2d7e
flvdemux: improve pts debugging
2010-09-23 16:45:41 +02:00
Edward Hervey
6ce6ad41d5
qtdemux: Don't post tags if there are none
...
And make all code go through _post_global_tags.
2010-09-22 12:56:39 +02:00
Wim Taymans
f5c65a919f
rtph264depay: refactor and simplify AU merging
...
Move the processing of the NALU to a separate method.
Simplify the merging of NALU into AU and use common code when possible.
2010-09-22 12:41:23 +02:00
Sebastian Dröge
72b7685bef
shapewipe: Force format to AYUV in the example pipeline for the same reason
2010-09-21 19:15:22 +02:00
Sebastian Dröge
a1890f8d44
shapewipe: Improve debugging and immediately return empty caps from the getcaps functions
2010-09-21 19:15:22 +02:00
Thiago Santos
52f5e95aee
qtdemux: Parse uuid atoms in push mode
...
Parses uuid atoms in push mode when they are found, they might
contain xmp tags.
Also does a minor refactoring to put the global tags posting
into a single function instead of repeating it in 3 different
places.
Fixes #629839
2010-09-20 23:39:38 -03:00
Thiago Santos
9227352e31
qtdemux: Delay tags posting a little
...
Delay tags posting until we've parsed all the headers so
that the native and xmp tags get merged before posting
https://bugzilla.gnome.org/show_bug.cgi?id=629839
2010-09-20 22:37:26 -03:00
Thiago Santos
8d6cabf9c3
qtdemux: Parse xmp packet in uuid atom
...
xmp packet is placed into a top-level uuid atom for
isom/mp4 variants.
This patch makes qtdemux parse all top-level atoms
in pull-mode before starting to push data, making
it able to find those tags.
https://bugzilla.gnome.org/show_bug.cgi?id=629839
2010-09-20 22:37:26 -03:00
Wim Taymans
2c8b725591
rtpstats: printf format fixes
2010-09-17 11:07:52 +02:00
Wim Taymans
9cc24e1b94
rtppay: some printf format fixes
2010-09-17 11:07:02 +02:00
Alessandro Decina
3605bd454a
qtdemux: fix logic when pushing EOS.
...
Don't check for return values when pushing EOS. Still post an error if EOS is
reached and no streams have been found.
2010-09-15 18:27:24 +02:00
Alessandro Decina
42cde1ba3c
qtdemux: don't send EOS twice on the same pad.
2010-09-14 17:43:33 +02:00
Wim Taymans
604c6555a4
rtpjpegpay: cleanups for DRI markers
...
Protect against invalid DRI markers.
do some cleanups
2010-09-13 17:31:35 +02:00
American Dynamics
0f3151c73b
gstrtpjpegpay: Added Define Restart Interval (DRI) Marker
...
Added ability to detect and respond to a JPEG-defined DRI marker
2010-09-13 16:47:23 +02:00
Olivier Crête
8e73da10b3
gstrtpsession: Split getting the caps into its own function
2010-09-13 16:25:42 +02:00
Wim Taymans
8e1c9b5b33
rtpbin: small cleanup.
2010-09-13 16:25:42 +02:00
Wim Taymans
d541f5e24d
rtpsession: Small cleanups
...
Make the property description prettier.
Actually multiple the bandwidth with the fraction.
2010-09-13 15:51:20 +02:00
Olivier Crête
1f17b334ff
rtpsession: Calculate RTCP bandwidth as a fraction of the RTP bandwidth
...
Calculate the RTCP bandwidth to be a fraction of the RTP bandwidth if it is
specified as a value between 0 and 1.
2010-09-13 15:51:20 +02:00
Wim Taymans
8381d9788d
session: improve bandwidth recalculation
...
Also recalculate bandwidth when one of the source bandwidths changed.
Use the newly calculated bandwidth.
2010-09-13 15:51:20 +02:00
Olivier Crête
6f53a2b240
rtpsession: Add the option to auto-discover the RTP bandwidth
2010-09-13 15:51:19 +02:00
Thijs Vermeir
f38e37470a
rtpbin: set use-pipeline-clock on correct GObject
2010-09-13 14:39:51 +02:00
Olivier Crête
94e87ef8ee
rtpsession: Initialise the average scaled by 16
2010-09-13 13:10:19 +02:00
Wim Taymans
e6db74764b
rtpsession: add running_time argument docs
2010-09-13 12:41:56 +02:00
Olivier Crête
00fd89c074
rtpstats: Rectify description of current_time in RTPArrivalStats
...
It is the current time, it is unrelated to when the packet was actually received.
2010-09-13 12:37:01 +02:00
Wim Taymans
cb6de429a0
rtpsession: compute the average correctly scaled
2010-09-13 12:31:40 +02:00
Olivier Crête
64e4ffa25b
rtpsession: Count sent RTCP packets after they have been finished
...
If they are counted before calling gst_rtcp_buffer_end(), then the
size is way too big.
2010-09-13 12:13:23 +02:00
Olivier Crête
306ee454c6
gstrtpsession: Don't unref pads in finalize
...
The gstrtpsession object is not holding any reference to them directly
2010-09-13 12:10:11 +02:00
Wim Taymans
8f2d254e24
rtspsrc: don't clear sdp when set as uri
...
when we set the SDP with an uri, don't clear it when we go to READY.
2010-09-10 18:06:48 +02:00
Wim Taymans
7698d8bc4a
rtspsrc: use sdp uri parse method
...
Use the sdp parse method that does proper uri escaping.
2010-09-10 18:02:04 +02:00
Mark Nauwelaerts
d8a27ebe3e
rtpmparobustdepay: fix some mis-implementation
...
Also add some debug.
2010-09-10 13:26:43 +02:00
Mark Nauwelaerts
81773f9cce
rtpmparobustdepay: properly insert dummy buffers
2010-09-10 13:26:31 +02:00
Wim Taymans
ae84ae1b36
rtspsrc: add rtsp-sdp protocol support
...
Allow setting an SDP with the rtsp-sdp:// url.
Based on patch from Marco Ballesio.
See #628214
2010-09-10 12:14:21 +02:00
Alessandro Decina
51c9ad0233
alphacolor: make passthrough work.
2010-09-10 11:35:58 +02:00
Stefan Kost
d569cd8195
mp4adepay: small logging cleanup and addition to debug config parsing
2010-09-09 21:49:43 +03:00
Wim Taymans
de4a7fc4c4
rtpjpegpay: improve debugging
2010-09-09 18:48:53 +02:00
Mark Nauwelaerts
075afb6693
rtpmparobustdepay: use valid bitrate for dummy frame
2010-09-09 16:33:29 +02:00
Mark Nauwelaerts
91a60245b7
matroskademux: QoS handling logic only applies to forward playback
...
Fixes #628894 .
2010-09-08 17:51:34 +02:00
Sebastian Dröge
640cb863d4
rtpjpegpay: Fix uninitialized variable compiler warning
...
Fixes bug #629018 .
2010-09-08 07:13:42 +02:00
Wim Taymans
bd43ac854a
qtdemux: use older g_array_free
...
g_array_unref() is only since 2.22
2010-09-07 17:06:02 +02:00
Wim Taymans
2ed53fd77f
rtpjpegpay: do some more sanitity checks
...
Protect some more against invalid input.
2010-09-07 16:40:08 +02:00
American Dynamics
a482677a14
jpegpay: handle corrupted jpeg better
...
Protect against corrupted jpeg input.
2010-09-07 15:20:12 +02:00
Wim Taymans
474c013051
rvawdepay: cleanup unused fields
2010-09-07 13:56:54 +02:00
Wim Taymans
6be0c7b762
vrawdepay: handle invalid payload better
...
Make sure we don't read more data than available in the input buffer.
Clip the input data into the output buffer.
2010-09-07 13:56:53 +02:00
Stefan Kost
988f228da7
rtpmp4adepay: grab the sampling arte and put into caps
...
This is needed to be able to mux the received audio into mp4 (in the case of
aac). Fixes #625825 .
2010-09-06 21:54:25 +03:00
Tim-Philipp Müller
22560c473d
rtp: mark constant tables as const
2010-09-06 14:40:02 +01:00
Mark Nauwelaerts
2953801a5f
rtpamrpay: properly support perfect-rtptime
2010-09-06 14:47:05 +02:00
Mark Nauwelaerts
275e352a2e
rtpamrpay: proper duration for multiple frame payload
2010-09-06 14:47:02 +02:00