projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4b2360
)
isomp4: replace variable only used once
author
Luis de Bethencourt
<luisbg@osg.samsung.com>
Thu, 10 Dec 2015 15:11:07 +0000
(15:11 +0000)
committer
Luis de Bethencourt
<luisbg@osg.samsung.com>
Thu, 10 Dec 2015 18:38:55 +0000
(18:38 +0000)
Replace has_shift variable with value since it is only use once.
gst/isomp4/gstqtmux.c
patch
|
blob
|
history
diff --git
a/gst/isomp4/gstqtmux.c
b/gst/isomp4/gstqtmux.c
index
2529dc7
..
83b7cb7
100644
(file)
--- a/
gst/isomp4/gstqtmux.c
+++ b/
gst/isomp4/gstqtmux.c
@@
-2462,10
+2462,8
@@
gst_qt_mux_update_edit_lists (GstQTMux * qtmux)
guint32 lateness = 0;
guint32 duration = qtpad->trak->tkhd.duration;
gboolean has_gap;
- gboolean has_shift;
has_gap = (qtpad->first_ts > (qtmux->first_ts + qtpad->dts_adjustment));
- has_shift = (qtpad->dts_adjustment > 0);
if (has_gap) {
GstClockTime diff;
@@
-2481,7
+2479,8
@@
gst_qt_mux_update_edit_lists (GstQTMux * qtmux)
(guint32) (1 * 65536.0));
}
- if (has_gap || has_shift) {
+ /* has shift */
+ if (has_gap || (qtpad->dts_adjustment > 0)) {
GstClockTime ctts;
guint32 media_start;