Cannot set nvstreammux plugin's width or height to 0 ?

Hello,
I am testing with the nvstreammux plugin. When I specify the width or height property of nvstreammux to zero, the plugin reports error: Output height not set

The test command is

gst-launch-1.0 filesrc location=streams/sample_720p.h264 ! h264parse ! nvdec_h264 ! m.sink_0 nvstreammux name=m  batch-size=1 width=1080 height=0 gpu-id=0 ! fakesink

The output is

Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstNvStreamMux:m: Output height not set
Additional debug info:
gstnvstreammux.c(1623): gst_nvstreammux_change_state (): /GstPipeline:pipeline0/GstNvStreamMux:m
Setting pipeline to NULL ...
Freeing pipeline ...

According to the DeepStream 3.0 plugin manual, the width or height value ranges from 0 to 4,294,967,295. I was thinking if width or height equals 0, the plugin should automatically get original width and height from upstream.

So nvstreammux’s width and height must be set to positive values?

In DeepStream 3.0, Streammux does the resize for all input buffers and put them in the new allocated buffers.
In DeepStream 4.0 new design, we will remove this resize, and send the decoded Surfaces to “nvinfer” directly.

Thanks for your reply.