summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/app/appsrc_ex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/app/appsrc_ex.c b/examples/app/appsrc_ex.c
index 5773aabe..c6f8b29e 100644
--- a/examples/app/appsrc_ex.c
+++ b/examples/app/appsrc_ex.c
@@ -69,7 +69,7 @@ main (int argc, char *argv[])
gst_app_src_end_of_stream (GST_APP_SRC (app->src));
- while (!gst_app_sink_end_of_stream (GST_APP_SINK (app->sink))) {
+ while (!gst_app_sink_is_eos (GST_APP_SINK (app->sink))) {
GstBuffer *buf;
buf = gst_app_sink_pull_buffer (GST_APP_SINK (app->sink));