Revision 0aaea2fb Chunkiser/input-stream-avs.c

View differences:

Chunkiser/input-stream-avs.c
162 162
      return NULL;
163 163
    }
164 164
    memcpy(data, pkt.data, *size);
165
    *ts = pkt.dts;
165
    *ts = av_rescale_q(pkt.dts, s->s->streams[pkt.stream_index]->time_base, AV_TIME_BASE_Q);
166 166

  
167 167
    return data;
168 168
}

Also available in: Unified diff