summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-05-09 15:48:41 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-05-09 15:50:51 +0200
commit18f8c9b0b4057ceaab867d9c36349362458f997a (patch)
tree98a08077dc948cb3c8cf8a8a33cc036aa68b68c2 /gst
parent8692ae2a9d0c0bca938d3b7883e3f10adde8d9fd (diff)
mxfmux: Fix EOS logic again
Diffstat (limited to 'gst')
-rw-r--r--gst/mxf/mxfmux.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/mxf/mxfmux.c b/gst/mxf/mxfmux.c
index a63172f27..8aaa014e1 100644
--- a/gst/mxf/mxfmux.c
+++ b/gst/mxf/mxfmux.c
@@ -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;
}