Apply 1 suggestion(s) to 1 file(s)

This commit is contained in:
Matthias Clasen 2022-03-24 17:16:11 +00:00
parent 82f57c6a93
commit ddba7f8601

View File

@ -180,7 +180,7 @@ gtk_gst_media_file_media_info_updated_cb (GstPlayer *player,
/* clock_time == 0: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1588
* GstPlayer's first media-info-updated comes with 0 duration
*
* click_time == -1: Seen on loading an audio-only ogg
* clock_time == -1: Seen on loading an audio-only ogg
*/
GstClockTime clock_time = gst_player_media_info_get_duration (media_info);
if (clock_time == 0 || clock_time == -1)