mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 04:52:28 +00:00
tools: gst-play: Print position even if duration is unknown
Gives better visual feedback regarding position information although duration is unknown, live streams for example. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2419>
This commit is contained in:
parent
6706e5b382
commit
c14385278a
1 changed files with 1 additions and 1 deletions
|
@ -692,7 +692,7 @@ play_timeout (gpointer user_data)
|
|||
status[len] = '\0';
|
||||
}
|
||||
|
||||
if (pos >= 0 && dur > 0) {
|
||||
if (pos >= 0) {
|
||||
gchar dstr[32], pstr[32];
|
||||
|
||||
/* FIXME: pretty print in nicer format */
|
||||
|
|
Loading…
Reference in a new issue