Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
George Kiagiadakis
gst-plugins-good
Commits
fce8f348
Commit
fce8f348
authored
Mar 29, 2012
by
Mark Nauwelaerts
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: videocrop: unmap video frame and unref caps
parent
9f93f503
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
tests/check/elements/videocrop.c
tests/check/elements/videocrop.c
+3
-0
No files found.
tests/check/elements/videocrop.c
View file @
fce8f348
...
...
@@ -217,6 +217,7 @@ videocrop_test_cropping_deinit_context (GstVideoCropTestContext * ctx)
gst_element_set_state
(
ctx
->
pipeline
,
GST_STATE_NULL
);
gst_object_unref
(
ctx
->
pipeline
);
gst_buffer_replace
(
&
ctx
->
last_buf
,
NULL
);
gst_caps_replace
(
&
ctx
->
last_caps
,
NULL
);
memset
(
ctx
,
0x00
,
sizeof
(
GstVideoCropTestContext
));
}
...
...
@@ -316,6 +317,8 @@ check_1x1_buffer (GstBuffer * buf, GstCaps * caps)
}
}
gst_video_frame_unmap
(
&
frame
);
/*
fail_unless_equals_int ((pixel & rmask) >> rshift, 0xff);
fail_unless_equals_int ((pixel & gmask) >> gshift, 0x00);
...
...
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