mxfmux: Fix EOS logic again
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 9 May 2009 13:48:41 +0000 (15:48 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 9 May 2009 13:50:51 +0000 (15:50 +0200)
gst/mxf/mxfmux.c

index a63172f..8aaa014 100644 (file)
@@ -1150,10 +1150,11 @@ gst_mxf_mux_handle_eos (GstMXFMux * mux)
           best = cpad;
           break;
         }
-      } else if (have_data && !l->next) {
+      }
+
+      if (have_data && !l->next) {
         mux->last_gc_position++;
         mux->last_gc_timestamp = next_gc_timestamp;
-        have_data = FALSE;
         best = NULL;
         break;
       }