Tim-Philipp Müller
bf56fd97b6
Use g_memdup2() where available and add fallback for older GLib versions
...
- png: alloc size variable is a png type that's always 32-bit
- vpx: alloc size based on existing allocation
- wavpack: alloc size based on existing allocation
- icles: gdkpixbufoverlay: trusted and hard-coded input data
- rtp tests: rtp-payloading, vp8, vp9, h264, h265: trusted and/or static input data
g_memdup() is deprecated since GLib 2.68 and we want to avoid
deprecation warnings with recent versions of GLib.
Also use gst_buffer_new_memdup() instead of _wrapped(g_memdup(),..)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/993 >
2021-06-02 17:34:38 +01:00
Sebastian Dröge
e9a0307b94
rtph26[45]pay: Change default aggregate-mode to "none" for backwards compatibility
...
We didn't aggregate at all in previous versions and there are apparently
various RTP implementations that don't handle aggregation well at all.
As part of this also document that for RTSP it is recommended to keep it
set to "none" while for WebRTC it should be set to "zero-latency".
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/749
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/692 >
2020-08-08 10:08:31 +03:00
Kristofer Björkström
9c86414279
rtph265pay: TID for NALU type 48 was always set to 7
...
A typo bug: | instead of & resulted in TID alwasy being set to 7
for the aggregated NALU of type 48
2020-01-13 15:41:30 +01:00
Olivier Crête
061afa33ee
rtph265pay: Also immediately send packet if it is a suffix NAL
...
Immediately send packet if it contains any suffix NAL, this is required
in case they come after the VCL nal to not have to wait until the next frame.
2019-07-03 19:05:29 +00:00
Olivier Crête
97f2fb4cc8
rtph26xpay: Wait until there is a VCL or suffix NAL to send
...
With unit tests.
2019-07-03 19:05:29 +00:00
Olivier Crête
4810c93222
rtph265pay test: Add unit tests for aggregation
2019-07-03 19:05:29 +00:00
Olivier Crête
1b32cb1eae
rtph265pay: Implement Aggregation packets
...
Align with rtph264pay
2019-07-03 19:05:29 +00:00
Nirbheek Chauhan
062f2c46fa
misc: Fix warnings on Cerbero's mingw (gcc 4.7)
...
error: this decimal constant is unsigned only in ISO C90 [-Werror]
2019-02-06 14:28:54 +00:00
Nicolas Dufresne
0725e54d6c
test: h265depay: Add todo for testing aggregate packets with marker
...
We are missing a sample to test this, but a fix has been made, so add a
todo.
2019-01-31 19:30:14 +00:00
Jan Alexander Steffens (heftig)
8f8de410c5
test: rtph265pay: Verify we only mark the last fragment
2019-01-09 15:36:40 +00:00
Jan Alexander Steffens (heftig)
03d138985f
test: rtph265pay: Use a bigger test frame
...
The existing frame's last slice is too small to be used for
fragmentation tests.
2019-01-09 15:36:40 +00:00
Nicolas Dufresne
6941079d8d
test: rtph265: Copy and port tests from rtph264
...
This copy and port all the relevant tests from rtph264.
2018-12-18 13:39:54 -05:00