rbouqueau / gpac

GPAC mirror from the SourceForge Subversion
GNU Lesser General Public License v2.1
0 stars 1 forks source link

[Bug] DASH client incorrectly handles segment timeline template such as $Number%0[width]d% [sf#315] #315

Closed rbouqueau closed 10 years ago

rbouqueau commented 10 years ago

Reported by jgrennison on 2014-06-23 16:18 UTC The DASH client incorrectly expands segment name templates such as: $Number%09d% to strings such as 000000000d instead of 000000000.

Patch attached. Truncating format_tag using "format_tag[0] = 0;" means that the checks for d, i, and u on the following line always fail, and hence a spurious d gets added even when already present in szPrintFormat.

rbouqueau commented 10 years ago

Commented by jgrennison on 2014-06-23 16:20 UTC $Number%09d% should be $Number%09d$, sorry.

rbouqueau commented 10 years ago

Updated by jeanlf on 2014-08-01 11:44 UTC

rbouqueau commented 10 years ago

Commented by jeanlf on 2014-08-01 11:44 UTC Now fixed on SVN rev5335, thanks for the report