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 795160 - Various patches on ptdemux
Various patches on ptdemux
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-04-11 14:27 UTC by Håvard Graff (hgr)
Modified: 2018-11-03 15:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
rtpptdemux: Fix debug to use GST_DEBUG_OBJECT (2.62 KB, patch)
2018-04-11 14:27 UTC, Håvard Graff (hgr)
accepted-commit_now Details | Review
rtpptdemux: set payload to caps inside gst_rtp_pt_demux_get_caps (9.40 KB, patch)
2018-04-11 14:27 UTC, Håvard Graff (hgr)
needs-work Details | Review

Description Håvard Graff (hgr) 2018-04-11 14:27:16 UTC
Created attachment 370800 [details] [review]
rtpptdemux: Fix debug to use GST_DEBUG_OBJECT

.
Comment 1 Håvard Graff (hgr) 2018-04-11 14:27:59 UTC
Created attachment 370801 [details] [review]
rtpptdemux: set payload to caps inside gst_rtp_pt_demux_get_caps

Refactoring to remove duplicate code
Comment 2 Olivier Crête 2018-04-17 15:52:35 UTC
Review of attachment 370800 [details] [review]:

Looks good
Comment 3 Olivier Crête 2018-04-17 15:56:41 UTC
Review of attachment 370801 [details] [review]:

Just one little stylistic detail, otherwise it looks fine.

::: gst/rtpmanager/gstrtpptdemux.c
@@ +343,3 @@
+  } else if (sink_caps) {
+    have_ssrc = gst_structure_get_uint (
+        gst_caps_get_structure (sink_caps, 0), "ssrc", &ssrc);

Can you get the structure on line, then do the get_uint on a separate one, this is more the style

GstStructure *s = gst_caps_get_structure (sink_caps, 0);
have_ssrc = gst_structure_get_uint (s, "ssrc", &ssrc);
Comment 4 GStreamer system administrator 2018-11-03 15:28:53 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/462.