Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Yeongjin Jeong
gst-plugins-bad
Commits
0494591f
Commit
0494591f
authored
May 12, 2017
by
Vincent Penquerc'h
Committed by
Sebastian Dröge
May 15, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h265parse: fix caps leak in renegotiation
parent
e33ac574
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
gst/videoparsers/gsth265parse.c
gst/videoparsers/gsth265parse.c
+3
-1
No files found.
gst/videoparsers/gsth265parse.c
View file @
0494591f
...
...
@@ -341,7 +341,6 @@ gst_h265_parse_negotiate (GstH265Parse * h265parse, gint in_format,
/* fixate to avoid ambiguity with lists when parsing */
caps
=
gst_caps_fixate
(
caps
);
gst_h265_parse_format_from_caps
(
caps
,
&
format
,
&
align
);
gst_caps_unref
(
caps
);
}
/* default */
...
...
@@ -358,6 +357,9 @@ gst_h265_parse_negotiate (GstH265Parse * h265parse, gint in_format,
h265parse
->
align
=
align
;
h265parse
->
transform
=
(
in_format
!=
h265parse
->
format
);
if
(
caps
)
gst_caps_unref
(
caps
);
}
static
GstBuffer
*
...
...
Write
Preview
Markdown
is supported
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