[vlc-commits] str_format_meta: add $o for TrackTotal meta
Jean-Baptiste Kempf
git at videolan.org
Mon May 4 15:32:59 CEST 2015
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon May 4 15:32:38 2015 +0200| [ee5301b540900fbd64acecea711f74d080b048c0] | committer: Jean-Baptiste Kempf
str_format_meta: add $o for TrackTotal meta
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ee5301b540900fbd64acecea711f74d080b048c0
---
src/text/strings.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/text/strings.c b/src/text/strings.c
index 9cc150a..3d236b5 100644
--- a/src/text/strings.c
+++ b/src/text/strings.c
@@ -604,6 +604,9 @@ char *str_format_meta(input_thread_t *input, const char *s)
case 'n':
write_meta(stream, item, vlc_meta_TrackNumber);
break;
+ case 'o':
+ write_meta(stream, item, vlc_meta_TrackTotal);
+ break;
case 'p':
if (item == NULL)
break;
More information about the vlc-commits
mailing list