gst/base/basesink: Remove dead assignment.
authorEdward Hervey <bilboed@bilboed.com>
Thu, 8 Oct 2009 06:53:54 +0000 (08:53 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 8 Oct 2009 06:53:54 +0000 (08:53 +0200)
commita8e03abd17199de9a483db5886b400dee9a99d58
tree48f54bc76d7d2230862d6f2558b52968c0ad6ddf
parent015c5dda8f68795a1616ae9a17e20afb1c79d3be
gst/base/basesink: Remove dead assignment.

The code was previously:
* checking if ret was != OK
* .. but if it was FLOW_STEP, swith it to OK
* .. and then not using ret

Instead we just make it more compact by checking if it's OK or STEP.
libs/gst/base/gstbasesink.c