mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
rtpdec_vp8: Set the timestamp when returning a deferred packet
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
ba8cb33273
commit
92e354b655
@ -79,6 +79,7 @@ static int vp8_handle_packet(AVFormatContext *ctx, PayloadContext *vp8,
|
||||
int ret = ff_rtp_finalize_packet(pkt, &vp8->data, st->index);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
*timestamp = vp8->timestamp;
|
||||
return 0;
|
||||
}
|
||||
return AVERROR(EAGAIN);
|
||||
|
Loading…
Reference in New Issue
Block a user