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
Toggle navigation
Open sidebar
George Kiagiadakis
gst-plugins-good
Commits
5c90f17c
Commit
5c90f17c
authored
May 09, 2014
by
Wim Taymans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shapewipe: no need to activate pads
Activation will happen in the state change
parent
e45b1fd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
tests/check/elements/shapewipe.c
tests/check/elements/shapewipe.c
+0
-3
No files found.
tests/check/elements/shapewipe.c
View file @
5c90f17c
...
...
@@ -95,16 +95,13 @@ GST_START_TEST (test_general)
myvideosrcpad
=
gst_pad_new_from_static_template
(
&
videosrctemplate
,
"videosrc"
);
gst_element_add_pad
(
videosrc
,
myvideosrcpad
);
gst_pad_set_active
(
myvideosrcpad
,
TRUE
);
mymasksrcpad
=
gst_pad_new_from_static_template
(
&
masksrctemplate
,
"masksrc"
);
gst_element_add_pad
(
masksrc
,
mymasksrcpad
);
gst_pad_set_active
(
mymasksrcpad
,
TRUE
);
mysinkpad
=
gst_pad_new_from_static_template
(
&
sinktemplate
,
"sink"
);
gst_element_add_pad
(
sink
,
mysinkpad
);
gst_pad_set_chain_function
(
mysinkpad
,
on_chain
);
gst_pad_set_active
(
mysinkpad
,
TRUE
);
p
=
gst_element_get_static_pad
(
shapewipe
,
"video_sink"
);
fail_unless
(
gst_pad_link
(
myvideosrcpad
,
p
)
==
GST_PAD_LINK_OK
);
...
...
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