tools/element-templates/sinkpad-template-video
raw| 1 | /* vim: set filetype=c: */ |
| 2 | |
| 3 | % instance-members |
| 4 | % prototypes |
| 5 | % pad-template |
| 6 | /* FIXME: add/remove formats you can handle */ |
| 7 | #define VIDEO_SINK_CAPS \ |
| 8 | GST_VIDEO_CAPS_MAKE("{ I420, Y444, Y42B, UYVY, RGBA }") |
| 9 | |
| 10 | % base-init |
| 11 | gst_element_class_add_pad_template (GST_ELEMENT_CLASS(klass), |
| 12 | gst_pad_template_new ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, |
| 13 | gst_caps_from_string (VIDEO_SINK_CAPS))); |
| 14 | % instance-init |
| 15 | % methods |
| 16 | % end |
| 17 |