gstrtpsession: Fix double-declared variable
authorOlivier Crête <olivier.crete@collabora.com>
Mon, 28 Jan 2013 23:06:15 +0000 (18:06 -0500)
committerOlivier Crête <olivier.crete@collabora.com>
Mon, 28 Jan 2013 23:06:15 +0000 (18:06 -0500)
gst/rtpmanager/gstrtpsession.c

index 9fc8f27..9a265b8 100644 (file)
@@ -2232,7 +2232,7 @@ gst_rtp_session_request_key_unit (RTPSession * sess,
   GST_RTP_SESSION_UNLOCK (rtpsession);
 
   if (send_rtp_sink) {
-    GstEvent *event = gst_event_new_custom (GST_EVENT_CUSTOM_UPSTREAM,
+    event = gst_event_new_custom (GST_EVENT_CUSTOM_UPSTREAM,
         gst_structure_new ("GstForceKeyUnit",
             "all-headers", G_TYPE_BOOLEAN, all_headers, NULL));
     gst_pad_push_event (send_rtp_sink, event);