[FFmpeg-trac] #7393(avformat:closed): FeatureRequest: unify strftime/use_strftime
FFmpeg
trac at avcodec.org
Wed Sep 5 12:46:44 EEST 2018
#7393: FeatureRequest: unify strftime/use_strftime
-------------------------------------+------------------------------------
Reporter: jesusch | Owner:
Type: defect | Status: closed
Priority: minor | Component: avformat
Version: git-master | Resolution: fixed
Keywords: hls,segment | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+------------------------------------
Changes (by cehoyos):
* status: new => closed
* resolution: => fixed
Old description:
> Currently hls and segment demuxer have the same functionality with
> different parameter names
>
> {{{
> hls: -strftime bool
> segment: -use_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_strftime_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?
New description:
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?
--
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7393#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list