dvb: src: fix use of wrong array index for tune signal

Erroneous value made "TUNE" overwrite "TUNNING_FAIL" ....
This commit is contained in:
Reynaldo H. Verdejo Pinochet 2017-06-16 09:43:35 -07:00
parent 5ad88a0352
commit b09b17365d

View file

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