dvb: src: fix use of wrong array index for tune signal
authorReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Fri, 16 Jun 2017 16:43:35 +0000 (09:43 -0700)
committerSebastian Dröge <sebastian@centricular.com>
Sat, 17 Jun 2017 07:54:05 +0000 (10:54 +0300)
Erroneous value made "TUNE" overwrite "TUNNING_FAIL" ....

sys/dvb/gstdvbsrc.c

index 7e3f1e2..89849b8 100644 (file)
@@ -1005,7 +1005,7 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
    * Signal emited from the application to the element, instructing it
    * to tune.
    */
-  gst_dvbsrc_signals[SIGNAL_TUNING_FAIL] =
+  gst_dvbsrc_signals[SIGNAL_TUNE] =
       g_signal_new ("tune", G_TYPE_FROM_CLASS (klass),
       G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
       G_STRUCT_OFFSET (GstDvbSrcClass, do_tune),