Another fix for revision 3538: Add the video frame type flags (I/P/B) again.

This commit is contained in:
Moritz Bunkus 2008-01-02 12:09:14 +00:00
parent 69f98fd6e0
commit d255e7c6f9

View File

@ -965,7 +965,9 @@ ogm_reader_c::process_page(ogg_page *og) {
pos -= dmx->first_granulepos;
memory_c *mem = new memory_c(&op.packet[duration_len + 1], op.bytes - 1 - duration_len, false);
PTZR(dmx->ptzr)->process(new packet_t(mem, pos * dmx->default_duration, (int64_t)duration * dmx->default_duration));
PTZR(dmx->ptzr)->process(new packet_t(mem, pos * dmx->default_duration, (int64_t)duration * dmx->default_duration,
*op.packet & PACKET_IS_SYNCPOINT ? VFT_IFRAME : VFT_PFRAMEAUTOMATIC));
dmx->units_processed += duration;
} else if (dmx->stype == OGM_STREAM_TYPE_S_TEXT) {