diff --git a/src/grammar.cpp b/src/grammar.cpp index 08bf2bd..16d3194 100644 --- a/src/grammar.cpp +++ b/src/grammar.cpp @@ -537,13 +537,13 @@ namespace sdptransform // push: "", // reg: - std::regex("^ptime:(\\d*)"), + std::regex("^ptime:(\\d+(?:$|\\.\\d+))"), // names: { }, // types: - { 'd' }, + { 'f' }, // format: - "ptime:%d" + "ptime:%s" }, // a=maxptime:60