diff options
Diffstat (limited to 'gst/debugutils/breakmydata.c')
-rw-r--r-- | gst/debugutils/breakmydata.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gst/debugutils/breakmydata.c b/gst/debugutils/breakmydata.c index 5cd1623..d04256a 100644 --- a/gst/debugutils/breakmydata.c +++ b/gst/debugutils/breakmydata.c @@ -110,10 +110,10 @@ gst_break_my_data_base_init (gpointer g_class) { GstElementClass *gstelement_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_add_pad_template (gstelement_class, - gst_static_pad_template_get (&bmd_sink_template)); - gst_element_class_add_pad_template (gstelement_class, - gst_static_pad_template_get (&bmd_src_template)); + gst_element_class_add_static_pad_template (gstelement_class, + &bmd_sink_template); + gst_element_class_add_static_pad_template (gstelement_class, + &bmd_src_template); gst_element_class_set_details_simple (gstelement_class, "Break my data", "Testing", @@ -162,7 +162,6 @@ static void gst_break_my_data_init (GstBreakMyData * bmd, GstBreakMyDataClass * g_class) { gst_base_transform_set_in_place (GST_BASE_TRANSFORM (bmd), TRUE); - gst_base_transform_set_passthrough (GST_BASE_TRANSFORM (bmd), TRUE); } static void |