Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gst-plugins-base
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
George Kiagiadakis
gst-plugins-base
Commits
8f8f1f9d
Commit
8f8f1f9d
authored
Jun 23, 2014
by
Tim-Philipp Müller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: fix vararg handling in rtpbasedepayload unit test
Makes it pass on 32-bit systems.
parent
ec6b1783
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tests/check/libs/rtpbasedepayload.c
tests/check/libs/rtpbasedepayload.c
+2
-2
No files found.
tests/check/libs/rtpbasedepayload.c
View file @
8f8f1f9d
...
...
@@ -331,7 +331,7 @@ static void push_rtp_buffer_full (State *state, GstFlowReturn expected,
mapped
=
TRUE
;
}
if
(
!
g_strcmp0
(
field
,
"rtptime"
))
{
guint32
rtptime
=
va_arg
(
var_args
,
guint
32
);
guint32
rtptime
=
va_arg
(
var_args
,
guint
64
);
gst_rtp_buffer_set_timestamp
(
&
rtp
,
rtptime
);
}
else
if
(
!
g_strcmp0
(
field
,
"payload-type"
))
{
guint
payload_type
=
va_arg
(
var_args
,
guint
);
...
...
@@ -340,7 +340,7 @@ static void push_rtp_buffer_full (State *state, GstFlowReturn expected,
guint
seq
=
va_arg
(
var_args
,
guint
);
gst_rtp_buffer_set_seq
(
&
rtp
,
seq
);
}
else
if
(
!
g_strcmp0
(
field
,
"ssrc"
))
{
guint32
ssrc
=
va_arg
(
var_args
,
guint
32
);
guint32
ssrc
=
va_arg
(
var_args
,
guint
);
gst_rtp_buffer_set_ssrc
(
&
rtp
,
ssrc
);
}
else
{
fail
(
"test cannot set unknown buffer field '%s'"
,
field
);
...
...
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