Flag mp2t file as really having only relative time stamps. Put the
comment on its own line in mpeg.c as well. svn path=/trunk/; revision=41294
This commit is contained in:
parent
0475f29216
commit
57839d9e4a
|
@ -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... */
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue