Opened 6 years ago

Closed 6 years ago

#7393 closed defect (fixed)

FeatureRequest: unify strftime/use_strftime

Reported by: jesusch Owned by:
Priority: minor Component: avformat
Version: git-master Keywords: hls, segment
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by Carl Eugen Hoyos)

Currently hls and segment demuxer have the same functionality with different parameter names

hls: -use_localtime bool
segment: -strftime bool

basically both do the same, so I think they should be named both in the same way?

Additionally there is a parameter called which only exists for hls demuxer

-use_localtime_mkdir bool

Would be nice to have the same functionallity for segment demuxer as well (and again using the same syntax

I'd vote for both muxers using the short_name (-strftime[_mkdir])

Unfortunatelly I have no clue about C but also in terms of codebase they could use the same code fragments?

Change History (3)

comment:1 by Carl Eugen Hoyos, 6 years ago

Component: undeterminedavformat
Priority: normalminor
Type: enhancementdefect
Version: unspecifiedgit-master

comment:3 by Carl Eugen Hoyos, 6 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.