Commit ac4a47ba authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

av: Enable IVF demuxer (and muxer)

It works and is a quite unimportant format, we should get rid of our
parser to reduce the amount of code to maintain.
parent 06a9a34d
......@@ -3382,6 +3382,8 @@ gst_ffmpeg_formatid_to_caps (const gchar * format_name)
caps = gst_caps_new_empty_simple ("video/x-4xm");
} else if (!strcmp (format_name, "matroska")) {
caps = gst_caps_new_empty_simple ("video/x-matroska");
} else if (!strcmp (format_name, "ivf")) {
caps = gst_caps_new_empty_simple ("video/x-ivf");
} else if (!strcmp (format_name, "mp3")) {
caps = gst_caps_new_empty_simple ("application/x-id3");
} else if (!strcmp (format_name, "flic")) {
......
......@@ -2028,8 +2028,9 @@ gst_ffmpegdemux_register (GstPlugin * plugin)
!strcmp (in_plugin->name, "swf") ||
!strcmp (in_plugin->name, "voc") ||
!strcmp (in_plugin->name, "pva") ||
!strcmp (in_plugin->name, "gif") || !strcmp (in_plugin->name, "vc1test")
)
!strcmp (in_plugin->name, "gif") ||
!strcmp (in_plugin->name, "vc1test") ||
!strcmp (in_plugin->name, "ivf"))
register_typefind_func = FALSE;
/* Set the rank of demuxers known to work to MARGINAL.
......@@ -2066,7 +2067,8 @@ gst_ffmpegdemux_register (GstPlugin * plugin)
!strcmp (in_plugin->name, "yuv4mpegpipe") ||
!strcmp (in_plugin->name, "pva") ||
!strcmp (in_plugin->name, "mpc") ||
!strcmp (in_plugin->name, "mpc8") || !strcmp (in_plugin->name, "gif"))
!strcmp (in_plugin->name, "mpc8") ||
!strcmp (in_plugin->name, "gif") || !strcmp (in_plugin->name, "ivf"))
rank = GST_RANK_MARGINAL;
else {
GST_DEBUG ("ignoring %s", in_plugin->name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment