forked from AuroraMiddleware/gtk
gtkffmediafile: Fix deprecated API usage
This commit is contained in:
parent
3e63e683a9
commit
106417ada7
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user