Commit 5c44c84a authored by Seungha Yang's avatar Seungha Yang 🐑
Browse files

nvenc: Fix resolution mismatch between src/sink caps

parent 901c6b64
...@@ -66,7 +66,7 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src", ...@@ -66,7 +66,7 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC, GST_PAD_SRC,
GST_PAD_ALWAYS, GST_PAD_ALWAYS,
GST_STATIC_CAPS ("video/x-h264, " GST_STATIC_CAPS ("video/x-h264, "
"width = (int) [ 1, 4096 ], height = (int) [ 1, 2160 ], " "width = (int) [ 16, 4096 ], height = (int) [ 16, 2160 ], "
"framerate = (fraction) [0/1, MAX], " "framerate = (fraction) [0/1, MAX], "
"stream-format = (string) byte-stream, " // TODO: avc support "stream-format = (string) byte-stream, " // TODO: avc support
"alignment = (string) au, " "alignment = (string) au, "
......
...@@ -65,7 +65,7 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src", ...@@ -65,7 +65,7 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC, GST_PAD_SRC,
GST_PAD_ALWAYS, GST_PAD_ALWAYS,
GST_STATIC_CAPS ("video/x-h265, " GST_STATIC_CAPS ("video/x-h265, "
"width = (int) [ 1, 4096 ], height = (int) [ 1, 2160 ], " "width = (int) [ 16, 4096 ], height = (int) [ 16, 2160 ], "
"framerate = (fraction) [0/1, MAX], " "framerate = (fraction) [0/1, MAX], "
"stream-format = (string) byte-stream, " "stream-format = (string) byte-stream, "
"alignment = (string) au, " "alignment = (string) au, "
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment