mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
rtpvp8depay: Fix crash when making 'GstRTPPacketLost' custom event
This patch fixes a seg.fault in gst_structure_new() with warnings as below. GLib-GObject-WARNING **: ../gobject/gtype.c:4330: type id '0' is invalid GLib-GObject-WARNING **: can't peek value table for type '<invalid>' which is not currently referenced Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1920>
This commit is contained in:
parent
19086d693e
commit
3890ef40d8
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ send_new_lost_event (GstRtpVP8Depay * self, GstClockTime timestamp,
|
|||
event = gst_event_new_custom (GST_EVENT_CUSTOM_DOWNSTREAM,
|
||||
gst_structure_new ("GstRTPPacketLost",
|
||||
"timestamp", G_TYPE_UINT64, timestamp,
|
||||
"duration", G_TYPE_UINT64, 0, NULL));
|
||||
"duration", G_TYPE_UINT64, G_GUINT64_CONSTANT (0), NULL));
|
||||
|
||||
GST_DEBUG_OBJECT (self, "Pushing lost event "
|
||||
"(picids 0x%x 0x%x, reason \"%s\"): %" GST_PTR_FORMAT,
|
||||
|
|
Loading…
Reference in a new issue