projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9557542
)
pipeline: remove redundant assignment.
author
Edward Hervey
<bilboed@bilboed.com>
Fri, 3 Apr 2009 10:15:38 +0000
(12:15 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Fri, 3 Apr 2009 10:57:24 +0000
(12:57 +0200)
If that block is entered, then start_time becomes GST_CLOCK_TIME_NONE.
Since start_time is invalid, the code will enter the block at line 434 and
new_base_time will be set there.
gst/gstpipeline.c
patch
|
blob
|
history
diff --git
a/gst/gstpipeline.c
b/gst/gstpipeline.c
index
ed8b87a
..
f33f4ab
100644
(file)
--- a/
gst/gstpipeline.c
+++ b/
gst/gstpipeline.c
@@
-411,7
+411,6
@@
gst_pipeline_change_state (GstElement * element, GstStateChange transition)
} else {
GST_DEBUG ("no clock, using base time of NONE");
start_time = GST_CLOCK_TIME_NONE;
- new_base_time = GST_CLOCK_TIME_NONE;
}
if (new_clock) {