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
Camilo Celis Guzman
gst-plugins-good
Commits
101087a2
Commit
101087a2
authored
Apr 15, 2011
by
Robert Swain
Committed by
Tim-Philipp Müller
Apr 16, 2011
Browse files
imagefreeze: Remove unused but set duration variable
GCC 4.6.x spits warnings about such variable usage.
parent
383e99c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
gst/imagefreeze/gstimagefreeze.c
View file @
101087a2
...
...
@@ -744,7 +744,7 @@ gst_image_freeze_src_loop (GstPad * pad)
GstImageFreeze
*
self
=
GST_IMAGE_FREEZE
(
GST_PAD_PARENT
(
pad
));
GstBuffer
*
buffer
;
guint64
offset
;
GstClockTime
timestamp
,
timestamp_end
,
duration
;
GstClockTime
timestamp
,
timestamp_end
;
gint64
cstart
,
cstop
;
gboolean
in_seg
,
eos
;
...
...
@@ -800,11 +800,9 @@ gst_image_freeze_src_loop (GstPad * pad)
timestamp_end
=
gst_util_uint64_scale
(
offset
+
1
,
self
->
fps_d
*
GST_SECOND
,
self
->
fps_n
);
duration
=
timestamp_end
-
timestamp
;
}
else
{
timestamp
=
self
->
segment
.
start
;
timestamp_end
=
GST_CLOCK_TIME_NONE
;
duration
=
GST_CLOCK_TIME_NONE
;
}
eos
=
(
self
->
fps_n
==
0
&&
offset
>
0
)
||
...
...
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