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
GStreamer
gst-plugins-bad
Commits
1b56e801
Commit
1b56e801
authored
Aug 09, 2014
by
Sebastian Rasmussen
Committed by
Tim-Philipp Müller
Aug 10, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dfbvideosink: Unref pad template caps after usage
Fixes
https://bugzilla.gnome.org/show_bug.cgi?id=734518
parent
64f92ce6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
ext/directfb/dfbvideosink.c
ext/directfb/dfbvideosink.c
+4
-2
No files found.
ext/directfb/dfbvideosink.c
View file @
1b56e801
...
...
@@ -1349,8 +1349,10 @@ gst_dfbvideosink_getcaps (GstBaseSink * bsink, GstCaps * filter)
dfbvideosink
=
GST_DFBVIDEOSINK
(
bsink
);
if
(
!
dfbvideosink
->
setup
)
{
caps
=
gst_caps_copy
(
gst_pad_get_pad_template_caps
(
GST_VIDEO_SINK_PAD
(
dfbvideosink
)));
GstCaps
*
tcaps
=
gst_pad_get_pad_template_caps
(
GST_VIDEO_SINK_PAD
(
dfbvideosink
));
caps
=
gst_caps_copy
(
tcaps
);
gst_caps_unref
(
tcaps
);
GST_DEBUG_OBJECT
(
dfbvideosink
,
"getcaps called and we are not setup yet, "
"returning template %"
GST_PTR_FORMAT
,
caps
);
goto
beach
;
...
...
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