tools/element-templates/srcpad-simple
raw| 1 | /* vim: set filetype=c: */ |
| 2 | |
| 3 | % instance-members |
| 4 | % prototypes |
| 5 | % pad-template |
| 6 | static GstStaticPadTemplate gst_replace_src_template = |
| 7 | GST_STATIC_PAD_TEMPLATE ("src", |
| 8 | GST_PAD_SRC, |
| 9 | GST_PAD_ALWAYS, |
| 10 | GST_STATIC_CAPS ("application/unknown") |
| 11 | ); |
| 12 | |
| 13 | % base-init |
| 14 | gst_element_class_add_static_pad_template (GST_ELEMENT_CLASS(klass), |
| 15 | &gst_replace_src_template); |
| 16 | % instance-init |
| 17 | % methods |
| 18 | % end |
| 19 |