[Bug 783307] rtspsrc: uniquify stream ids

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jun 7 21:19:07 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=783307

--- Comment #3 from Mathieu Duponchelle <mduponchelle1 at gmail.com> ---
Review of attachment 352976:
 --> (https://bugzilla.gnome.org/review?bug=783307&attachment=352976)

::: gst/rtsp/gstrtspsrc.c
@@ +1509,3 @@
+  gchar *stream_id = g_strdup_printf ("%s%d%d%s%d", media->media, media->port,
+      media->num_ports, media->proto, stream->default_pt);
+  gchar *res = g_compute_checksum_for_string (G_CHECKSUM_MD5, stream_id, -1);

Because some of these elements may contain forward slashes (proto in
particular)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list