This never really took off - it's hardly used anywhere
and deprecated in favour of Kate. Exposing pads just
leads to confusing 'you are missing a plug-in' messages
when people come across such streams. We could still post
the data on the bus for applications to parse.
gst_ogg_pad_mark_discont (pad);
pad->last_ret = GST_FLOW_OK;
- if (pad->map.is_skeleton || pad->added
+ if (pad->map.is_skeleton || pad->map.is_cmml || pad->added
|| !gst_pad_has_current_caps (GST_PAD_CAST (pad)))
continue;
if (pad == NULL)
continue;
- if (pad->map.is_skeleton)
+ if (pad->map.is_skeleton || pad->map.is_cmml)
goto next;
granulepos = ogg_page_granulepos (&og);
pad->caps = gst_caps_new_empty_simple ("text/x-cmml");
pad->always_flush_page = TRUE;
pad->is_sparse = TRUE;
+ pad->is_cmml = TRUE;
return TRUE;
}
/* OGM stuff */
gboolean is_ogm;
gboolean is_ogm_text;
+ /* CMML */
+ gboolean is_cmml;
/* fishead stuff */
guint16 skeleton_major, skeleton_minor;
gint64 prestime;