From: Reynaldo H. Verdejo Pinochet Date: Wed, 13 Apr 2016 04:04:25 +0000 (-0700) Subject: dvb/parsechannels: fix modulation names X-Git-Tag: 1.10.4~548 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cf86ec587442c49eebf58c8f808e69197d5a8e6e;p=platform%2Fupstream%2Fgst-plugins-bad.git dvb/parsechannels: fix modulation names Some names were incorrect. Authoritative source for the dvbv5 format taken from v4l-utils' lib/libdvbv5/dvb-v5.c Aditionally, add the missing setter mapping for the modulation param. This change makes ATSC work. https://bugzilla.gnome.org/show_bug.cgi?id=764957 --- diff --git a/sys/dvb/parsechannels.c b/sys/dvb/parsechannels.c index ee0a352..bbc7b44 100644 --- a/sys/dvb/parsechannels.c +++ b/sys/dvb/parsechannels.c @@ -205,9 +205,9 @@ gst_dvb_base_bin_conf_set_modulation (GstElement * dvbbasebin, { const gchar *modulations[] = { "QPSK", "QAM/16", "QAM/32", "QAM/64", - "QAM/128", "QAM/256", "AUTO", "8VSB", - "16VSB", "8PSK", "16APSK", "32APSK", - "DQPSK", "QAM4NR", NULL + "QAM/128", "QAM/256", "QAM/AUTO", "VSB/8", + "VSB/16", "PSK/8", "APSK/16", "APSK/32", + "DQPSK", "QAM/4_NR", NULL }; return gst_dvb_base_bin_conf_set_property_from_string_array (dvbbasebin, property, kf, channel_name, key, modulations, 6); @@ -227,6 +227,7 @@ GstDvbV5ChannelsConfToPropertyMap dvbv5_prop_map[] = { {"INVERSION", "inversion", gst_dvb_base_bin_conf_set_inversion}, {"GUARD_INTERVAL", "guard", gst_dvb_base_bin_conf_set_guard}, {"TRANSMISSION_MODE", "trans-mode", gst_dvb_base_bin_conf_set_trans_mode}, + {"MODULATION", "modulation", gst_dvb_base_bin_conf_set_modulation}, {"ISDBT_LAYER_ENABLED", "isdbt-layer-enabled", gst_dvb_base_bin_conf_set_uint}, {"ISDBT_PARTIAL_RECEPTION", "isdbt-partial-reception",