[gtk/wip/baedert/wat] gtkffmediafile: Fix deprecated API usage




commit 106417ada782df7cfd97f62e0947bb34c293606e
Author: Timm Bäder <mail baedert org>
Date:   Fri Jul 2 18:41:55 2021 +0200

    gtkffmediafile: Fix deprecated API usage

 modules/media/gtkffmediafile.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/modules/media/gtkffmediafile.c b/modules/media/gtkffmediafile.c
index b6b703db87..4964b58886 100644
--- a/modules/media/gtkffmediafile.c
+++ b/modules/media/gtkffmediafile.c
@@ -632,7 +632,7 @@ gtk_ff_media_file_next_frame_cb (gpointer data)
       if (!gtk_media_stream_get_loop (GTK_MEDIA_STREAM (video)) ||
           !gtk_ff_media_file_restart (video))
         {
-          gtk_media_stream_ended (GTK_MEDIA_STREAM (video));
+          gtk_media_stream_set_ended (GTK_MEDIA_STREAM (video));
           return G_SOURCE_REMOVE;
         }
 
@@ -733,7 +733,7 @@ gtk_ff_media_file_seek (GtkMediaStream *stream,
     {
       gtk_ff_media_file_pause (stream);
       if (!gtk_ff_media_file_play (stream))
-        gtk_media_stream_ended (stream);
+        gtk_media_stream_set_ended (stream);
     }
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]