mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-17 21:06:17 +00:00
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.
This commit is contained in:
parent
06a9a34d6d
commit
ac4a47bacb
2 changed files with 7 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue