projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce4a2b6
)
mxfdemux: Compare positions to find the earliest pad, not flow returns
author
Sebastian Dröge
<sebastian@centricular.com>
Tue, 27 May 2014 10:08:50 +0000
(12:08 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 27 May 2014 10:24:43 +0000
(12:24 +0200)
gst/mxf/mxfdemux.c
patch
|
blob
|
history
diff --git
a/gst/mxf/mxfdemux.c
b/gst/mxf/mxfdemux.c
index
eb87a92
..
bba7398
100644
(file)
--- a/
gst/mxf/mxfdemux.c
+++ b/
gst/mxf/mxfdemux.c
@@
-357,8
+357,8
@@
gst_mxf_demux_get_earliest_pad (GstMXFDemux * demux)
for (i = 0; i < demux->src->len; i++) {
GstMXFDemuxPad *p = g_ptr_array_index (demux->src, i);
- if (!p->eos && p->
last_flow
< earliest) {
- earliest = p->
last_flow
;
+ if (!p->eos && p->
position
< earliest) {
+ earliest = p->
position
;
pad = p;
}
}