projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3daa793
)
tsdemux: remove dead code
author
Luis de Bethencourt
<luis.bg@samsung.com>
Mon, 20 Apr 2015 09:57:41 +0000
(10:57 +0100)
committer
Luis de Bethencourt
<luis.bg@samsung.com>
Mon, 20 Apr 2015 09:58:33 +0000
(10:58 +0100)
position of GstSegment is an unsigned int64, it can never be below zero.
CID #
1295123
gst/mpegtsdemux/tsdemux.c
patch
|
blob
|
history
diff --git
a/gst/mpegtsdemux/tsdemux.c
b/gst/mpegtsdemux/tsdemux.c
index fdaf63a44bcbc528580bc63dbbeec9a416e04e5e..dac3e542379908dfa05c0a435f9676ccba58e36f 100644
(file)
--- a/
gst/mpegtsdemux/tsdemux.c
+++ b/
gst/mpegtsdemux/tsdemux.c
@@
-2242,8
+2242,6
@@
gst_ts_demux_push_pending_data (GstTSDemux * demux, TSDemuxStream * stream)
demux->segment.position = GST_BUFFER_DTS (buffer) - stream->first_dts;
else if (GST_CLOCK_TIME_IS_VALID (GST_BUFFER_PTS (buffer)))
demux->segment.position = GST_BUFFER_PTS (buffer) - stream->first_dts;
- if (demux->segment.position < 0)
- demux->segment.position = 0;
res = gst_pad_push (stream->pad, buffer);
/* Record that a buffer was pushed */