summaryrefslogtreecommitdiff
path: root/gst/typefind
diff options
context:
space:
mode:
authorJordan Petridis <jordan@centricular.com>2018-12-19 15:18:41 +0200
committerJordan Petridis <jpetridis@gnome.org>2018-12-26 11:47:08 +0200
commit70bfb3885b3e33db8831f84bd24c654a71d871d2 (patch)
treefbc544f48efbe1898cbc1bd4f69d9672eef0c542 /gst/typefind
parentacd7010576c742c932863e76ff7b7db6a4501d7b (diff)
typefind: Add SCC and MCC files support
Diffstat (limited to 'gst/typefind')
-rw-r--r--gst/typefind/gsttypefindfunctions.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c
index 24f54be87..7f1f3c076 100644
--- a/gst/typefind/gsttypefindfunctions.c
+++ b/gst/typefind/gsttypefindfunctions.c
@@ -5809,6 +5809,10 @@ plugin_init (GstPlugin * plugin)
GST_TYPE_FIND_MAXIMUM);
TYPE_FIND_REGISTER_START_WITH (plugin, "audio/x-imelody", GST_RANK_PRIMARY,
"imy,ime,imelody", "BEGIN:IMELODY", 13, GST_TYPE_FIND_MAXIMUM);
+ TYPE_FIND_REGISTER_START_WITH (plugin, "application/x-scc", GST_RANK_PRIMARY,
+ "scc", "Scenarist_SCC V1.0", 18, GST_TYPE_FIND_MAXIMUM);
+ TYPE_FIND_REGISTER_START_WITH (plugin, "application/x-mcc", GST_RANK_PRIMARY,
+ "mcc", "File Format=MacCaption_MCC V1.0", 31, GST_TYPE_FIND_MAXIMUM);
#if 0
TYPE_FIND_REGISTER_START_WITH (plugin, "video/x-smoke", GST_RANK_PRIMARY,
NULL, "\x80smoke\x00\x01\x00", 6, GST_TYPE_FIND_MAXIMUM);