diff options
-rw-r--r-- | wiretap/mp2t.c | 1 | ||||
-rw-r--r-- | wiretap/mpeg.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/wiretap/mp2t.c b/wiretap/mp2t.c index bcab1a8977..b9fccec9ec 100644 --- a/wiretap/mp2t.c +++ b/wiretap/mp2t.c @@ -88,6 +88,7 @@ mp2t_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) } mp2t->offset += MP2T_SIZE; + /* XXX - relative, not absolute, time stamps */ wth->phdr.presence_flags = WTAP_HAS_TS; /* It would be really cool to be able to configure the bitrate... */ diff --git a/wiretap/mpeg.c b/wiretap/mpeg.c index eedbd6ca2b..fc7f126a6e 100644 --- a/wiretap/mpeg.c +++ b/wiretap/mpeg.c @@ -232,7 +232,8 @@ mpeg_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) packet_size, err, err_info)) return FALSE; wth->data_offset += packet_size; - wth->phdr.presence_flags = WTAP_HAS_TS; /* XXX - relative, not absolute! */ + /* XXX - relative, not absolute, time stamps */ + wth->phdr.presence_flags = WTAP_HAS_TS; wth->phdr.ts = ts; wth->phdr.caplen = packet_size; wth->phdr.len = packet_size; |