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
Marc-André Lureau
gst-plugins-good
Commits
a32be6f1
Commit
a32be6f1
authored
Apr 18, 2009
by
Jan Schmidt
Browse files
id3v2mux: Make the test failure slightly more informative
parent
c41d3d87
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/check/elements/id3v2mux.c
View file @
a32be6f1
...
@@ -354,6 +354,7 @@ test_taglib_id3mux_with_tags (GstTagList * tags, guint32 mask)
...
@@ -354,6 +354,7 @@ test_taglib_id3mux_with_tags (GstTagList * tags, guint32 mask)
guint64
offset
;
guint64
offset
;
GstBuffer
*
outbuf
=
NULL
;
GstBuffer
*
outbuf
=
NULL
;
GstBuffer
*
tagbuf
=
NULL
;
GstBuffer
*
tagbuf
=
NULL
;
GstStateChangeReturn
state_result
;
pipeline
=
gst_pipeline_new
(
"pipeline"
);
pipeline
=
gst_pipeline_new
(
"pipeline"
);
g_assert
(
pipeline
!=
NULL
);
g_assert
(
pipeline
!=
NULL
);
...
@@ -397,8 +398,10 @@ test_taglib_id3mux_with_tags (GstTagList * tags, guint32 mask)
...
@@ -397,8 +398,10 @@ test_taglib_id3mux_with_tags (GstTagList * tags, guint32 mask)
GST_LOG
(
"setting and getting state ..."
);
GST_LOG
(
"setting and getting state ..."
);
gst_element_set_state
(
pipeline
,
GST_STATE_PLAYING
);
gst_element_set_state
(
pipeline
,
GST_STATE_PLAYING
);
fail_unless
(
gst_element_get_state
(
pipeline
,
NULL
,
NULL
,
state_result
=
gst_element_get_state
(
pipeline
,
NULL
,
NULL
,
-
1
);
-
1
)
==
GST_STATE_CHANGE_SUCCESS
);
fail_unless
(
state_result
==
GST_STATE_CHANGE_SUCCESS
,
"Unexpected result from get_state(). Expected success, got %d"
,
state_result
);
bus
=
gst_pipeline_get_bus
(
GST_PIPELINE
(
pipeline
));
bus
=
gst_pipeline_get_bus
(
GST_PIPELINE
(
pipeline
));
...
...
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