Error running deepstream sample apps

ERROR from element nvv4l2-decoder: Device ‘/dev/nvidia0’ failed during initialization
Error details: gstv4l2object.c(4074): gst_v4l2_object_set_format_full (): /GstPipeline:dstest2-pipeline/nvv4l2decoder:nvv4l2-decoder:
Call to S_FMT failed for H264 @ 1280x720: Unknown error -1

Hardware - 1070 dgpu
deepstream - 5.1

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)