summaryrefslogtreecommitdiff
path: root/libs/gst/dataprotocol/dataprotocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/gst/dataprotocol/dataprotocol.c')
-rw-r--r--libs/gst/dataprotocol/dataprotocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gst/dataprotocol/dataprotocol.c b/libs/gst/dataprotocol/dataprotocol.c
index b1cda553d..8b32bb806 100644
--- a/libs/gst/dataprotocol/dataprotocol.c
+++ b/libs/gst/dataprotocol/dataprotocol.c
@@ -523,7 +523,7 @@ gst_dp_event_from_packet_0_2 (guint header_length, const guint8 * header,
case GST_EVENT_EOS:
case GST_EVENT_FLUSH_START:
case GST_EVENT_FLUSH_STOP:
- case GST_EVENT_NEWSEGMENT:
+ case GST_EVENT_SEGMENT:
event = gst_event_new_custom (type, NULL);
GST_EVENT_TIMESTAMP (event) = GST_DP_HEADER_TIMESTAMP (header);
break;