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
Seungha Yang
gst-plugins-base
Commits
1330870c
Commit
1330870c
authored
Feb 03, 2002
by
Wim Taymans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assorted fixes.
Original commit message from CVS: Assorted fixes. Use the new clocking stuff.
parent
88ea69cb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
configure.ac
configure.ac
+2
-0
sys/v4l/gstv4lmjpegsink.c
sys/v4l/gstv4lmjpegsink.c
+3
-2
No files found.
configure.ac
View file @
1330870c
...
...
@@ -763,6 +763,7 @@ gst/chart/Makefile
gst/cutter/Makefile
gst/deinterlace/Makefile
gst/flx/Makefile
gst/goom/Makefile
gst/intfloat/Makefile
gst/law/Makefile
gst/level/Makefile
...
...
@@ -835,6 +836,7 @@ ext/shout/Makefile
ext/sidplay/Makefile
ext/smoothwave/Makefile
ext/vorbis/Makefile
ext/tarkin/Makefile
ext/xmms/Makefile
gst-libs/Makefile
gst-libs/gst/Makefile
...
...
sys/v4l/gstv4lmjpegsink.c
View file @
1330870c
...
...
@@ -159,7 +159,7 @@ gst_v4lmjpegsink_init (GstV4lMjpegSink *v4lmjpegsink)
gst_pad_set_chain_function
(
v4lmjpegsink
->
sinkpad
,
gst_v4lmjpegsink_chain
);
gst_pad_set_connect_function
(
v4lmjpegsink
->
sinkpad
,
gst_v4lmjpegsink_sinkconnect
);
v4lmjpegsink
->
clock
=
gst_
clock_get_system
();
v4lmjpegsink
->
clock
=
gst_
system_clock_obtain
();
gst_clock_register
(
v4lmjpegsink
->
clock
,
GST_OBJECT
(
v4lmjpegsink
));
v4lmjpegsink
->
width
=
-
1
;
...
...
@@ -234,7 +234,8 @@ gst_v4lmjpegsink_chain (GstPad *pad,
gst_clock_set
(
v4lmjpegsink
->
clock
,
GST_BUFFER_TIMESTAMP
(
buf
));
}
else
{
gst_clock_wait
(
v4lmjpegsink
->
clock
,
GST_BUFFER_TIMESTAMP
(
buf
),
GST_OBJECT
(
v4lmjpegsink
));
//gst_clock_wait(v4lmjpegsink->clock, GST_BUFFER_TIMESTAMP(buf), GST_OBJECT(v4lmjpegsink));
gst_clock_wait
(
v4lmjpegsink
->
clock
,
GST_BUFFER_TIMESTAMP
(
buf
));
}
/* check size */
...
...
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