Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Seungha Yang
gst-plugins-bad
Commits
5c44c84a
Commit
5c44c84a
authored
Dec 23, 2018
by
Seungha Yang
🐑
Browse files
nvenc: Fix resolution mismatch between src/sink caps
parent
901c6b64
Changes
2
Hide whitespace changes
Inline
Side-by-side
sys/nvcodec/gstnvh264enc.c
View file @
5c44c84a
...
...
@@ -66,7 +66,7 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC
,
GST_PAD_ALWAYS
,
GST_STATIC_CAPS
(
"video/x-h264, "
"width = (int) [ 1, 4096 ], height = (int) [ 1, 2160 ], "
"width = (int) [ 1
6
, 4096 ], height = (int) [ 1
6
, 2160 ], "
"framerate = (fraction) [0/1, MAX], "
"stream-format = (string) byte-stream, "
// TODO: avc support
"alignment = (string) au, "
...
...
sys/nvcodec/gstnvh265enc.c
View file @
5c44c84a
...
...
@@ -65,7 +65,7 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC
,
GST_PAD_ALWAYS
,
GST_STATIC_CAPS
(
"video/x-h265, "
"width = (int) [ 1, 4096 ], height = (int) [ 1, 2160 ], "
"width = (int) [ 1
6
, 4096 ], height = (int) [ 1
6
, 2160 ], "
"framerate = (fraction) [0/1, MAX], "
"stream-format = (string) byte-stream, "
"alignment = (string) au, "
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment