rendered paste body
gst_element_set_state(pipeline, GST_STATE_READY);
if(strcmp(snap_source,"v4l2src") == 0 || strcmp (snap_source, "v4lsrc") == 0) {
const GList *list = gst_tuner_list_norms(GST_TUNER(cbm->src));
g_print("Norm 0: ",g_list_nth_data((GList*)list, 0));
}
The output:
(casio:15404): GStreamer-CRITICAL **: gst_implements_interface_cast: assertion `gst_element_implements_interface (GST_ELEMENT (from), iface_type)' failed
** (casio:15404): CRITICAL **: gst_tuner_list_norms: assertion `GST_IS_TUNER (tuner)' failed