mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
Use gst_sample_unref to unref GstSample in tutorials
This commit is contained in:
parent
6cf853997a
commit
a20b2cc27a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue