summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-04-03 12:15:38 +0200
committerEdward Hervey <bilboed@bilboed.com>2009-04-03 12:57:24 +0200
commitf096c7d4e0d14cb66bf21eb28d4e2f6e6df8f76e (patch)
tree605d3a5d478b162435350afef2d7adebd9435ba5
parent9557542722c0f5eb7619bb468f3f82f8176b0f42 (diff)
pipeline: remove redundant assignment.
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.
-rw-r--r--gst/gstpipeline.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gst/gstpipeline.c b/gst/gstpipeline.c
index ed8b87a141..f33f4ab8ab 100644
--- 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) {