pipeline: remove redundant assignment.
authorEdward Hervey <bilboed@bilboed.com>
Fri, 3 Apr 2009 10:15:38 +0000 (12:15 +0200)
committerEdward 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

index ed8b87a..f33f4ab 100644 (file)
@@ -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) {