mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +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/2365>
This commit is contained in:
parent
acfc9ae216
commit
1aca8ad289
1 changed files with 1 additions and 1 deletions
|
@ -708,7 +708,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