"video/x-vp8, "
"width = (int) [ 1, 2147483647 ], "
"height = (int) [ 1, 2147483647 ], "
- "framerate = (fraction) [ 0, MAX ]")
+ "framerate = (fraction) [ 0, MAX ];"
+ "image/png, "
+ "width = (int) [ 16, 4096 ], "
+ "height = (int) [ 16, 4096 ], framerate = (fraction) [ 0, MAX ]")
);
static GstStaticPadTemplate audio_sink_factory =
avipad->vids.compression = GST_MAKE_FOURCC ('M', 'J', '2', 'C');
} else if (!strcmp (mimetype, "video/x-vp8")) {
avipad->vids.compression = GST_MAKE_FOURCC ('V', 'P', '8', '0');
+ } else if (!strcmp (mimetype, "image/png")) {
+ avipad->vids.compression = GST_MAKE_FOURCC ('p', 'n', 'g', ' ');
} else {
valid_caps = FALSE;
}