mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-23 20:30:15 +00:00
gstmediafile: improve error message when there is an input stream.
Previously it was unclear why passing an input stream would crash a video, unless you went into the source and read it. This adds a clarifying message that only file based media files are supported.
This commit is contained in:
parent
10fa570195
commit
0c97c86573
@ -287,6 +287,7 @@ gtk_gst_media_file_open (GtkMediaFile *media_file)
|
||||
else
|
||||
{
|
||||
/* It's an input stream */
|
||||
g_error ("Input Streams are currently not supported. Please pass a File based MediaFile.");
|
||||
g_assert_not_reached ();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user