[FFmpeg-devel] [PATCH] tools/zmqshell: port to python3

Stefano Sabatini stefasab at gmail.com
Sun Apr 2 18:14:06 EEST 2023


On date Sunday 2023-04-02 01:21:12 +0200, Stefano Sabatini wrote:
> On date Wednesday 2023-03-29 00:06:40 -0400, Leo Izen wrote:
> > On 3/26/23 17:34, Stefano Sabatini wrote:
> > > Also extend docs, use argparse and logging.
> > > ---
> > >   tools/zmqshell.py | 63 ++++++++++++++++++++++++++++++++++++++---------
> > >   1 file changed, 52 insertions(+), 11 deletions(-)
> [...]
> > > +def main():
> > > +    parser = argparse.ArgumentParser(description=HELP, formatter_class=Formatter)
> > > +    parser.add_argument('--bind-address', '-b', default='tcp://localhost:5555', help='specify bind address used to communicate with ZMQ')
> > > +
> 
> > This changes the interface to use `--bind-address` instead of just passing
> > the address directly as argv[1]. Does this have the potential to break
> > anything downstream? Or do we make no promises about this interface?
> 
> This is mostly meant for interactive use, so I'd rather keep things
> simple and drop the old syntax.

Pushed.


More information about the ffmpeg-devel mailing list