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
GStreamer
gstreamer
Commits
ed7f4802
Commit
ed7f4802
authored
Mar 06, 2012
by
Sebastian Dröge
Browse files
baseparse: Fix 'self-comparison always evaluates to true'
This was really a bug.
parent
f000bbe9
Changes
1
Hide whitespace changes
Inline
Side-by-side
libs/gst/base/gstbaseparse.c
View file @
ed7f4802
...
...
@@ -3899,7 +3899,7 @@ gst_base_parse_handle_seek (GstBaseParse * parse, GstEvent * event)
seek event (in bytes) to upstream. Segment / flush handling happens
in corresponding src event handlers */
GST_DEBUG_OBJECT
(
parse
,
"seek in PUSH mode"
);
if
(
seekstop
>=
0
&&
seek
pos
<=
seekpos
)
if
(
seekstop
>=
0
&&
seek
stop
<=
seekpos
)
seekstop
=
seekpos
;
new_event
=
gst_event_new_seek
(
rate
,
GST_FORMAT_BYTES
,
flags
,
GST_SEEK_TYPE_SET
,
seekpos
,
stop_type
,
seekstop
);
...
...
Write
Preview
Supports
Markdown
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