After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 773518 - rtpvp8pay: Fix allocation to support source-info property
rtpvp8pay: Fix allocation to support source-info property
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
unspecified
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on: 761947
Blocks:
 
 
Reported: 2016-10-26 08:07 UTC by Stian Selnes (stianse)
Modified: 2018-11-03 15:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
rtpvp8pay: Fix allocation to support source-info property (1.16 KB, patch)
2016-10-26 08:07 UTC, Stian Selnes (stianse)
none Details | Review
rtpvp8pay: Fix allocation to support source-info property (1.63 KB, patch)
2016-11-07 11:42 UTC, Stian Selnes (stianse)
none Details | Review

Description Stian Selnes (stianse) 2016-10-26 08:07:07 UTC
Use gst_rtp_base_payload_allocate_output_buffer() in order to allocate
RTP buffer with correct number of CSRCs according to the meta.
Comment 1 Stian Selnes (stianse) 2016-10-26 08:07:13 UTC
Created attachment 338482 [details] [review]
rtpvp8pay: Fix allocation to support source-info property
Comment 2 Stian Selnes (stianse) 2016-10-26 08:09:31 UTC
Dependency added since this patch makes use of the new functionality added in the other patch.
Comment 3 Sebastian Dröge (slomo) 2016-10-26 08:21:23 UTC
Comment on attachment 338482 [details] [review]
rtpvp8pay: Fix allocation to support source-info property

What does this fix, what effects does it have and how would things fail otherwise? :) Also who would add the meta other than the depayloader, so this only matters for depay!pay?
Comment 4 Stian Selnes (stianse) 2016-10-26 14:13:41 UTC
I've updated bug 761947 address the general use for adding CSRCs. The patch in bug 761947 adds the property source-info to all payloaders to make them aware of the proposed RTPSourceMeta. But for the payloader to actually add the CSRCs it must use gst_rtp_base_payload_allocate_output_buffer() to allocate a properly sized RTP buffer and fill the CSRCs from to the meta. By not using gst_rtp_base_payload_allocate_output_buffer() the payloader will not add CSRCs even when the property source-info is TRUE.
Comment 5 Sebastian Dröge (slomo) 2016-10-31 10:36:04 UTC
Comment on attachment 338482 [details] [review]
rtpvp8pay: Fix allocation to support source-info property

Ok, and patches are also needed for all the other (de)payloaders then I guess?
Comment 6 Sebastian Dröge (slomo) 2016-11-01 18:22:30 UTC
Comment on attachment 338482 [details] [review]
rtpvp8pay: Fix allocation to support source-info property

Good to go once the other patch is in
Comment 7 Stian Selnes (stianse) 2016-11-07 11:42:01 UTC
Created attachment 339242 [details] [review]
rtpvp8pay: Fix allocation to support source-info property

Update patch to use the correct csrc_count when finding the max
payload length.
Comment 8 Stian Selnes (stianse) 2016-11-07 11:43:33 UTC
When this is in I will go through other payloaders as well.
Comment 9 GStreamer system administrator 2018-11-03 15:13:23 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/314.