diff --git a/markdown/tutorials/basic/short-cutting-the-pipeline.md b/markdown/tutorials/basic/short-cutting-the-pipeline.md index b3e7cf81b5..0c5fcf3ba9 100644 --- a/markdown/tutorials/basic/short-cutting-the-pipeline.md +++ b/markdown/tutorials/basic/short-cutting-the-pipeline.md @@ -189,7 +189,7 @@ static void new_sample (GstElement *sink, CustomData *data) { if (sample) { /* The only thing we do in this example is print a * to indicate a received buffer */ g_print ("*"); - gst_buffer_unref (sample); + gst_sample_unref (sample); } }