uvch264src: Fix wrong argument order to force-key-unit event
authorArun Raghavan <arun@arunraghavan.net>
Mon, 2 Jan 2017 14:25:34 +0000 (19:55 +0530)
committerArun Raghavan <arun@arunraghavan.net>
Mon, 2 Jan 2017 14:28:06 +0000 (19:58 +0530)
CID 1373421

sys/uvch264/gstuvch264_src.c

index 38397c3..4f2a6f3 100644 (file)
@@ -1593,7 +1593,7 @@ gst_uvc_h264_src_buffer_probe (GstPad * pad, GstPadProbeInfo * info,
           GST_TIME_FORMAT, all_headers, count, GST_TIME_ARGS (ts),
           GST_TIME_ARGS (running_time), GST_TIME_ARGS (stream_time));
       downstream = gst_video_event_new_downstream_force_key_unit (ts,
-          running_time, stream_time, all_headers, count);
+          stream_time, running_time, all_headers, count);
       gst_pad_push_event (self->vidsrc, downstream);
       gst_event_replace (&self->key_unit_event, NULL);
     }