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)
committerReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Fri, 16 Jun 2017 20:57:49 +0000 (13:57 -0700)
Erroneous value made "TUNE" overwrite "TUNNING_FAIL" ....

sys/dvb/gstdvbsrc.c

index 7ca3dcd..3226f08 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),