diff options
author | Thiago Sousa Santos <thiagoss@redmoon.(none)> | 2009-11-17 17:25:14 -0300 |
---|---|---|
committer | Thiago Sousa Santos <thiagoss@redmoon.(none)> | 2009-11-17 23:04:54 -0300 |
commit | 48a2bbd6ad982d92bfe797b18dcf99320dc99b21 (patch) | |
tree | 206715d06ee316a6afed501c8cb1ce2fd98f2f52 /gst/asfmux/gstasfmux.h | |
parent | d70afdccd19dafe19575dbe9e58e552f51ee1a41 (diff) | |
download | gstreamer-plugins-bad-48a2bbd6ad982d92bfe797b18dcf99320dc99b21.tar.gz |
asfmux: handle streams with different start times
Prevents losing sync when remuxing streams with different
start times. The smallest start time is selected as
the base time and all timestamps are subtracted
from it to get the actual time to be used when
muxing and building indexes
Fixes #586848
Diffstat (limited to 'gst/asfmux/gstasfmux.h')
-rw-r--r-- | gst/asfmux/gstasfmux.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/asfmux/gstasfmux.h b/gst/asfmux/gstasfmux.h index 4e13b36a6..015c8b9ab 100644 --- a/gst/asfmux/gstasfmux.h +++ b/gst/asfmux/gstasfmux.h @@ -65,6 +65,7 @@ struct _GstAsfPad guint32 bitrate; GstClockTime play_duration; + GstClockTime first_ts; GstBuffer *codec_data; @@ -136,6 +137,8 @@ struct _GstAsfMux guint64 preroll; /* milisecs */ gboolean merge_stream_tags; + GstClockTime first_ts; + /* pads */ GstPad *srcpad; |