combined gst_cc_decoder_process_cea608_packet and gst_cc_decoder_process_cea708_packet into a single method gst_cc_decoder_process_packet with the switch as suggested.